futranbg commited on
Commit
7c99e18
1 Parent(s): be2693c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -23,9 +23,9 @@ End of the document<|end|>
23
 
24
  bloom_template = """Text translation.
25
  {source} text:
26
- <|beginoftext|>{query}<|endoftext|>
27
  {target} translated text:
28
- <|beginoftext|>"""
29
 
30
  model_kwargs={
31
  "max_new_tokens":2048,
 
23
 
24
  bloom_template = """Text translation.
25
  {source} text:
26
+ <s>{query}</s>
27
  {target} translated text:
28
+ <s>"""
29
 
30
  model_kwargs={
31
  "max_new_tokens":2048,