fix: override bad_words_ids for KoboldAI
Browse files- config.json +3 -2
config.json
CHANGED
@@ -29,7 +29,7 @@
|
|
29 |
"text-generation": {
|
30 |
"do_sample": true,
|
31 |
"max_length": 50,
|
32 |
-
"temperature":
|
33 |
}
|
34 |
},
|
35 |
"tie_word_embeddings": false,
|
@@ -37,5 +37,6 @@
|
|
37 |
"torch_dtype": "float16",
|
38 |
"transformers_version": "4.26.0.dev0",
|
39 |
"use_cache": true,
|
40 |
-
"vocab_size": 50400
|
|
|
41 |
}
|
|
|
29 |
"text-generation": {
|
30 |
"do_sample": true,
|
31 |
"max_length": 50,
|
32 |
+
"temperature": 0.5
|
33 |
}
|
34 |
},
|
35 |
"tie_word_embeddings": false,
|
|
|
37 |
"torch_dtype": "float16",
|
38 |
"transformers_version": "4.26.0.dev0",
|
39 |
"use_cache": true,
|
40 |
+
"vocab_size": 50400,
|
41 |
+
"badwordsids": [[10619, 62, 19238, 62, 35, 12576, 7730]]
|
42 |
}
|