gospacedev commited on
Commit
b064d79
1 Parent(s): 8b3393b

update system instructions

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -9,7 +9,7 @@ system_instructions = """<s> [INST] You will be provided with text, and your tas
9
 
10
  def generate_translation(prompt):
11
  generate_kwargs = dict(
12
- temperature=0.9,
13
  max_new_tokens=1024,
14
  top_p=0.95,
15
  repetition_penalty=1.0,
@@ -32,12 +32,12 @@ def generate_translation(prompt):
32
  return ''.join(filtered_output).replace(" ", "").replace("\n", "")
33
 
34
 
35
- system_instructions_emoji_input = """<s> [INST] You will be provided with emojis, and your task is to create a story from it. DO NOT USE ANY REGULAR EMOJIS. Do your best with text only. Translate this emojis: """
36
 
37
 
38
  def generate_emoji_translation(prompt):
39
  generate_kwargs = dict(
40
- temperature=0.9,
41
  max_new_tokens=1024,
42
  top_p=0.95,
43
  repetition_penalty=1.0,
 
9
 
10
  def generate_translation(prompt):
11
  generate_kwargs = dict(
12
+ temperature=0.5,
13
  max_new_tokens=1024,
14
  top_p=0.95,
15
  repetition_penalty=1.0,
 
32
  return ''.join(filtered_output).replace(" ", "").replace("\n", "")
33
 
34
 
35
+ system_instructions_emoji_input = """<s> [INST] You will be provided with emojis, and your task is to create a short story from it. DO NOT USE ANY EMOJIS. Do your best with text only. Translate this emojis: """
36
 
37
 
38
  def generate_emoji_translation(prompt):
39
  generate_kwargs = dict(
40
+ temperature=0.5,
41
  max_new_tokens=1024,
42
  top_p=0.95,
43
  repetition_penalty=1.0,