Instructions to use soheeyang/dpr-ctx_encoder-single-trivia-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use soheeyang/dpr-ctx_encoder-single-trivia-base with Transformers:
# Load model directly from transformers import AutoTokenizer, DPRContextEncoder tokenizer = AutoTokenizer.from_pretrained("soheeyang/dpr-ctx_encoder-single-trivia-base") model = DPRContextEncoder.from_pretrained("soheeyang/dpr-ctx_encoder-single-trivia-base") - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#1 opened 9 months ago
by
SFconvertbot