-
### Describe the bug
Please provide a clear and concise description of what the bug is. If applicable, add screenshots to help explain your problem, especially for visualization related problems.
本人…
-
### Describe the Question
请问MacBert是否支持混淆集? 除了kenlm,还有哪些模型支持混淆集?
-
### Describe the Question
Please provide a clear and concise description of what the question is.
我的网络环境有问题,请问怎么导入已经下载好的本地模型?
-
AttributeError: 'MacBertCorrector' object has no attribute 'correct_batch'
-
### Describe the bug
Please provide a clear and concise description of what the bug is. If applicable, add screenshots to help explain your problem, especially for visualization related problems.
想使…
-
- ubuntu
from pycorrector import T5Corrector
m = T5Corrector()
res = m.correct_batch(['今天新情很好', '你找到你最喜欢的工作,我也很高心。'])
print(res)
- 报错:
Traceback (most recent call last):
File "/home/s…
-
https://huggingface.co/DDDSSS/translation_en-zh
请问这个模型怎么用,
可以发个demo给我吗?想本地运行。nlp_chen@163.com
-
demo.py执行也是一样
-
我看pycorrector/macbert/train_macbert4csc.yml配置文件里BERT_CKPT是原始 hfl/chinese-macbert-base 模型
微调完保存的也是原始模型,链接如下,并没有保存MacBert4Csc模型结构,只保存了权重参数
`bert = BertForMaskedLM.from_pretrained(cfg.MODEL.BERT_CKPT…
-
kenlm可以将误纠错的名词强制放入混淆字典,Macbert呢?