Instructions to use Cathy/reranking_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Cathy/reranking_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Cathy/reranking_model")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Cathy/reranking_model") model = AutoModelForSequenceClassification.from_pretrained("Cathy/reranking_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 228 Bytes
29fc92c | 1 2 3 4 5 6 7 8 9 | {
"epoch": 20.0,
"eval_accuracy": 0.8623978495597839,
"eval_loss": 0.6752045750617981,
"eval_runtime": 8.1962,
"eval_samples": 734,
"eval_samples_per_second": 89.554,
"eval_steps_per_second": 44.777
} |