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