shibing624 / pycorrector

pycorrector is a toolkit for text error correction. 文本纠错,实现了Kenlm,T5,MacBERT,ChatGLM3,Qwen2.5等模型应用在纠错场景,开箱即用。
https://www.mulanai.com/product/corrector/
Apache License 2.0
5.61k stars 1.1k forks source link

关于deep_context模型 #88

Closed superdu12138 closed 5 years ago

superdu12138 commented 5 years ago

你好,我在这个模型下运行 python3 preprocess.py 然后运行 python3 train.py 页面一直就是这样 2019-08-12 14-31-21屏幕截图

superdu12138 commented 5 years ago

可以跑,但是跑一次太久了。。。

shibing624 commented 5 years ago

rnn训练速度慢,如果需要中间步骤提示,可以自行添加。默认是one epoch 输出一次。

superdu12138 commented 5 years ago

deep_contexty已经跑完了,没有中间步骤第一次训练时被我pass掉几次

/Downloads/NLPcorrect/pycorrector-master_ddd/pycorrector/rnn_attention /Downloads/NLPcorrect/pycorrector-master_ddd/pycorrector/rnn_crf /Downloads/NLPcorrect/pycorrector-master_ddd/pycorrector/transformer /Downloads/NLPcorrect/pycorrector-master_ddd/pycorrector/utils 我在08.08号这天下载的项目,关于这4个模型 ,他们是还没有纠错功能吧?我在各infer.py下没有看到测试句子

shibing624 commented 5 years ago

rnn_attention rnn_crf transformer 是有纠错效果的。

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.(由于长期不活动,机器人自动关闭此问题,如果需要欢迎提问)