Files
GPT2-Chinese/scripts/generate.sh

9 lines
191 B
Bash
Raw Normal View History

2019-11-11 15:53:37 +08:00
python generate.py \
2019-10-16 16:07:03 +08:00
--device 0 \
--length 900 \
--tokenizer_path cache/vocab_small.txt \
--model_path model/final_model \
--prefix "[CLS][MASK]" \
--topp 1 \
--temperature 1.0