Run this model with HF Jobs
Run Xylolabs/Ling-3.0-tiny-MLX-4bit 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-4bit. 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-4bit 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-4bit. 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-4bit 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-4bit 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-4bit") 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-4bit 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-4bit"
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-4bit" } ] } } }Run Pi
# Start Pi in your project directory: pi
- MLX LM
How to use Xylolabs/Ling-3.0-tiny-MLX-4bit 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-4bit"
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-4bit" # 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-4bit", "messages": [ {"role": "user", "content": "Hello"} ] }' - Hermes Agent
How to use Xylolabs/Ling-3.0-tiny-MLX-4bit 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-4bit"
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-4bit
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Xylolabs/Ling-3.0-tiny-MLX-4bit 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-4bit"
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-4bit" \ --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"
File size: 1,250 Bytes
feb95b9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | a8b93b93438143e306a6a07572238264c292e6ef259e6c6262e626b033c303dd README.md
7dbb699564f7a14e4ed603b4b466e3bcdea51bb5f91a0cbcef3fa370d656608d accuracy-by-size.csv
4892f63c54d28ee248ada7bc3be7839e337efa1e98973e070964edc07227822c accuracy-mean-kl-dark.png
95d866524ac89fda2dcff7d6b5a558ca91af5946be4e163f69e1af77a9c5d79c accuracy-top1-dark.png
eb6226c94ae38058f875d159f86a206b3a165828c0e7d6bda664ae14667f798a chat_template.jinja
d49a9e4ca6f9dc56c3b5f892d3aa637714a0338e1f5ab6230d08c310085a079a config.json
f2c048966aec8a2f042cfeb1351f74d51a28589b409c55baae7d24e841c1f6c4 configuration_bailing_moe_v3.py
64752c5973a55faf4cfc02604c7587c38b090f00013f91191f52362dcc79a4a8 generation_config.json
82ce2acd5385b60ade906386eff01d432943f0f7415777d37cf5ea54ba2ced94 model-00001-of-00002.safetensors
2b40d3c192f51f9871a0e74ec4581528f0e014cb04d482649588e5bd609c22a9 model-00002-of-00002.safetensors
fde18979a60fcef3a00db826e8ba9a7c9a47e3b09dd69d5121c100644b426515 model.safetensors.index.json
c2509bf7ac580c262e2581d34d6403aa21682d2e10beb9ad85ad8820a7e33a40 modeling_bailing_moe_v3.py
40fb9d7d7795b8bd305aeff39ce9963f3f450915b9553f2938e009be9a1fed60 tokenizer.json
1bf034af42629041fbfef08b07d9bbdecf41b21e17e2b1b24d30b6730a7c26e7 tokenizer_config.json
|