Run this model with HF Jobs
Run Xylolabs/Ling-3.0-tiny-MLX-8bit 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/Xylolabs/Ling-3.0-tiny-MLX-8bit. 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/Xylolabs/Ling-3.0-tiny-MLX-8bit 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/Xylolabs/Ling-3.0-tiny-MLX-8bit. 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.
Instructions to use Xylolabs/Ling-3.0-tiny-MLX-8bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use Xylolabs/Ling-3.0-tiny-MLX-8bit with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("Xylolabs/Ling-3.0-tiny-MLX-8bit") prompt = "Write a story about Einstein" messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, add_generation_prompt=True ) text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use Xylolabs/Ling-3.0-tiny-MLX-8bit with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "Xylolabs/Ling-3.0-tiny-MLX-8bit"
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": "Xylolabs/Ling-3.0-tiny-MLX-8bit" } ] } } }Run Pi
# Start Pi in your project directory: pi
- MLX LM
How to use Xylolabs/Ling-3.0-tiny-MLX-8bit with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "Xylolabs/Ling-3.0-tiny-MLX-8bit"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "Xylolabs/Ling-3.0-tiny-MLX-8bit" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8080/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Xylolabs/Ling-3.0-tiny-MLX-8bit", "messages": [ {"role": "user", "content": "Hello"} ] }' - Hermes Agent
How to use Xylolabs/Ling-3.0-tiny-MLX-8bit with Hermes Agent:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "Xylolabs/Ling-3.0-tiny-MLX-8bit"
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default Xylolabs/Ling-3.0-tiny-MLX-8bit
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Xylolabs/Ling-3.0-tiny-MLX-8bit with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "Xylolabs/Ling-3.0-tiny-MLX-8bit"
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "Xylolabs/Ling-3.0-tiny-MLX-8bit" \ --custom-provider-id mlx-lm \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Update model files
Browse filesFiles changed (3)
- BENCHMARKS.md+1-1
- MANIFEST+2-2
- README.md+1
6 unmodified lines789106 unmodified lines| Provider | Quant | File | Size (GB) | WikiText-2 KL | WikiText-2 top-1 (%) | Held-out KL | Held-out top-1 (%) | Answer check || --- | --- | --- | --- | --- | --- | --- | --- | --- || Xylolabs | **Xylolabs MLX 8-bit** | `model-00001-of-00002.safetensors`, `model-00002-of-00002.safetensors` | 8.87 | 0.009447775473186058 | 95.81372549019608 | 0.006068546444970118 | 96.27450980392157 | || Xylolabs | `MLX 4-bit (OBS)` | | 5.52 | 0.054502153297204536 | 90.10294117647058 | 0.03241066093708008 | 91.90196078431373 | |6 unmodified lines789106 unmodified lines| Provider | Quant | File | Size (GB) | WikiText-2 KL | WikiText-2 top-1 (%) | Held-out KL | Held-out top-1 (%) | Answer check || --- | --- | --- | --- | --- | --- | --- | --- | --- || Xylolabs | **Xylolabs MLX 8-bit** | `model-00001-of-00002.safetensors`, `model-00002-of-00002.safetensors` | 8.87 | 0.009447775473186058 | 95.81372549019608 | 0.006068546444970118 | 96.27450980392157 | || Xylolabs | **Xylolabs MLX 4-bit (OBS)** | [Xylolabs/Ling-3.0-tiny-MLX-4bit](https://huggingface.co/Xylolabs/Ling-3.0-tiny-MLX-4bit) | 5.52 | 0.054502153297204536 | 90.10294117647058 | 0.03241066093708008 | 91.90196078431373 | |
12345fc46e7f423d7fb48ca847f5745ff12bcf5c099c2aa313069e389a3f4c917ec24 BENCHMARKS.mdebe95d2ba84a4fcabee7db10f99cc7f2890de312c0e28653b86fb3635d54ead9 README.md7dbb699564f7a14e4ed603b4b466e3bcdea51bb5f91a0cbcef3fa370d656608d accuracy-by-size.csv8d2624e02f279d0728f5e4093d3aef9ac1666f14dec1b49d15b8372da98c6aaf accuracy-mean-kl-dark.png049b95966a1712b201e83ecc41a3e038e6645fdf5dab1b1b561825dd4cf92417 accuracy-top1-dark.png123456bf4ed64196ebdc98e39f72f993e777da2a045601d60377bb018182c29b67186 BENCHMARKS.mdb9f24278cb4fd11e9dfb10261bacf8d5816f5852cbfe94f9857246a3c1fbcd67 README.md7dbb699564f7a14e4ed603b4b466e3bcdea51bb5f91a0cbcef3fa370d656608d accuracy-by-size.csv8d2624e02f279d0728f5e4093d3aef9ac1666f14dec1b49d15b8372da98c6aaf accuracy-mean-kl-dark.png049b95966a1712b201e83ecc41a3e038e6645fdf5dab1b1b561825dd4cf92417 accuracy-top1-dark.png
33 unmodified lines34353637383933 unmodified lines| Quant | Size | WikiText-2 KL | WikiText-2 top-1 | Held-out KL | Held-out top-1 ||---|---:|---:|---:|---:|---:|| **Xylolabs MLX 8-bit** (8-bit affine g=64, BF16 norms/scales/biases) | 8.87 GB | 0.009448 | 95.81% | 0.006069 | 96.27% |All files and rivals: [BENCHMARKS.md](./BENCHMARKS.md)33 unmodified lines3435363738394033 unmodified lines| Quant | Size | WikiText-2 KL | WikiText-2 top-1 | Held-out KL | Held-out top-1 ||---|---:|---:|---:|---:|---:|| **Xylolabs MLX 8-bit** (8-bit affine g=64, BF16 norms/scales/biases) | 8.87 GB | 0.009448 | 95.81% | 0.006069 | 96.27% || [**Xylolabs MLX 4-bit (OBS)**](https://huggingface.co/Xylolabs/Ling-3.0-tiny-MLX-4bit) | 5.52 GB | 0.054502153297204536 | 90.10294117647058% | 0.03241066093708008 | 91.90196078431373% |All files and rivals: [BENCHMARKS.md](./BENCHMARKS.md)
BENCHMARKS.md+1-1
MANIFEST+2-2
README.md+1