AttributeError: 'dict' object has no attribute 'embedding_length'
#1
by
CJBBBB
- opened
2024-03-10 10:37:57,970 loading file E:\Project\pythonProject\LFR-GAN_TOMM2023-master\pretrained_models\chunk-english\pytorch_model.bin
2024-03-10 10:37:58,204 SequenceTagger predicts: Dictionary with 47 tags: O, S-NP, B-NP, E-NP, I-NP, S-VP, B-VP, E-VP, I-VP, S-PP, B-PP, E-PP, I-PP, S-ADVP, B-ADVP, E-ADVP, I-ADVP, S-SBAR, B-SBAR, E-SBAR, I-SBAR, S-ADJP, B-ADJP, E-ADJP, I-ADJP, S-PRT, B-PRT, E-PRT, I-PRT, S-CONJP, B-CONJP, E-CONJP, I-CONJP, S-INTJ, B-INTJ, E-INTJ, I-INTJ, S-LST, B-LST, E-LST, I-LST, S-UCP, B-UCP, E-UCP, I-UCP, ,
Hi @CJBBBB ,
here's the issue on Flair upstream repo: https://github.com/flairNLP/flair/issues/3418
Upgrading flair version should help :)