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

majentik
/
gpt-oss-120b-RotorQuant-MLX-2bit

Text Generation
MLX
rotorquant
kv-cache-quantization
gpt-oss
openai
Mixture of Experts
quantized
2bit
Model card Files Files and versions
xet
Community

Instructions to use majentik/gpt-oss-120b-RotorQuant-MLX-2bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use majentik/gpt-oss-120b-RotorQuant-MLX-2bit 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("majentik/gpt-oss-120b-RotorQuant-MLX-2bit")
    
    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 majentik/gpt-oss-120b-RotorQuant-MLX-2bit with MLX LM:

    Generate or start a chat session
    # Install MLX LM
    uv tool install mlx-lm
    # Generate some text
    mlx_lm.generate --model "majentik/gpt-oss-120b-RotorQuant-MLX-2bit" --prompt "Once upon a time"
gpt-oss-120b-RotorQuant-MLX-2bit
30.8 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
majentik's picture
majentik
docs: Tier 2 polish — variant matrix + quant trade-off
30e58e6 verified 25 days ago
  • .gitattributes
    1.52 kB
    initial commit about 2 months ago
  • README.md
    6.41 kB
    docs: Tier 2 polish — variant matrix + quant trade-off 25 days ago
  • model-00001-of-00012.safetensors
    5.3 GB
    xet
    Add MLX quantized model about 2 months ago
  • model-00002-of-00012.safetensors
    5.11 GB
    xet
    Add MLX quantized model about 2 months ago
  • model-00003-of-00012.safetensors
    5.11 GB
    xet
    Add MLX quantized model about 2 months ago
  • model-00004-of-00012.safetensors
    5.11 GB
    xet
    Add MLX quantized model about 2 months ago
  • model-00005-of-00012.safetensors
    5.11 GB
    xet
    Add MLX quantized model about 2 months ago
  • model-00006-of-00012.safetensors
    5.11 GB
    xet
    Add MLX quantized model about 2 months ago