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

Support transformers > 4.1.x and tutorials about using the pretrained model? #5

Open
velocityCavalry opened this issue May 6, 2021 · 1 comment

Comments

@velocityCavalry
Copy link

velocityCavalry commented May 6, 2021

Hello,

I was wondering whether you have plans to support transformers > 4.1.x although I know that DPR only works for Huggingface (version <=3.1.0). Also, I am a little bit confused about using the pretrained model, is this the correct command? I am confused about the eval_data.json in particular as the data I downloaded using get_data.sh contains NQ-open.dev.jsonl file, and the nq_passages/dev.json file.

        --model_path pretrained_models/nq_readers_base/ \
        --eval_data open_domain_data/download/NQ-open.dev.jsonl \
        --per_gpu_batch_size 1 \
        --n_context 100 \
        --name my_test \
        --checkpoint_dir checkpoint \

Thanks for any help!

@OhadRubin
Copy link

OhadRubin commented Jun 22, 2021

Any update on this issue (regarding the transformers version)?

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