Text Generation
MLX
Safetensors
bailing_hybrid
Mixture of Experts
mixture-of-experts
hybrid-attention
mla
lightning-attention
mxfp4
osaurus
bailing
ling
apple-silicon
conversational
custom_code
Instructions to use OsaurusAI/Ling-2.6-flash-MXFP4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use OsaurusAI/Ling-2.6-flash-MXFP4 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("OsaurusAI/Ling-2.6-flash-MXFP4") 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 OsaurusAI/Ling-2.6-flash-MXFP4 with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "OsaurusAI/Ling-2.6-flash-MXFP4"
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": "OsaurusAI/Ling-2.6-flash-MXFP4" } ] } } }Run Pi
# Start Pi in your project directory: pi
- MLX LM
How to use OsaurusAI/Ling-2.6-flash-MXFP4 with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "OsaurusAI/Ling-2.6-flash-MXFP4"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "OsaurusAI/Ling-2.6-flash-MXFP4" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "OsaurusAI/Ling-2.6-flash-MXFP4", "messages": [ {"role": "user", "content": "Hello"} ] }' - Hermes Agent
How to use OsaurusAI/Ling-2.6-flash-MXFP4 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 "OsaurusAI/Ling-2.6-flash-MXFP4"
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 OsaurusAI/Ling-2.6-flash-MXFP4
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use OsaurusAI/Ling-2.6-flash-MXFP4 with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "OsaurusAI/Ling-2.6-flash-MXFP4"
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 "OsaurusAI/Ling-2.6-flash-MXFP4" \ --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"
Commit History
-
Upload model-00001-of-00051.safetensors with huggingface_hub
Verified signatureaf3facd -
Upload model-00019-of-00051.safetensors with huggingface_hub
Verified signaturef451d04 -
Upload model-00024-of-00051.safetensors with huggingface_hub
Verified signaturefc32bac -
Upload model-00021-of-00051.safetensors with huggingface_hub
Verified signature4bf70be -
Upload model-00004-of-00051.safetensors with huggingface_hub
Verified signature0ee703c -
Upload model-00016-of-00051.safetensors with huggingface_hub
Verified signatureb67dec6 -
Upload model-00013-of-00051.safetensors with huggingface_hub
Verified signature5453a43 -
Upload model-00039-of-00051.safetensors with huggingface_hub
Verified signature13effa2 -
Upload model-00040-of-00051.safetensors with huggingface_hub
Verified signatured0b741e -
Upload model-00045-of-00051.safetensors with huggingface_hub
Verified signaturea106a76 -
Upload model-00033-of-00051.safetensors with huggingface_hub
Verified signature8c411a8 -
Upload model-00017-of-00051.safetensors with huggingface_hub
Verified signature100b7ee -
Upload model-00036-of-00051.safetensors with huggingface_hub
Verified signature929aca4 -
Upload model-00032-of-00051.safetensors with huggingface_hub
Verified signaturea6ddc67 -
Upload model-00025-of-00051.safetensors with huggingface_hub
Verified signaturec01ae82 -
Upload model-00018-of-00051.safetensors with huggingface_hub
Verified signature65e9fac -
Upload model-00020-of-00051.safetensors with huggingface_hub
Verified signatureaa89e76 -
Upload model-00037-of-00051.safetensors with huggingface_hub
Verified signature33d7234 -
Upload model-00038-of-00051.safetensors with huggingface_hub
Verified signature771bc11 -
Upload model-00044-of-00051.safetensors with huggingface_hub
Verified signature072daa4 -
Upload model-00041-of-00051.safetensors with huggingface_hub
Verified signatureb66b362 -
Upload model-00050-of-00051.safetensors with huggingface_hub
Verified signature555489c -
Upload model-00034-of-00051.safetensors with huggingface_hub
Verified signature1dcee36 -
Upload model-00047-of-00051.safetensors with huggingface_hub
Verified signature33166c3 -
Upload model-00042-of-00051.safetensors with huggingface_hub
Verified signaturee65a208 -
Upload model-00048-of-00051.safetensors with huggingface_hub
Verified signature60cf39e -
Upload model-00031-of-00051.safetensors with huggingface_hub
Verified signature8066f2f -
Upload model-00023-of-00051.safetensors with huggingface_hub
Verified signature33df438 -
Upload model-00026-of-00051.safetensors with huggingface_hub
Verified signaturea68f996 -
Upload model-00029-of-00051.safetensors with huggingface_hub
Verified signatureb17eedb -
Upload model-00035-of-00051.safetensors with huggingface_hub
Verified signature5c0951d -
Upload model-00049-of-00051.safetensors with huggingface_hub
Verified signature878265d -
Upload model-00030-of-00051.safetensors with huggingface_hub
Verified signature577a023 -
Upload model-00046-of-00051.safetensors with huggingface_hub
Verified signatureb7d2831 -
Upload model-00007-of-00051.safetensors with huggingface_hub
Verified signature3e07ebe -
Upload model-00043-of-00051.safetensors with huggingface_hub
Verified signature79d6d79 -
Upload model-00028-of-00051.safetensors with huggingface_hub
Verified signature76b3c4b -
Upload model-00022-of-00051.safetensors with huggingface_hub
Verified signature4c37e6f -
Upload model-00010-of-00051.safetensors with huggingface_hub
Verified signature994e24c -
Upload model-00027-of-00051.safetensors with huggingface_hub
Verified signature34c0699 -
Upload model-00005-of-00051.safetensors with huggingface_hub
Verified signaturedb85c6e -
Upload model-00012-of-00051.safetensors with huggingface_hub
Verified signaturea165349 -
Upload model-00003-of-00051.safetensors with huggingface_hub
Verified signature74b254f -
Upload model-00002-of-00051.safetensors with huggingface_hub
Verified signature1a303c6 -
Upload model-00006-of-00051.safetensors with huggingface_hub
Verified signaturecd50443 -
Upload model-00009-of-00051.safetensors with huggingface_hub
Verified signatured3856ea -
Upload model-00011-of-00051.safetensors with huggingface_hub
Verified signature30b6241 -
Upload model-00014-of-00051.safetensors with huggingface_hub
Verified signature99ed286 -
Upload model-00008-of-00051.safetensors with huggingface_hub
Verified signature508012b -
Upload model-00015-of-00051.safetensors with huggingface_hub
Verified signaturec0c74ab