Text Ranking
Transformers
Safetensors
English
Portuguese
llama
text-generation
classification
tinyllama
rag
rerank
text-embeddings-inference
Instructions to use cnmoro/TinyLlama-ContextQuestionPair-Classifier-Reranker with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cnmoro/TinyLlama-ContextQuestionPair-Classifier-Reranker with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("cnmoro/TinyLlama-ContextQuestionPair-Classifier-Reranker") model = AutoModelForCausalLM.from_pretrained("cnmoro/TinyLlama-ContextQuestionPair-Classifier-Reranker", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "bos_token_id": 1, | |
| "eos_token_id": 2, | |
| "max_length": 2048, | |
| "pad_token_id": 0, | |
| "transformers_version": "4.40.0" | |
| } | |