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

bert_config.json #1375

Open
andres-gomez-hernandez opened this issue Dec 13, 2022 · 0 comments
Open

bert_config.json #1375

andres-gomez-hernandez opened this issue Dec 13, 2022 · 0 comments

Comments

@andres-gomez-hernandez
Copy link

Hi,
I am getting the following error when fine tuning BERT:

tensorflow.python.framework.errors_impl.NotFoundError: NewRandomAccessFile failed to Create/Open: =./$MY_PATH$/bert_config.json : The system cannot find the path specified. ; No such process

I was using TF 2.11, but after reading some users experimented the same problem, I changed it to TF 1.15.0. It is running under Python 3.7.5 and I am also using CUDA 11.0

The code I am using is the following:

python ./BERT_master/run_classifier.py --task_name = cola --do_train = true --do_eval = true --data_dir =./IMDB_dataset --vocab_file =./BERT_model/vocab.txt --bert_config_file =./BERT_model/bert_config.json --init_checkpoint =./BERT_model/bert_model.ckpt.index --max_seq_length=128 --train_batch_size=32 --learning_rate=2e-5 --num_train_epochs=3.0 --output_dir =./MODEL_output --do_lower_case = True

I was able to run this code before in another computer without GPU.

Any hint on what I should do for it to run?
Thanks

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

1 participant