liuwei1206 / LEBERT

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

where download the checkpoints? #40

Closed dghlnvyps closed 2 years ago

dghlnvyps commented 2 years ago

Hello, I have downloaded all the files you provide in the github, but I didn't find the checkpoints. Can you tell how to download it? Providing the links is the best, thank you.

dghlnvyps commented 2 years ago

Besides, I don't understand the meaning of this line in the markdown: 'Compile the revised source code and install. python3 setup.py install'. What is the 'setup.py' file is?

liuwei1206 commented 2 years ago

If you click each named checkpoint, you will redirect to the download link.

Reinstall using compiled method!

dghlnvyps commented 2 years ago

Sorry, I do get what you mean of "click each named checkpoint".

I clicked the Weibo Ner linking "https://drive.google.com/file/d/1HP-Fc06dMN1jqxoRivLwtAJvQm3MG64Y/view?usp=sharing", and downloaded the file of "weibo.zip". I unziped the file and get the three files: pytorch_model.bin, readme.txt and run_weibo.sh. Do you mean the pytorch_model.bin is the checkpoint file?

liuwei1206 commented 2 years ago

Yes, you are right!