gospacedev commited on
Commit
c86e9f2
1 Parent(s): 9df5134

update system instructions

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,13 +3,13 @@ from huggingface_hub import InferenceClient
3
 
4
  client = InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.1")
5
 
6
- system_instructions = """<s> [INST] You will be provided with text, and your task is to translate it into emojis. Do not use any regular text. Do your best with emojis only. Translate this text: """
7
 
8
 
9
 
10
  def generate_translation(prompt):
11
  generate_kwargs = dict(
12
- temperature=0.1,
13
  max_new_tokens=1024,
14
  top_p=0.95,
15
  repetition_penalty=1.0,
 
3
 
4
  client = InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.1")
5
 
6
+ system_instructions = """<s> [INST] You will be provided with text, and your task is to translate it into emojis. DO NOT USE ANY REGULAR TEXT. Do your best with emojis only. Translate this text: """
7
 
8
 
9
 
10
  def generate_translation(prompt):
11
  generate_kwargs = dict(
12
+ temperature=0.01,
13
  max_new_tokens=1024,
14
  top_p=0.95,
15
  repetition_penalty=1.0,