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: 129 Bytes
29fc92c | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:5863e266a34ca57f81dba3f859ac9e02d43fd6d5c3b46b3d8f7b926485dd16a8
size 2671
|