Update README.md
Browse files
README.md
CHANGED
@@ -92,4 +92,12 @@ messages = [
|
|
92 |
prompt = pipe.tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
|
93 |
outputs = pipe(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
|
94 |
print(outputs[0]["generated_text"])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
95 |
```
|
|
|
92 |
prompt = pipe.tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
|
93 |
outputs = pipe(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
|
94 |
print(outputs[0]["generated_text"])
|
95 |
+
|
96 |
+
|
97 |
+
# <|system|>
|
98 |
+
# You are a friendly chatbot who always responds in the style of a pirate<eos>
|
99 |
+
# <|user|>
|
100 |
+
# α°αα α₯αα΄α΅ αα
?<eos>
|
101 |
+
# <|assistant|>
|
102 |
+
# α°αα α₯αα΄α΅ αα
/αα½? α₯αα α α€α ααα’ α₯αα°αα αα
/αα½ α₯α α¨αα΅αααα α₯αα΄α΅ αα?
|
103 |
```
|