HillZhang1999 / MuCGEC

MuCGEC中文纠错数据集及文本纠错SOTA模型开源;Code & Data for our NAACL 2022 Paper "MuCGEC: a Multi-Reference Multi-Source Evaluation Dataset for Chinese Grammatical Error Correction"
https://aclanthology.org/2022.naacl-main.227/
Apache License 2.0
509 stars 64 forks source link

使用seq2seq模型问题 #24

Closed EASTERNTIGER closed 1 year ago

EASTERNTIGER commented 1 year ago

你好,我想试运行/MuCGEC-main/models/seq2seq-based-CGEC/里的predict.py文件时,出现 requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://huggingface.co/None/resolve/main/vocab.txt 报错,请问这是什么原因造成的呢?

HillZhang1999 commented 1 year ago

请确认下model_path是否正确,如果正确的话,代码应该会去 https://huggingface.co/fnlp/bart-large-chinese/blob/main/vocab.txt 下载词表

EASTERNTIGER commented 1 year ago

请确认下model_path是否正确,如果正确的话,代码应该会去 https://huggingface.co/fnlp/bart-large-chinese/blob/main/vocab.txt 下载词表

好的,谢谢。