Instructions to use whcl412/LycheeAI-coder-1b-II with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use whcl412/LycheeAI-coder-1b-II with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download whcl412/LycheeAI-coder-1b-II --local-dir LycheeAI-coder-1b-II
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use whcl412/LycheeAI-coder-1b-II with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "whcl412/LycheeAI-coder-1b-II"
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": "whcl412/LycheeAI-coder-1b-II" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent
How to use whcl412/LycheeAI-coder-1b-II 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 "whcl412/LycheeAI-coder-1b-II"
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 whcl412/LycheeAI-coder-1b-II
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use whcl412/LycheeAI-coder-1b-II with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "whcl412/LycheeAI-coder-1b-II"
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 "whcl412/LycheeAI-coder-1b-II" \ --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"
Download .ms_upload_cache from whcl412/LycheeAI-coder-1b-II: direct link, hf CLI and curl.
- Browser
- Download file 1.3 kB
-
https://huggingface.co/whcl412/LycheeAI-coder-1b-II/resolve/main/.ms_upload_cache
- Command line
-
hf download hf://whcl412/LycheeAI-coder-1b-II/.ms_upload_cache
-
curl -L -o .ms_upload_cache https://huggingface.co/whcl412/LycheeAI-coder-1b-II/resolve/main/.ms_upload_cache
1.3 kB
| {"version": 3, "repo_id": "whcl412/LycheeAI-coder-1b-II", "files": {"README.md|1788178537.5780017|81": {"hash": "748c964f9b7e5f2c3770ce013bbc0153be7c54311d9692c343b6188eefe77ac6", "size": 81, "status": "c"}, "generation_config.json|1788178537.5656776|201": {"hash": "3fd3b57f068f133267d97a1e06d7209aaeab546010e7ec71bace0d3fabd1f755", "size": 201, "status": "c"}, "chat_template.jinja|1788178537.5121145|9062": {"hash": "7451a05cf1e28a79d97d7c0bc951028c0b1915119bf9046acd06a0e3d931f47c", "size": 9062, "status": "c"}, "config.json|1788178537.5064707|886": {"hash": "86547ed7810ca3d3158e990c10513f92fa387cf3ad77dbb6d41b7da2d2eec34e", "size": 886, "status": "c"}, "tokenizer_config.json|1788178537.5130222|417": {"hash": "3f18b805749e5e506321c6d231f0e760c44cc030c80b4b0544e41cb3ecb16846", "size": 417, "status": "c"}, "model.safetensors.index.json|1788178537.5060062|39380": {"hash": "b9f00d16700ba0dd01bbd72d270080757355ddf41fbe678620a93dc39d5c8639", "size": 39380, "status": "c"}, "tokenizer.json|1788178537.5622895|9894271": {"hash": "3e065a558a034185fe299917b398685c1facd0169a9eea1e629eb30c171fed81", "size": 9894271, "status": "c"}, "model.safetensors|1788178537.4852788|608026621": {"hash": "203357ce5db1b47d520f05448c3adbfcfb31f483bb2382fd87203ab63c2f1456", "size": 608026621, "status": "c"}}} |