Instructions to use raphaelsty/neural-cherche-colbert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use raphaelsty/neural-cherche-colbert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="raphaelsty/neural-cherche-colbert")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("raphaelsty/neural-cherche-colbert") model = AutoModelForMaskedLM.from_pretrained("raphaelsty/neural-cherche-colbert") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -31,7 +31,7 @@ documents = [
|
|
| 31 |
queries = ["Food", "Sports", "Cinema"]
|
| 32 |
|
| 33 |
model = models.ColBERT(
|
| 34 |
-
model_name_or_path="raphaelsty",
|
| 35 |
device=device,
|
| 36 |
)
|
| 37 |
|
|
@@ -91,7 +91,7 @@ retriever = retrieve.TfIdf(
|
|
| 91 |
)
|
| 92 |
|
| 93 |
model = models.ColBERT(
|
| 94 |
-
model_name_or_path="
|
| 95 |
device=device,
|
| 96 |
)
|
| 97 |
|
|
|
|
| 31 |
queries = ["Food", "Sports", "Cinema"]
|
| 32 |
|
| 33 |
model = models.ColBERT(
|
| 34 |
+
model_name_or_path="raphaelsty/neural-cherche-colbert",
|
| 35 |
device=device,
|
| 36 |
)
|
| 37 |
|
|
|
|
| 91 |
)
|
| 92 |
|
| 93 |
model = models.ColBERT(
|
| 94 |
+
model_name_or_path="raphaelsty/neural-cherche-colbert",
|
| 95 |
device=device,
|
| 96 |
)
|
| 97 |
|