Text Generation
GGUF
English
quantized
llama.cpp
scorecard
governance
validated
local-llm
on-device
agentic
tool-calling
function-calling
agents
ai-agents
rag
q4_k_m
q8_0
conversational
Instructions to use smarttasks/Yi-Coder-9B-Chat-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use smarttasks/Yi-Coder-9B-Chat-GGUF 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 smarttasks/Yi-Coder-9B-Chat-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf smarttasks/Yi-Coder-9B-Chat-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf smarttasks/Yi-Coder-9B-Chat-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf smarttasks/Yi-Coder-9B-Chat-GGUF:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf smarttasks/Yi-Coder-9B-Chat-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf smarttasks/Yi-Coder-9B-Chat-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf smarttasks/Yi-Coder-9B-Chat-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf smarttasks/Yi-Coder-9B-Chat-GGUF:Q4_K_M
Use Docker
docker model run hf.co/smarttasks/Yi-Coder-9B-Chat-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use smarttasks/Yi-Coder-9B-Chat-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "smarttasks/Yi-Coder-9B-Chat-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "smarttasks/Yi-Coder-9B-Chat-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/smarttasks/Yi-Coder-9B-Chat-GGUF:Q4_K_M
- Ollama
How to use smarttasks/Yi-Coder-9B-Chat-GGUF with Ollama:
ollama run hf.co/smarttasks/Yi-Coder-9B-Chat-GGUF:Q4_K_M
- Unsloth Studio
How to use smarttasks/Yi-Coder-9B-Chat-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for smarttasks/Yi-Coder-9B-Chat-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for smarttasks/Yi-Coder-9B-Chat-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for smarttasks/Yi-Coder-9B-Chat-GGUF to start chatting
- Atomic Chat new
- Docker Model Runner
How to use smarttasks/Yi-Coder-9B-Chat-GGUF with Docker Model Runner:
docker model run hf.co/smarttasks/Yi-Coder-9B-Chat-GGUF:Q4_K_M
- Lemonade
How to use smarttasks/Yi-Coder-9B-Chat-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull smarttasks/Yi-Coder-9B-Chat-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Yi-Coder-9B-Chat-GGUF-Q4_K_M
List all available models
lemonade list
| { | |
| "schema": "smarttasks.repo_manifest/v1", | |
| "generated_utc": "2026-07-18T12:32:12+00:00", | |
| "root": "Yi-Coder-9B-Chat-GGUF", | |
| "file_count": 13, | |
| "risk_finding_count": 0, | |
| "classes_present": [ | |
| "binary", | |
| "contextual", | |
| "ingestible", | |
| "model" | |
| ], | |
| "agent_prefilter_hint": { | |
| "load": [ | |
| "contextual", | |
| "ingestible" | |
| ], | |
| "runtime_only": [ | |
| "model" | |
| ], | |
| "never_auto_execute": [ | |
| "executable" | |
| ], | |
| "quarantine": [ | |
| "sensitive" | |
| ] | |
| }, | |
| "files": [ | |
| { | |
| "path": ".gitattributes", | |
| "bytes": 43, | |
| "content_class": "binary", | |
| "ingest_policy": "skip", | |
| "sha256": "4cf00e98dded8779b234ba8d2356ce03ef5360f69632bd81f0f10c4c944b89d9", | |
| "risk_findings": [] | |
| }, | |
| { | |
| "path": "README.md", | |
| "bytes": 12136, | |
| "content_class": "contextual", | |
| "ingest_policy": "load_as_context", | |
| "sha256": "f8fe87c09cb940d090e4ebb5390ae1c841645412d522ab258d7c79ef16137c9f", | |
| "risk_findings": [] | |
| }, | |
| { | |
| "path": "SECURITY.md", | |
| "bytes": 2016, | |
| "content_class": "contextual", | |
| "ingest_policy": "load_as_context", | |
| "sha256": "bf7b90350e762ae88c50bf6e7e460eda53e34a00d149dacfffb41de5a6e551ee", | |
| "risk_findings": [] | |
| }, | |
| { | |
| "path": "SHA256SUMS", | |
| "bytes": 376, | |
| "content_class": "binary", | |
| "ingest_policy": "skip", | |
| "sha256": "003b046d2515f8f352a1e05bb8919d39d475be87a5676c0885f6a9e7d4cf4c2e", | |
| "risk_findings": [] | |
| }, | |
| { | |
| "path": "Yi-Coder-9B-Chat-Q4_K_M.gguf", | |
| "bytes": 5328958400, | |
| "content_class": "model", | |
| "ingest_policy": "runtime_only", | |
| "sha256": "df3a737d3a5c6b3e7690db7183ab528014fe131abbd4291610611e3a1c95c410", | |
| "risk_findings": [] | |
| }, | |
| { | |
| "path": "Yi-Coder-9B-Chat-Q4_K_M.transparency.json", | |
| "bytes": 29445, | |
| "content_class": "ingestible", | |
| "ingest_policy": "load_structured", | |
| "sha256": "6229791606f8b57aa0e95935c797c73fde39e8718c63bef7cb696f99725af9ec", | |
| "risk_findings": [] | |
| }, | |
| { | |
| "path": "Yi-Coder-9B-Chat-Q5_K_M.gguf", | |
| "bytes": 6258258880, | |
| "content_class": "model", | |
| "ingest_policy": "runtime_only", | |
| "sha256": "d4a8c4b0934b515f325eb7fbbf6180d705c3111f2c7a7b49ba940c9ddb451a2f", | |
| "risk_findings": [] | |
| }, | |
| { | |
| "path": "Yi-Coder-9B-Chat-Q6_K.gguf", | |
| "bytes": 7245640640, | |
| "content_class": "model", | |
| "ingest_policy": "runtime_only", | |
| "sha256": "b887d8f79dfcdbc2b67435927cd4aa6e33dfd0d874de95f5e5b212d5342984b5", | |
| "risk_findings": [] | |
| }, | |
| { | |
| "path": "Yi-Coder-9B-Chat-Q8_0.gguf", | |
| "bytes": 9383916480, | |
| "content_class": "model", | |
| "ingest_policy": "runtime_only", | |
| "sha256": "352368737e742c96cb07ea67f20522d1bbea8a9b5eaac7b1882e3dd5ee0bae4c", | |
| "risk_findings": [] | |
| }, | |
| { | |
| "path": "Yi-Coder-9B-Chat.security_digest.json", | |
| "bytes": 1621, | |
| "content_class": "ingestible", | |
| "ingest_policy": "load_structured", | |
| "sha256": "1d067c13b0bc22b9ed59d3d6017f2d16ec9154e6c855439caa3b00fb09aac341", | |
| "risk_findings": [] | |
| }, | |
| { | |
| "path": "Yi-Coder-9B-Chat.speed.json", | |
| "bytes": 3037, | |
| "content_class": "ingestible", | |
| "ingest_policy": "load_structured", | |
| "sha256": "cb6124a77381f43ae32c3f335817fc87d18e1497949d80d5bf7c538769fc466f", | |
| "risk_findings": [] | |
| }, | |
| { | |
| "path": "Yi-Coder-9B-Chat.speed.md", | |
| "bytes": 952, | |
| "content_class": "contextual", | |
| "ingest_policy": "load_as_context", | |
| "sha256": "b8e2eb69de427ecfc79bb8a86186251512b0fe8f239adf32d907f6e96c4ed073", | |
| "risk_findings": [] | |
| }, | |
| { | |
| "path": "scorecard.json", | |
| "bytes": 10516, | |
| "content_class": "ingestible", | |
| "ingest_policy": "load_structured", | |
| "sha256": "85df5f86a7d67281fb9c131bb0d521a6c7c854872dd27be9ab5f2c6be88017dd", | |
| "risk_findings": [] | |
| } | |
| ] | |
| } |