Instructions to use JoniJoniAl/ColBERTGecko with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use JoniJoniAl/ColBERTGecko with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="JoniJoniAl/ColBERTGecko")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("JoniJoniAl/ColBERTGecko") model = AutoModelForMaskedLM.from_pretrained("JoniJoniAl/ColBERTGecko", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| {"max_length_query": 64, "max_length_document": 256, "query_prefix": "[Q] ", "document_prefix": "[D] ", "padding": "max_length", "truncation": true, "add_special_tokens": true} |