nlp-tutorial
nlp-tutorial copied to clipboard
num_samples should be a positive integer value, but got num_samples=0
python train.py --epochs 12 --batch_size 2 --learning_rate .001 --hidden_size 64 --n_layers 1 --dropout_p .1
number of trained word vectors of data/glove.6B.100d.txt: 400000
Traceback (most recent call last):
File "train.py", line 200, in
Please Let Know What's the exact issue
HI, @staticgsm
Could you check if the code below works well?
There seems to be no data qa_train variable.
qa_train = QuestionAnswerDataset(train, tokenizer, negative_sampling=True)