Value Error & dev file parameter: run_squad.py BERT QA finetuning
# ❓ Questions & Help

Hello, I have a question about implementing run_squad.py finetuning.
I have 2 questions.

**1. --dev_file parameter**
I have 3 datasets : train, dev, and predict file.
However, I discovered that run_squad.py finetuning seems it does not supply `--dev_file` parameter, so I can use only 2 dataset(train and predict).
Is there any way to use dev_file for evaluation? Or how can I check the accuracy score?

**2. Value Error**
I just implemented the run_squad.py script using train and predict file, and I got several errors while implementing the script.
Due to CUDA out of memory error, I set the 'max_seq_length' as 64 and per_gpu_train_batch_size' as 2, and it didn't bring CUDA out of memory error, but instead, it brought 'Valueerror expected sequence of length 64 at dim 1 (got 878) '.
Could you give some idea to fix this error?

Thank you,
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
