Add no_repeat_ngram_size to config to avoid repeatedly generating <s>.
This commit is contained in:
parent
36a2c16a6c
commit
141727c63c
|
@ -33,5 +33,6 @@
|
|||
"torch_dtype": "float32",
|
||||
"transformers_version": "4.17.0.dev0",
|
||||
"use_cache": true,
|
||||
"vocab_size": 50265
|
||||
"vocab_size": 50265,
|
||||
"no_repeat_ngram_size": 3
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue