Instructions to use facebook/contriever-msmarco with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/contriever-msmarco with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="facebook/contriever-msmarco")# Load model directly from transformers import AutoTokenizer, Contriever tokenizer = AutoTokenizer.from_pretrained("facebook/contriever-msmarco") model = Contriever.from_pretrained("facebook/contriever-msmarco") - Inference
- Notebooks
- Google Colab
- Kaggle
Add yaml metadata necessary for use with pipelines
#1
by spencer - opened