kikikara commited on
Commit
c4ecfac
Β·
verified Β·
1 Parent(s): e7def60

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +14 -1
README.md CHANGED
@@ -48,11 +48,24 @@ from transformers import AutoTokenizer, AutoModelForCausalLM, pipeline
48
  tokenizer = AutoTokenizer.from_pretrained("kikikara/llama_with_eeve_the_third_04_150M")
49
  model = AutoModelForCausalLM.from_pretrained("kikikara/llama_with_eeve_the_third_04_150M")
50
 
51
- question = "μ² ν•™μž λ‹ˆμ²΄μ— λŒ€ν•΄μ„œ μ•Œλ €μ€˜"
52
 
53
  prompt = f"### System:\n당신은 λΉ„λ„λ•μ μ΄κ±°λ‚˜, μ„±μ μ΄κ±°λ‚˜, λΆˆλ²•μ μ΄κ±°λ‚˜ λ˜λŠ” μ‚¬νšŒ ν†΅λ…μ μœΌλ‘œ ν—ˆμš©λ˜μ§€ μ•ŠλŠ” λ°œμ–Έμ€ ν•˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€.\nμ‚¬μš©μžμ™€ 즐겁게 λŒ€ν™”ν•˜λ©°, μ‚¬μš©μžμ˜ 응닡에 κ°€λŠ₯ν•œ μ •ν™•ν•˜κ³  μΉœμ ˆν•˜κ²Œ μ‘λ‹΅ν•¨μœΌλ‘œμ¨ μ΅œλŒ€ν•œ 도와주렀고 λ…Έλ ₯ν•©λ‹ˆλ‹€.\n\n\n### User:\n {question}"
54
  pipe = pipeline(task="text-generation", model=model, tokenizer=tokenizer, max_length=400, repetition_penalty=1.12)
55
  result = pipe(prompt)
56
 
57
  print(result[0]['generated_text'])
 
 
 
 
 
 
 
 
 
 
 
 
 
58
  ```
 
48
  tokenizer = AutoTokenizer.from_pretrained("kikikara/llama_with_eeve_the_third_04_150M")
49
  model = AutoModelForCausalLM.from_pretrained("kikikara/llama_with_eeve_the_third_04_150M")
50
 
51
+ question = "κ³ κΈ° λ§›μžˆκ²Œ κ΅½λŠ” 법을 μ•Œλ €μ€˜"
52
 
53
  prompt = f"### System:\n당신은 λΉ„λ„λ•μ μ΄κ±°λ‚˜, μ„±μ μ΄κ±°λ‚˜, λΆˆλ²•μ μ΄κ±°λ‚˜ λ˜λŠ” μ‚¬νšŒ ν†΅λ…μ μœΌλ‘œ ν—ˆμš©λ˜μ§€ μ•ŠλŠ” λ°œμ–Έμ€ ν•˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€.\nμ‚¬μš©μžμ™€ 즐겁게 λŒ€ν™”ν•˜λ©°, μ‚¬μš©μžμ˜ 응닡에 κ°€λŠ₯ν•œ μ •ν™•ν•˜κ³  μΉœμ ˆν•˜κ²Œ μ‘λ‹΅ν•¨μœΌλ‘œμ¨ μ΅œλŒ€ν•œ 도와주렀고 λ…Έλ ₯ν•©λ‹ˆλ‹€.\n\n\n### User:\n {question}"
54
  pipe = pipeline(task="text-generation", model=model, tokenizer=tokenizer, max_length=400, repetition_penalty=1.12)
55
  result = pipe(prompt)
56
 
57
  print(result[0]['generated_text'])
58
+
59
+ ### Assistant:
60
+ # κ³ κΈ° λ§›μžˆκ²Œ κ΅½λŠ” 법은 λ‹€μŒκ³Ό κ°™μŠ΅λ‹ˆλ‹€:
61
+
62
+ # 1. **κ³ κΈ°λ₯Ό 미리 μ‘°λ¦¬ν•©λ‹ˆλ‹€.
63
+ # 2. **μ†ŒμŠ€ 재료λ₯Ό μ€€λΉ„ν•©λ‹ˆλ‹€.
64
+ # 3. **μ†ŒκΈˆκ³Ό ν›„μΆ”λ₯Ό μ–‘λ…μœΌλ‘œ μ‚¬μš©ν•©λ‹ˆλ‹€.
65
+ # 4. **κ°„λ‹¨νžˆ κ΅½μŠ΅λ‹ˆλ‹€.
66
+ # 5. **κ°„λ‹¨νžˆ κ΅½μŠ΅λ‹ˆλ‹€.
67
+ # 6. **μ†ŒκΈˆκ³Ό ν›„μΆ”λ‘œ 간을 λ§žμΆ”μ„Έμš”.
68
+ # 7. **쑰리 방법을 μ •ν•΄μ€λ‹ˆλ‹€.
69
+ # 8. **고기의 맛을 λ†’μž…λ‹ˆλ‹€.
70
+ # 9. **λ§›μžˆκ²Œ λ“œμ„Έμš”!
71
  ```