allenai / allenai/bilm-tf

Unable to train ELMO after loading all training files.

Open
#219 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.6k
Forks
447
PR merge metrics
No merged PRs in 30d

Description

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!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.