Run this model with HF Jobs

Run masahiroid/UserRepGen-4B-4bit-mlx on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/masahiroid/UserRepGen-4B-4bit-mlx. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/masahiroid/UserRepGen-4B-4bit-mlx on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/masahiroid/UserRepGen-4B-4bit-mlx. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
How to use from
Pi
Start the MLX server
# Install MLX LM:
uv tool install mlx-lm
# Start a local OpenAI-compatible server:
mlx_lm.server --model "masahiroid/UserRepGen-4B-4bit-mlx"
Configure the model in Pi
# Install Pi:
npm install -g @earendil-works/pi-coding-agent
# Add to ~/.pi/agent/models.json:
{
  "providers": {
    "mlx-lm": {
      "baseUrl": "http://localhost:8080/v1",
      "api": "openai-completions",
      "apiKey": "none",
      "models": [
        {
          "id": "masahiroid/UserRepGen-4B-4bit-mlx"
        }
      ]
    }
  }
}
Run Pi
# Start Pi in your project directory:
pi
Quick Links

UserRepGen-4B-4bit-mlx

ๆ—ฅๆœฌ่ชž็‰ˆใฏใ“ใกใ‚‰ (README.ja.md)

An unofficial 4-bit MLX conversion of microsoft/UserRepGen-4B for Apple Silicon Macs (sized for 16GB unified memory). All credit goes to the original authors.

  • Parameters: 4.54B / License: mit (same as the base model)

Usage

pip install -U mlx-lm
mlx_lm.generate --model masahiroid/UserRepGen-4B-4bit-mlx --prompt "ๆ—ฅๆœฌใฎ้ฆ–้ƒฝใฏใฉใ“ใงใ™ใ‹๏ผŸ" --max-tokens 256
from mlx_lm import load, generate

model, tokenizer = load("masahiroid/UserRepGen-4B-4bit-mlx")
messages = [{"role": "user", "content": "ๆ—ฅๆœฌใฎ้ฆ–้ƒฝใฏใฉใ“ใงใ™ใ‹๏ผŸ"}]
prompt = tokenizer.apply_chat_template(messages, add_generation_prompt=True)
print(generate(model, tokenizer, prompt=prompt, max_tokens=256))

Security

Audited with model-audit-lite before publication:

  • File checks (pickle-format weights, bundled custom code, SHA256)
  • Chat template identical before and after conversion
  • Japanese safety probes (on the converted model)

See SECURITY.md and audit/report.md for the results.

Downloads last month
40
Safetensors
Model size
4B params
Tensor type
U32
ยท
BF16
ยท
MLX
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for masahiroid/UserRepGen-4B-4bit-mlx

Finetuned
Qwen/Qwen3.5-4B
Quantized
(6)
this model