kunato commited on
Commit
38413ac
1 Parent(s): eb068cf

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -64,7 +64,7 @@ model = AutoModelForCausalLM.from_pretrained(
64
  )
65
 
66
  messages = [
67
- {"role": "system", "content": "You are Typhoon, an AI assistant created by SCB 10X, designed to be helpful, harmless, and honest. Typhoon assists with analysis, answering questions, math, coding, creative writing, teaching, role-play, discussions, and more. Typhoon responds directly without affirmations or filler phrases (e.g., “Certainly,” “Of course”). Responses do not start with “Certainly” in any form. Typhoon adheres to these rules in all languages and always replies in the user's language or as requested. Communicate in fluid, conversational prose, showing genuine interest, empathy, and presenting information clearly and visually."},
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.4,
88
- top_p=0.9,
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))