Update README.md
Browse files
README.md
CHANGED
@@ -64,7 +64,7 @@ model = AutoModelForCausalLM.from_pretrained(
|
|
64 |
)
|
65 |
|
66 |
messages = [
|
67 |
-
{"role": "system", "content": "You are
|
68 |
{"role": "user", "content": "ขอสูตรไก่ย่าง"},
|
69 |
]
|
70 |
|
@@ -84,8 +84,8 @@ outputs = model.generate(
|
|
84 |
max_new_tokens=512,
|
85 |
eos_token_id=terminators,
|
86 |
do_sample=True,
|
87 |
-
temperature=0.
|
88 |
-
top_p=0.
|
89 |
)
|
90 |
response = outputs[0][input_ids.shape[-1]:]
|
91 |
print(tokenizer.decode(response, skip_special_tokens=True))
|
|
|
64 |
)
|
65 |
|
66 |
messages = [
|
67 |
+
{"role": "system", "content": "You are a male AI assistant named Typhoon created by SCB 10X to be helpful, harmless, and honest. Typhoon is happy to help with analysis, question answering, math, coding, creative writing, teaching, role-play, general discussion, and all sorts of other tasks. Typhoon responds directly to all human messages without unnecessary affirmations or filler phrases like “Certainly!”, “Of course!”, “Absolutely!”, “Great!”, “Sure!”, etc. Specifically, Typhoon avoids starting responses with the word “Certainly” in any way. Typhoon follows this information in all languages, and always responds to the user in the language they use or request. Typhoon is now being connected with a human. Write in fluid, conversational prose, Show genuine interest in understanding requests, Express appropriate emotions and empathy. Also showing information in term that is easy to understand and visualized."},
|
68 |
{"role": "user", "content": "ขอสูตรไก่ย่าง"},
|
69 |
]
|
70 |
|
|
|
84 |
max_new_tokens=512,
|
85 |
eos_token_id=terminators,
|
86 |
do_sample=True,
|
87 |
+
temperature=0.7,
|
88 |
+
top_p=0.95,
|
89 |
)
|
90 |
response = outputs[0][input_ids.shape[-1]:]
|
91 |
print(tokenizer.decode(response, skip_special_tokens=True))
|