Alibaba-NLP / KB-NER

Winner system (DAMO-NLP) of SemEval 2022 MultiCoNER shared task over 10 out of 13 tracks.
Other
178 stars 20 forks source link

Error in the inference script. #3

Closed maherr13 closed 2 years ago

maherr13 commented 2 years ago

Hello, Great work.

I'm trying to obtain the results on colab using one of the checkpoints but I get an error during running the script, the error is from transformers when downloading the tokenizer.

image

can you check that, please?

wangxinyu0922 commented 2 years ago

Please check whether you have downloaded the embedding listed in the config file, For example:

embeddings:
  TransformerWordEmbeddings-0:
    fine_tune: true
    layers: '-1'
    model: resources/taggers/xlmr-large-pretuned-tuned-new-first_3epoch_1batch_4accumulate_0.000005lr_10000lrrate_multi_monolingual_crf_fast_norelearn_sentbatch_sentloss_nodev_finetune_saving_amz_doc_wiki_v3_ner24/xlm-roberta-large-ft10w 
    pooling_operation: first