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
2

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
gemma-4-12B-it-assistant
878 MB
Ctrl+K
Ctrl+K
  • 4 contributors
History: 4 commits
osanseviero's picture
osanseviero
dougreid's picture
dougreid
Update max_position_embeddings to support full context length. (#2)
3cb659f 11 minutes ago
  • .gitattributes
    1.62 kB
    Preparing for release! about 23 hours ago
  • README.md
    29.4 kB
    Update README.md about 14 hours ago
  • config.json
    2.35 kB
    Update max_position_embeddings to support full context length. (#2) 11 minutes ago
  • generation_config.json
    233 Bytes
    Preparing for release! about 23 hours ago
  • model.safetensors
    846 MB
    xet
    Preparing for release! about 23 hours ago
  • tokenizer.json
    32.2 MB
    xet
    Preparing for release! about 23 hours ago
  • tokenizer_config.json
    822 Bytes
    Preparing for release! about 23 hours ago