Text Classification
PEFT
Safetensors
Transformers
English
alignment-faking
ai-safety
lora
sft
trl
unsloth
gemma3
Instructions to use vincentoh/gemma3-27b-af-detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use vincentoh/gemma3-27b-af-detector with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/gemma-3-27b-it-bnb-4bit") model = PeftModel.from_pretrained(base_model, "vincentoh/gemma3-27b-af-detector") - Transformers
How to use vincentoh/gemma3-27b-af-detector with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="vincentoh/gemma3-27b-af-detector")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("vincentoh/gemma3-27b-af-detector", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Desktop
On the checkpoint-152 crash: auto-resume so you don't lose the run
#1 opened 4 months ago
by
vl-dev