Instructions to use soheeyang/dpr-question_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-question_encoder-single-trivia-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="soheeyang/dpr-question_encoder-single-trivia-base")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("soheeyang/dpr-question_encoder-single-trivia-base") model = AutoModel.from_pretrained("soheeyang/dpr-question_encoder-single-trivia-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update readme
986b64d -
Update readme
4a6b45f -
Update readme
2801db1
-
Fix bug in weight conversion
aeea66a -
Create README.md
Do not use yet; currently under testb1df5e7
-
Save pytorch weights as the old format
dea5124 -
Initial commit
8c3e213 -
initial commit
25337b9