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", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
463e03c | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:08b88f3a3697877345669405c51a23f53ed90aa2bab441cd7b7b08659925eef8
size 438007537
|