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
代码较多,看起来比较耗费时间
config.py
preprocess.py
rnn_lm_model
data_reader.py
train.py
infer.py
lm.py
The text was updated successfully, but these errors were encountered:
No branches or pull requests
基于深度模型的方法——rnn_lm
config.py
文件提供了初始化配置preprocess.py
文件进行处理,对CGED三年的比赛数据进行解析,将字符分割并保存rnn_lm_model
文件构造单元函数可选:rnn,gru或lstmdata_reader.py
文件将文本的字符转换成固定的序号,并保存字符-序号对照表train.py
文件生成小批量数据,如batch_size大小为128infer.py
与lm.py
文件使用训练好的模型进行测试The text was updated successfully, but these errors were encountered: