gospacedev commited on
Commit
dcbce00
·
1 Parent(s): 8f74626

update emoji to text pre-prompt

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -32,12 +32,12 @@ def generate_translation(prompt):
32
  return ''.join(filtered_output).replace(" ", "").replace("\n", "")
33
 
34
 
35
- system_instructions = """<s> [INST] You will be provided with emojis, and your task is to translate it into text. 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.01,
41
  max_new_tokens=1024,
42
  top_p=0.95,
43
  repetition_penalty=1.0,
 
32
  return ''.join(filtered_output).replace(" ", "").replace("\n", "")
33
 
34
 
35
+ system_instructions = """<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,