allenai / kb

KnowBert -- Knowledge Enhanced Contextual Word Representations
Apache License 2.0
370 stars 50 forks source link

kg_tuple is not a registered name for Model #41

Open lshowway opened 2 years ago

lshowway commented 2 years ago

I am running this command to extract the TuckER embeddings for the synsets from the trained model, python bin/combine_wordnet_embeddings.py --extract_tucker --tucker_archive_file $WORKDIR/wordnet_tucker/model.tar.gz --vocab_file $WORKDIR/wordnet_synsets_mask_null_vocab.txt --tucker_hdf5_file $WORKDIR/tucker_embeddings.hdf5 from here .

However, it shows the errors: allennlp.common.checks.ConfigurationError: 'kg_tuple is not a registered name for Model'. Could you tell me what should I do?