Text Generation
GGUF
mistral
quantized
2-bit
3-bit
4-bit precision
5-bit
6-bit
8-bit precision
GGUF
conversational
Instructions to use MaziyarPanahi/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 MaziyarPanahi/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 MaziyarPanahi/Yi-Coder-1.5B-Chat-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf MaziyarPanahi/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 MaziyarPanahi/Yi-Coder-1.5B-Chat-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf MaziyarPanahi/Yi-Coder-1.5B-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 MaziyarPanahi/Yi-Coder-1.5B-Chat-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf MaziyarPanahi/Yi-Coder-1.5B-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 MaziyarPanahi/Yi-Coder-1.5B-Chat-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf MaziyarPanahi/Yi-Coder-1.5B-Chat-GGUF:Q4_K_M
Use Docker
docker model run hf.co/MaziyarPanahi/Yi-Coder-1.5B-Chat-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use MaziyarPanahi/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 "MaziyarPanahi/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": "MaziyarPanahi/Yi-Coder-1.5B-Chat-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/MaziyarPanahi/Yi-Coder-1.5B-Chat-GGUF:Q4_K_M
- Ollama
How to use MaziyarPanahi/Yi-Coder-1.5B-Chat-GGUF with Ollama:
ollama run hf.co/MaziyarPanahi/Yi-Coder-1.5B-Chat-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use MaziyarPanahi/Yi-Coder-1.5B-Chat-GGUF with Docker Model Runner:
docker model run hf.co/MaziyarPanahi/Yi-Coder-1.5B-Chat-GGUF:Q4_K_M
- Lemonade
How to use MaziyarPanahi/Yi-Coder-1.5B-Chat-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull MaziyarPanahi/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
c8892290a5f8fae649a63ba8e47d05a413ade17a59cdfc13e187db802ae0b63b
Browse files- .gitattributes +2 -0
- Yi-Coder-1.5B-Chat.IQ3_XS.gguf +3 -0
- Yi-Coder-1.5B-Chat.IQ4_XS.gguf +3 -0
.gitattributes
CHANGED
|
@@ -37,3 +37,5 @@ Yi-Coder-1.5B-Chat-GGUF_imatrix.dat filter=lfs diff=lfs merge=lfs -text
|
|
| 37 |
Yi-Coder-1.5B-Chat.IQ1_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
Yi-Coder-1.5B-Chat.IQ1_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
Yi-Coder-1.5B-Chat.IQ2_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 37 |
Yi-Coder-1.5B-Chat.IQ1_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
Yi-Coder-1.5B-Chat.IQ1_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
Yi-Coder-1.5B-Chat.IQ2_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
Yi-Coder-1.5B-Chat.IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
Yi-Coder-1.5B-Chat.IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
Yi-Coder-1.5B-Chat.IQ3_XS.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e8c28ff353b90aa1fa89d99ae22b7a1a5d43d4f4b521e8a74b1c0b93fcb28c59
|
| 3 |
+
size 694952128
|
Yi-Coder-1.5B-Chat.IQ4_XS.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0a0403538de89c7e8cfd9a33602ccb2ad7dca81891e823a5994dcfb4cddd0c04
|
| 3 |
+
size 832569536
|