Skip to content
New issue

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

Trying to reproduce for SemEval 2014 #17

Open
azamatolegen opened this issue Dec 18, 2019 · 2 comments
Open

Trying to reproduce for SemEval 2014 #17

azamatolegen opened this issue Dec 18, 2019 · 2 comments

Comments

@azamatolegen
Copy link

Great article! Thank you for publishing the code!

I am following your steps and on step 3 when I run the code for semeval_NLI_M I got this error:

image
image

could you please help to figure this out? I am using mBERT model.

@azamatolegen
Copy link
Author

the code I am running is:

CUDA_VISIBLE_DEVICES=0,1,2,3 python run_classifier_TABSA.py --task_name semeval_NLI_M --data_dir data/semeval2014/bert-pair/ --vocab_file mBERT/vocab.txt --bert_config_file mBERT/config.json --init_checkpoint mBERT/pytorch_model.bin --eval_test --do_lower_case --max_seq_length 128 --train_batch_size 4 --learning_rate 5e-5 --num_train_epochs 2.0 --output_dir results/semeavl2014/NLI_M --seed 42

@sunny678
Copy link

Maybe you should check the differences between mBERT and BERT-base and modify the 'convert_tf_checkpoint_to_pytorch.py' file if necessary.

GPU memory related issues reference: #1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants