Instructions to use wath5/kgl_lmsys_pref_classif with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use wath5/kgl_lmsys_pref_classif with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="wath5/kgl_lmsys_pref_classif")# Load model directly from transformers import AutoTokenizer, Gemma2ForSequenceClassificationV1 tokenizer = AutoTokenizer.from_pretrained("wath5/kgl_lmsys_pref_classif") model = Gemma2ForSequenceClassificationV1.from_pretrained("wath5/kgl_lmsys_pref_classif") - Notebooks
- Google Colab
- Kaggle
Ctrl+K