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

  • Log In
  • Sign Up

google
/
gemma-4-12B-it-assistant

Any-to-Any
Transformers
Safetensors
gemma4_unified_assistant
text-generation
Model card Files Files and versions
xet
Community
4

Instructions to use google/gemma-4-12B-it-assistant with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use google/gemma-4-12B-it-assistant with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModelForCausalLM
    
    tokenizer = AutoTokenizer.from_pretrained("google/gemma-4-12B-it-assistant")
    model = AutoModelForCausalLM.from_pretrained("google/gemma-4-12B-it-assistant")
  • Notebooks
  • Google Colab
  • Kaggle
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

How to fine tune this kind of assistant model?

#4 opened about 5 hours ago by
lzyrapx

running error with transformers

#3 opened about 5 hours ago by
yxnchen

Suggestion: Mention and link the assistant on the main HF Gemma 4 model pages

1
#1 opened about 16 hours ago by
patrickdeanbrown
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs