We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
报错如下: #!cat /usr/local/lib/python3.6/dist-packages/tensorflow_core/python/tpu/tpu_feed.py #@title #文章生成模块 作文最小篇幅 = 850 #@param {type:"number", min:800, max:1024, step:1} 生成作文篇数 = 1 #@param {type:"number", min:1, max:100, step:1} %mv /home/EssayKiller_V2/LanguageNetwork/GPT2/finetune/models/mega/* /home/EssayKiller_V2/LanguageNetwork/GPT2/finetune/trained_models/ %cd /home/EssayKiller_V2/LanguageNetwork/GPT2/ !export TF_CPP_MIN_LOG_LEVEL=2 !echo '模型加载中,请稍后......' !PYTHONPATH=$(pwd) python scripts/demo.py -ckpt_fn finetune/trained_models/model.ckpt-280000 -min_len $作文最小篇幅 -samples $生成作文篇数 !PYTHONPATH=$(pwd) python scripts/formatter.py -org_text result.txt
The text was updated successfully, but these errors were encountered:
对不起,才看到QandA,还是挺想试试的
Sorry, something went wrong.
No branches or pull requests
报错如下:$作文最小篇幅 -samples $ 生成作文篇数
#!cat /usr/local/lib/python3.6/dist-packages/tensorflow_core/python/tpu/tpu_feed.py
#@title #文章生成模块
作文最小篇幅 = 850 #@param {type:"number", min:800, max:1024, step:1}
生成作文篇数 = 1 #@param {type:"number", min:1, max:100, step:1}
%mv /home/EssayKiller_V2/LanguageNetwork/GPT2/finetune/models/mega/* /home/EssayKiller_V2/LanguageNetwork/GPT2/finetune/trained_models/
%cd /home/EssayKiller_V2/LanguageNetwork/GPT2/
!export TF_CPP_MIN_LOG_LEVEL=2
!echo '模型加载中,请稍后......'
!PYTHONPATH=$(pwd) python scripts/demo.py -ckpt_fn finetune/trained_models/model.ckpt-280000 -min_len
!PYTHONPATH=$(pwd) python scripts/formatter.py -org_text result.txt
The text was updated successfully, but these errors were encountered: