Commit
•
1ed46b5
1
Parent(s):
65215b0
generation_config with bad_words_ids
Browse files- generation_config.json +1 -0
generation_config.json
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
|
|
3 |
"bos_token_id": 1,
|
4 |
"eos_token_id": 2,
|
5 |
"pad_token_id": 0,
|
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
+
"bad_words_ids": [[32000], [32001]],
|
4 |
"bos_token_id": 1,
|
5 |
"eos_token_id": 2,
|
6 |
"pad_token_id": 0,
|