Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

vincentoh
/
gemma3-27b-af-detector

Text Classification
PEFT
Safetensors
Transformers
English
alignment-faking
ai-safety
lora
sft
trl
unsloth
gemma3
Model card Files Files and versions
xet
Community
1

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
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

On the checkpoint-152 crash: auto-resume so you don't lose the run

#1 opened 4 months ago by
vl-dev
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs