Instructions to use second-state/Yi-Coder-1.5B-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 second-state/Yi-Coder-1.5B-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 second-state/Yi-Coder-1.5B-Chat-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf second-state/Yi-Coder-1.5B-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 second-state/Yi-Coder-1.5B-Chat-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf second-state/Yi-Coder-1.5B-Chat-GGUF:Q4_K_M
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 second-state/Yi-Coder-1.5B-Chat-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf second-state/Yi-Coder-1.5B-Chat-GGUF:Q4_K_M
Use Docker
docker model run hf.co/second-state/Yi-Coder-1.5B-Chat-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use second-state/Yi-Coder-1.5B-Chat-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "second-state/Yi-Coder-1.5B-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": "second-state/Yi-Coder-1.5B-Chat-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/second-state/Yi-Coder-1.5B-Chat-GGUF:Q4_K_M
- Ollama
How to use second-state/Yi-Coder-1.5B-Chat-GGUF with Ollama:
ollama run hf.co/second-state/Yi-Coder-1.5B-Chat-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use second-state/Yi-Coder-1.5B-Chat-GGUF with Docker Model Runner:
docker model run hf.co/second-state/Yi-Coder-1.5B-Chat-GGUF:Q4_K_M
- Lemonade
How to use second-state/Yi-Coder-1.5B-Chat-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull second-state/Yi-Coder-1.5B-Chat-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Yi-Coder-1.5B-Chat-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Commit History
-
Update models
Verified signatured81c351 -
Update README.md
Verified signature6877fa2 -
Update README.md
Verified signature03fe989 -
Update models
Verified signature663c3f3 -
Upload Yi-Coder-1.5B-Chat-Q5_K_M.gguf with huggingface_hub
Verified signature5c21002
-
Update models
Verified signaturea1a524e
-
Update README.md
Verified signature18cc000 -
Delete main.log
Verified signature488eb65 -
Upload README.md with huggingface_hub
Verified signature6c23d84 -
Update models
Verified signature4541705 -
Upload README.md with huggingface_hub
Verified signature98aa528 -
Update models
Verified signatured520974 -
Upload config.json with huggingface_hub
Verified signatureddd7adf -
initial commit
Verified signature9af53b6