Text Ranking
Transformers
Safetensors
mistral
text-generation
text-embeddings-inference
8-bit precision
compressed-tensors
Instructions to use ContextualAI/ctxl-rerank-v2-instruct-multilingual-6b-nvfp4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ContextualAI/ctxl-rerank-v2-instruct-multilingual-6b-nvfp4 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("ContextualAI/ctxl-rerank-v2-instruct-multilingual-6b-nvfp4") model = AutoModelForCausalLM.from_pretrained("ContextualAI/ctxl-rerank-v2-instruct-multilingual-6b-nvfp4", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download generation_config.json from ContextualAI/ctxl-rerank-v2-instruct-multilingual-6b-nvfp4: direct link, hf CLI and curl.
- Browser
- Download file 111 Bytes
-
https://huggingface.co/ContextualAI/ctxl-rerank-v2-instruct-multilingual-6b-nvfp4/resolve/main/generation_config.json
- Command line
-
hf download hf://ContextualAI/ctxl-rerank-v2-instruct-multilingual-6b-nvfp4/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/ContextualAI/ctxl-rerank-v2-instruct-multilingual-6b-nvfp4/resolve/main/generation_config.json
111 Bytes
| { | |
| "_from_model_config": true, | |
| "bos_token_id": 1, | |
| "eos_token_id": 2, | |
| "transformers_version": "4.55.0" | |
| } | |