Spaces:
Runtime error
Runtime error
feat: add a more accurate stop token
Browse files
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 |
["<$غزل$@بر لبم هر ذره داغی می توان کردن"],
|