lorafei / Explainable_GEC

The official code of the 2023 ACL paper "Enhancing Grammatical Error Correction Systems with Explanations"
https://arxiv.org/pdf/2305.15676.pdf
26 stars 3 forks source link

Missing files #5

Open JiyuanAn opened 7 months ago

JiyuanAn commented 7 months ago

Hello, when I tried to reproduce this creative work according to the instructions, I encountered this error. I hope to get your help and reply. Thanks!

Traceback (most recent call last):
  File "run.py", line 4, in <module>
    from simpletransformers.ner import NERModel
  File "/data/private/ajy2023/workspace/Explainable_GEC/Explainable_GEC-main/simpletransformers/ner/__init__.py", line 1, in <module>
    from simpletransformers.ner.ner_model import NERModel
  File "/data/private/ajy2023/workspace/Explainable_GEC/Explainable_GEC-main/simpletransformers/ner/ner_model.py", line 119, in <module>
    from simpletransformers.ner.transformer_models.modeling_roberta import RobertaForTokenClassification, SrobertaForSourceTargetTokenClassification
ModuleNotFoundError: No module named 'simpletransformers.ner.transformer_models.modeling_roberta'
Lj4040 commented 6 months ago

解决了吗?

Rastapar commented 5 months ago

I have the same error.