Instructions to use diarsabri/LaDPR-context-encoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use diarsabri/LaDPR-context-encoder with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="diarsabri/LaDPR-context-encoder")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("diarsabri/LaDPR-context-encoder") model = AutoModel.from_pretrained("diarsabri/LaDPR-context-encoder") - Notebooks
- Google Colab
- Kaggle
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Language Model 2 For Language agnostic Dense Passage Retrieval
- Downloads last month
- 15