Downloads · 30 days
11
4% of all-time downloads
muonai/PULSE-2B
PULSE-2B is a text generation model from muonai. Use it when you need the model to write or continue text. It is set up for mlx. The card lists the license as other.
PULSE-2B is a fully standalone, merged, and 4-bit quantized version of Google's Gemma-2 2B Instruct.
Downloads · 30 days
11
4% of all-time downloads
All-time downloads
250
Public
Parameters
2.6B
1.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.5 GB · 97%
How the weights are stored.
U322.6B · 100%
From the Hugging Face model README
PULSE-2B is a fully standalone, merged, and 4-bit quantized version of Google's Gemma-2 2B Instruct.
It combines the base weights with a custom LoRA fine-tuning adapter into a single, high-performance weight set optimized for fast on-device inference using MLX on Apple Silicon (M1/M2/M3/M4).
group_size=64) via MLX (~1.54 GB VRAM).google/gemma-2-2b-it.Ensure you are running macOS on Apple Silicon:
pip install -U mlx-lm
Generate text instantly in your terminal:
mlx_lm.generate \
--model muonai/PULSE-2B \
--prompt "Instruction:\nExplain the concept of fine-tuning in 2 simple sentences.\n\nResponse:\n" \
--max-tokens 150
Start an interactive chat session:
mlx_lm.chat --model muonai/PULSE-2B
mlx_lm)from mlx_lm import load, generate
model_id = "muonai/PULSE-2B"
# Load standalone model and tokenizer
model, tokenizer = load(model_id)
prompt = "Instruction:\nGive 3 quick tips for daily productivity.\n\nResponse:\n"
response = generate(
model,
tokenizer,
prompt=prompt,
max_tokens=200,
verbose=True
)
print(response)
Tested on Apple Silicon locally using mlx_lm.generate:
| Metric | Measurement |
|---|---|
| Generation Speed | ~56.97 tokens/sec |
| Prompt Processing | ~49.83 tokens/sec |
| Peak Memory Usage | ~1.54 GB |
| Precision | ~4.50 bits/weight |
This model is a derivative work based on Google's Gemma 2 weights and is subject to the official Gemma Terms of Use.