Files
GPT2-Chinese/scripts/generate.sh
2019-11-11 15:53:37 +08:00

9 lines
191 B
Bash

python generate.py \
--device 0 \
--length 900 \
--tokenizer_path cache/vocab_small.txt \
--model_path model/final_model \
--prefix "[CLS][MASK]" \
--topp 1 \
--temperature 1.0