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:
# pip install -U transformers accelerate # 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
File size: 124 Bytes
6949500 | 1 2 3 4 5 6 7 8 | {
"bos_token_id": 1,
"eos_token_id": 2,
"max_length": 2048,
"pad_token_id": 0,
"transformers_version": "4.40.0"
}
|