Comments (3)
嗯,#11
from pycorrector.
您好,我想请问程序默认的语言模型people_chars_lm.klm和云盘里提供的语言模型people2014corpus_char.klm,都是用您附上的那篇关于kenlm的博客里写的方法训练得到的么?
因为目前不论是用云盘里提供的模型还是我自己训练的模型,运行程序都容易出现illegal instructions的错误,唯独用默认的语言模型people_chars_lm.klm可以正常运行。
对于这个问题,希望您能给我一些建议,谢谢了。
from pycorrector.
- 都是用您附上的那篇关于kenlm的博客里写的方法训练得到的.
- people2014corpus_chars.klm 是 people2014corpus_chars.arps的压缩格式,使用people2014corpus_chars.klm替换默认模型应该可以使用,而且纠错效果要好一些。
from pycorrector.
Related Issues (20)
- on_validation_epoch_end() missing 1 required positional argument: 'outputs' HOT 1
- 关于文本中存在空格问题 HOT 2
- 加入标点符号的纠错, 根据《标点符号用法》GB/T15834-2011规范 HOT 1
- Macbert怎么导入本地模型? HOT 3
- 使用macbert时输入的参数中有空格,会导致无法成功纠错。使用T5时就可以成功纠错 HOT 1
- 请问“的地得”纠错有什么好的方法 HOT 3
- 模型文件路径问题 HOT 7
- does not appear to have a file named config.json HOT 2
- T5Corrector' object has no attribute 'batch_t5_correct' HOT 2
- 最新版本pycorrector导入不了config HOT 1
- 现在使用给定的数据基进行训练,后期我想自己寻找其他的数据集训练 HOT 1
- 使用pip install -U pycorrector安装pycorrector最新版本后,测试运行报错 HOT 1
- Tokenizer类实现问题 HOT 2
- T5模型预测的时候一直为0 HOT 3
- 请问针对非对称长度的文本纠错(冗余、缺失等),评估指标应该选哪些呢? HOT 1
- 能否更新下docker HOT 1
- 新版本macbert4csc中ConfusionCorrector实现逻辑问题 HOT 2
- AttributeError: 'bert' object has no attribute 'save_pretrained'
- ValueError: Expected input batch_size (2400) to match target batch_size (2304) HOT 7
- 可以基于你发布的hf的模型再训练吗? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pycorrector.