lorafei / explainable_gec Goto Github PK
View Code? Open in Web Editor NEWThe official code of the 2023 ACL paper "Enhancing Grammatical Error Correction Systems with Explanations"
Home Page: https://arxiv.org/pdf/2305.15676.pdf
The official code of the 2023 ACL paper "Enhancing Grammatical Error Correction Systems with Explanations"
Home Page: https://arxiv.org/pdf/2305.15676.pdf
您好,我们对您的工作很感兴趣,想问一下在数据准备时,N个错误的句子重复N次这一步,您是人工做的还是自动化处理的呢?
Hi @lorafei
I encountered a bug while working with the simpletransformers library for named entity recognition (NER). When attempting to import the modeling_roberta module from the simpletransformers.ner.transformer_models package, the following error occurs: ModuleNotFoundError: No module named 'simpletransformers.ner.transformer_models.modeling_roberta'.
The ModuleNotFoundError is raised, indicating that the module modeling_roberta cannot be found.
Please add that file to resolved this issue
Thank you!
您好!看了您的论文觉得非常帮!我在下载完代码进行复现时,发现代码好像并不完整,比如loss那缺了好几个from simpletransformers.losses.focal_loss import FocalLoss
from simpletransformers.losses.dice_loss import DiceLoss
from simpletransformers.losses.tversky_loss import TverskyLoss
还有您安装包的版本可以分享一下吗?感谢您的回复
INFO: pip is looking at multiple versions of allennlp to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r requirement.txt (line 1) and torch==2.0.0 because these package versions have conflicting dependencies.
The conflict is caused by:
The user requested torch==2.0.0
allennlp 2.10.1 depends on torch<1.13.0 and >=1.10.0
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
I arbitrarily installed python=3.10 and there is issue installing requirement.txt like this. Can you tell me the specific python version for your repository?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.