vpcom commited on
Commit
3c27d1f
·
1 Parent(s): 66161b9

feat: add a more accurate stop token

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ HF_TOKEN = os.environ.get("HF_TOKEN", None)
10
  API_URL = "https://api-inference.huggingface.co/models/DataAnalyticsLab/PersianGPT-FT-Grover"
11
  BOT_NAME = "PersianGPT-FT"
12
 
13
- STOP_SEQUENCES = ["<|endoftext|>"]
14
 
15
  EXAMPLES = [
16
  ["<$غزل$@بر لبم هر ذره داغی می توان کردن"],
 
10
  API_URL = "https://api-inference.huggingface.co/models/DataAnalyticsLab/PersianGPT-FT-Grover"
11
  BOT_NAME = "PersianGPT-FT"
12
 
13
+ STOP_SEQUENCES = ["<|endoftext|>",">"]
14
 
15
  EXAMPLES = [
16
  ["<$غزل$@بر لبم هر ذره داغی می توان کردن"],