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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

dusterbloom
/
Bonsai-27B-dSpark-MLX-4bit

Text Generation
MLX
Safetensors
dspark
4-bit precision
speculative-decoding
dflash
bonsai
qwen3_5
metal
Model card Files Files and versions
xet
Community
1

Instructions to use dusterbloom/Bonsai-27B-dSpark-MLX-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use dusterbloom/Bonsai-27B-dSpark-MLX-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("dusterbloom/Bonsai-27B-dSpark-MLX-4bit")
    
    prompt = "Once upon a time in"
    text = generate(model, tokenizer, prompt=prompt, verbose=True)
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • LM Studio
  • MLX LM

    How to use dusterbloom/Bonsai-27B-dSpark-MLX-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 "dusterbloom/Bonsai-27B-dSpark-MLX-4bit" --prompt "Once upon a time"
Bonsai-27B-dSpark-MLX-4bit
814 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Peppi
Release Bonsai 27B dSpark MLX 4-bit sidecar
96dc5b9 verified 23 days ago
  • .gitattributes
    1.52 kB
    initial commit 23 days ago
  • LICENSE.txt
    10.2 kB
    Release Bonsai 27B dSpark MLX 4-bit sidecar 23 days ago
  • NOTICE.txt
    411 Bytes
    Release Bonsai 27B dSpark MLX 4-bit sidecar 23 days ago
  • README.md
    3.96 kB
    Release Bonsai 27B dSpark MLX 4-bit sidecar 23 days ago
  • config.json
    671 Bytes
    Release Bonsai 27B dSpark MLX 4-bit sidecar 23 days ago
  • model.safetensors
    814 MB
    xet
    Release Bonsai 27B dSpark MLX 4-bit sidecar 23 days ago