Run this model with HF Jobs

Run mlx-community/SmolLM3-3B-5bit 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/mlx-community/SmolLM3-3B-5bit. 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/mlx-community/SmolLM3-3B-5bit 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/mlx-community/SmolLM3-3B-5bit. 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.

ValueError: Model type smollm3 not supported.

#1
by chaudhariatul - opened

This fails on MacBook Pro M4 chip

uv pip freeze |grep mlx
mlx==0.26.2
mlx-lm==0.25.3
Traceback (most recent call last):
  File "/Users/user/Projects/NewSkills/LLM/smol.py", line 3, in <module>
    model, tokenizer = load("mlx-community/SmolLM3-3B-5bit")
  File "/Users/user/Projects/NewSkills/LLM/.venv/lib/python3.10/site-packages/mlx_lm/utils.py", line 241, in load
    model, config = load_model(model_path, lazy)
  File "/Users/user/Projects/NewSkills/LLM/.venv/lib/python3.10/site-packages/mlx_lm/utils.py", line 176, in load_model
    model_class, model_args_class = get_model_classes(config=config)
  File "/Users/user/Projects/NewSkills/LLM/.venv/lib/python3.10/site-packages/mlx_lm/utils.py", line 71, in _get_classes
    raise ValueError(msg)
ValueError: Model type smollm3 not supported.
ModuleNotFoundError: No module named 'mlx_lm.models.smollm3'
MLX Community org

It's working with these new versions:

  • mlx==0.26.3
  • mlx-lm==0.26.0

Sign up or log in to comment