Text Ranking
Transformers
Safetensors
Greek
English
llama_bidirec
text-classification
greek
english
reranker
cross-encoder
rag
nemotron
custom_code
Eval Results (legacy)
text-embeddings-inference
Instructions to use ayoubkirouane/Sophea-Nemo-Reranker with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ayoubkirouane/Sophea-Nemo-Reranker with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForSequenceClassification model = AutoModelForSequenceClassification.from_pretrained("ayoubkirouane/Sophea-Nemo-Reranker", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from ayoubkirouane/Sophea-Nemo-Reranker: direct link, hf CLI and curl.
- Browser
- Download file 361 Bytes
-
https://huggingface.co/ayoubkirouane/Sophea-Nemo-Reranker/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://ayoubkirouane/Sophea-Nemo-Reranker/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/ayoubkirouane/Sophea-Nemo-Reranker/resolve/main/tokenizer_config.json
361 Bytes
| { | |
| "backend": "tokenizers", | |
| "bos_token": "<|begin_of_text|>", | |
| "clean_up_tokenization_spaces": true, | |
| "eos_token": "<|end_of_text|>", | |
| "is_local": true, | |
| "local_files_only": false, | |
| "model_input_names": [ | |
| "input_ids", | |
| "attention_mask" | |
| ], | |
| "model_max_length": 4096, | |
| "pad_token": "<|end_of_text|>", | |
| "tokenizer_class": "TokenizersBackend" | |
| } | |