allenai / allenai/bilm-tf

Unable to train ELMO after loading all training files.

Aperta
#219 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
1.6k
Fork
447
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Hi I'm trying to train ELMO using my corpus.
The training script stop after loading loading all training data.
the training script stopped after getting the below message

WARNING : Error encountered when serializing lstm_output_embeddings.
Type is unsupported, or the types of the items don't match field type in CollectionDef.
'list' object has no attribute 'name'

I have divided my training corpus into 10 files each contains 3890 sentences.
I'm using 3 gpus.

The command I'm using is the following:

$python bin/train_elmo.py --train_prefix='/path to data file/*' --vocab_file '/path to vocab file' --save_dir '/path to check point/'

Can you please help

Thanks in advance!

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.