liuwei1206 / LEBERT

Code for the ACL2021 paper "Lexicon Enhanced Chinese Sequence Labelling Using BERT Adapter"
336 stars 60 forks source link

关于setup.py #58

Closed zlh-source closed 1 year ago

zlh-source commented 1 year ago

你好,README里写的“Compile the revised source code and install. python3 setup.py install” 但是仓库里没有setup.py文件,请问应该怎么安装?

liuwei1206 commented 1 year ago

Hi,

There should be a setup.py in source/transformers-master. Please follow my transformer version and re-check it.

Running "python3 setup.py install" means you re-install the revised version of transformers.

zlh-source commented 1 year ago

OK, thank you very much. I will try again.