Run this model with HF Jobs
Run srisree/nano_coder 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/srisree/nano_coder. 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/srisree/nano_coder 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.
Instructions to use srisree/nano_coder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use srisree/nano_coder with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("srisree/nano_coder", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use srisree/nano_coder with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf srisree/nano_coder:Q8_0 # Run inference directly in the terminal: llama cli -hf srisree/nano_coder:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf srisree/nano_coder:Q8_0 # Run inference directly in the terminal: llama cli -hf srisree/nano_coder:Q8_0
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf srisree/nano_coder:Q8_0 # Run inference directly in the terminal: ./build/bin/llama cli -hf srisree/nano_coder:Q8_0
Use Docker
docker model run hf.co/srisree/nano_coder:Q8_0
- Llama new
- LM Studio
- Jan
- Ollama
How to use srisree/nano_coder with Ollama:
ollama run hf.co/srisree/nano_coder:Q8_0
- Unsloth Desktop
- Pi
How to use srisree/nano_coder with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf srisree/nano_coder:Q8_0
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "srisree/nano_coder:Q8_0" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use srisree/nano_coder with Docker Model Runner:
docker model run hf.co/srisree/nano_coder:Q8_0
- Lemonade
How to use srisree/nano_coder with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull srisree/nano_coder:Q8_0
Run and chat with the model
lemonade run user.nano_coder-Q8_0
List all available models
lemonade list
- Hermes Agent
How to use srisree/nano_coder with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf srisree/nano_coder:Q8_0
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:9931/v1 hermes config set model.default srisree/nano_coder:Q8_0
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use srisree/nano_coder with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf srisree/nano_coder:Q8_0
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:9931/v1 \ --custom-model-id "srisree/nano_coder:Q8_0" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Upload model trained with Unsloth
Browse filesUpload model trained with Unsloth 2x faster
Files changed (2)
- adapter_config.jsonAdded+46
- adapter_model.safetensorsAdded+3
12345678910111213141516171819202122232425262728293031323334353637383940414243444546{ "alpha_pattern": {}, "auto_mapping": { "base_model_class": "Qwen3ForCausalLM", "parent_library": "transformers.models.qwen3.modeling_qwen3", "unsloth_fixed": true }, "base_model_name_or_path": "unsloth/Qwen3-0.6B-unsloth-bnb-4bit", "bias": "none", "corda_config": null, "eva_config": null, "exclude_modules": null, "fan_in_fan_out": false, "inference_mode": true, "init_lora_weights": true, "layer_replication": null, "layers_pattern": null, "layers_to_transform": null, "loftq_config": {}, "lora_alpha": 16, "lora_bias": false, "lora_dropout": 0, "megatron_config": null, "megatron_core": "megatron.core", "modules_to_save": null, "peft_type": "LORA", "qalora_group_size": 16, "r": 16, "rank_pattern": {}, "revision": null, "target_modules": [ "up_proj", "down_proj", "q_proj", "o_proj", "v_proj", "gate_proj", "k_proj" ], "target_parameters": null, "task_type": "CAUSAL_LM", "trainable_token_indices": null, "use_dora": false, "use_qalora": false, "use_rslora": false}123version https://git-lfs.github.com/spec/v1oid sha256:be9f6bc8e53e71783b95c4f55466457f07eba079bb9b0865426981de3351f5f4size 40422168adapter_config.jsonAdded+46
adapter_model.safetensorsAdded+3