uhh-lt / bert-sense

Source code accompanying the KONVENS 2019 paper "Does BERT Make Any Sense? Interpretable Word Sense Disambiguation with Contextualized Embeddings"
MIT License
61 stars 13 forks source link

Broken code (huggingface transformers) #2

Open glicerico opened 4 years ago

glicerico commented 4 years ago

Huggingface transformers has been upgraded from pytorch-pretrained-BERT and BERT_model.py doesn't run

huidemie commented 4 years ago

how can i get 'BERT_embs.pickle. 'and ''senseval2_lexical_sample_train.xml' file? could you help me?Thank you very much.

glicerico commented 4 years ago

You get the datasets (actually their download links) from the UFSAC repository: https://github.com/glicerico/UFSAC You generate the pickle file when you run the algorithm for the first time. I'm not sure if bert-sense offers pre-calculated pickle files for download

huidemie commented 4 years ago

You get the datasets (actually their download links) from the UFSAC repository: https://github.com/glicerico/UFSAC You generate the pickle file when you run the algorithm for the first time. I'm not sure if bert-sense offers pre-calculated pickle files for download

OK , I know.Thank you so much! mua~