We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pretrained static embeddings file
I tried running train.py, and got an error as follows. Could you please let me know about how to get 'data/models/BMET-ft-5-396-30-5_c.vec' file?
train.py
> python train.py Sep05 10:18 __main__ INFO: [ Reading MeSH tree structure... ] Sep05 10:18 BMET.utils INFO: [ Reading MeSH descriptors file... ] Sep05 10:18 root INFO: [ Loading word vectors from data/models/BMET-ft-5-396-30-5_c.vec... ] Traceback (most recent call last): File "/***/BERT-CRel-Embeddings/train.py", line 108, in <module> embs = WvModel(cfg.F_WV_EMBS) ^^^^^^^^^^^^^^^^^^^^^^ File "/***/BERT-CRel-Embeddings/BMET/vocab.py", line 30, in __init__ self.__build_vocab_from_pretrained(emb_path, normalize=normalize_emb) File "/***/BERT-CRel-Embeddings/BMET/vocab.py", line 43, in __build_vocab_from_pretrained with open(fpath, encoding='utf-8') as fd: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: 'data/models/BMET-ft-5-396-30-5_c.vec'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I tried running
train.py
, and got an error as follows.Could you please let me know about how to get 'data/models/BMET-ft-5-396-30-5_c.vec' file?
The text was updated successfully, but these errors were encountered: