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
| { | |
| "epoch": 20.0, | |
| "train_loss": 0.18581116994222005, | |
| "train_runtime": 2514.2374, | |
| "train_samples": 2889, | |
| "train_samples_per_second": 22.981, | |
| "train_steps_per_second": 1.432 | |
| } |