ShannonAI / mrc-for-flat-nested-ner

Code for ACL 2020 paper `A Unified MRC Framework for Named Entity Recognition`
643 stars 117 forks source link

版本问题 #65

Open Gavin4th opened 3 years ago

Gavin4th commented 3 years ago

麻烦作者公布以下各个包的版本,比如torch的版本,谢谢

YuanEric88 commented 3 years ago

没有添加requirements.txt还挺麻烦的,请问现在知道版本的问题了么?

wengbenjue commented 3 years ago

同问,折腾很久了

xiaoya-li commented 2 years ago

非常抱歉,我们实验采用的package的版本如下:

pytorch-lightning==0.9.0
tokenizers==0.9.3
transformers==3.5.1

Pytorch麻烦请参照官网并且依据GPU机器和Python的版本号进行安装。如果您的cuda==10.1的话,可以通过pip install torch==1.7.1+cu101 torchvision==0.8.2+cu101 torchaudio==0.7.2 -f https://download.pytorch.org/whl/torch_stable.html安装pytorch. 谢谢!

jinec commented 2 years ago

你这是在linux中的版本吧,windows中这个版本可以吗?被整怕了都