Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

guardiangate1775
/
gemma-4-31B-it-assistant-4bit

Text Generation
MLX
Safetensors
gemma4_assistant
speculative-decoding
mtp
gemma
drafter
4-bit precision
Model card Files Files and versions
xet
Community

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

  • Libraries
  • MLX

    How to use guardiangate1775/gemma-4-31B-it-assistant-4bit with MLX:

    # Make sure mlx-lm is installed
    # pip install --upgrade mlx-lm
    # if on a CUDA device, also pip install mlx[cuda]
    
    # Generate text with mlx-lm
    from mlx_lm import load, generate
    
    model, tokenizer = load("guardiangate1775/gemma-4-31B-it-assistant-4bit")
    
    prompt = "Once upon a time in"
    text = generate(model, tokenizer, prompt=prompt, verbose=True)
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • LM Studio
  • MLX LM

    How to use guardiangate1775/gemma-4-31B-it-assistant-4bit with MLX LM:

    Generate or start a chat session
    # Install MLX LM
    uv tool install mlx-lm
    # Generate some text
    mlx_lm.generate --model "guardiangate1775/gemma-4-31B-it-assistant-4bit" --prompt "Once upon a time"
gemma-4-31B-it-assistant-4bit
296 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
guardiangate1775's picture
guardiangate1775
Upload folder using huggingface_hub
d261393 verified 2 days ago
  • .gitattributes
    1.57 kB
    Upload folder using huggingface_hub 2 days ago
  • README.md
    803 Bytes
    Upload folder using huggingface_hub 2 days ago
  • config.json
    2.96 kB
    Upload folder using huggingface_hub 2 days ago
  • generation_config.json
    307 Bytes
    Upload folder using huggingface_hub 2 days ago
  • model.safetensors
    264 MB
    xet
    Upload folder using huggingface_hub 2 days ago
  • model.safetensors.index.json
    6.53 kB
    Upload folder using huggingface_hub 2 days ago
  • tokenizer.json
    32.2 MB
    xet
    Upload folder using huggingface_hub 2 days ago
  • tokenizer_config.json
    1.47 kB
    Upload folder using huggingface_hub 2 days ago