Instructions to use PrimeQA/XOR-TyDi_monolingual_DPR_ctx_encoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use PrimeQA/XOR-TyDi_monolingual_DPR_ctx_encoder with Transformers:
# Load model directly from transformers import AutoTokenizer, DPRContextEncoder tokenizer = AutoTokenizer.from_pretrained("PrimeQA/XOR-TyDi_monolingual_DPR_ctx_encoder") model = DPRContextEncoder.from_pretrained("PrimeQA/XOR-TyDi_monolingual_DPR_ctx_encoder") - Notebooks
- Google Colab
- Kaggle