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")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, Contriever tokenizer = AutoTokenizer.from_pretrained("facebook/contriever-msmarco") model = Contriever.from_pretrained("facebook/contriever-msmarco", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Add yaml metadata necessary for use with pipelines (#1)
- Add yaml metadata necessary for use with pipelines (996d4803dc62ac53fba994c8484726fe90a26a03) Co-authored-by: Spencer Braun <spencer@users.noreply.huggingface.co>abe8c14
-
Create README.md
9fb3bc5 -
add tokenizer
43ff5fa -
add model
463e03c -
initial commit
34e105a