Instructions to use pranil00/ONIX-starcoder2-15b-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 pranil00/ONIX-starcoder2-15b-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 pranil00/ONIX-starcoder2-15b-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf pranil00/ONIX-starcoder2-15b-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 pranil00/ONIX-starcoder2-15b-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf pranil00/ONIX-starcoder2-15b-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 pranil00/ONIX-starcoder2-15b-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf pranil00/ONIX-starcoder2-15b-GGUF:Q4_K_M
Use Docker
docker model run hf.co/pranil00/ONIX-starcoder2-15b-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use pranil00/ONIX-starcoder2-15b-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "pranil00/ONIX-starcoder2-15b-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "pranil00/ONIX-starcoder2-15b-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/pranil00/ONIX-starcoder2-15b-GGUF:Q4_K_M
- Ollama
How to use pranil00/ONIX-starcoder2-15b-GGUF with Ollama:
ollama run hf.co/pranil00/ONIX-starcoder2-15b-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use pranil00/ONIX-starcoder2-15b-GGUF with Docker Model Runner:
docker model run hf.co/pranil00/ONIX-starcoder2-15b-GGUF:Q4_K_M
- Lemonade
How to use pranil00/ONIX-starcoder2-15b-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull pranil00/ONIX-starcoder2-15b-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.ONIX-starcoder2-15b-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: bigcode/starcoder2-15b
|
| 3 |
+
library_name: gguf
|
| 4 |
+
license: apache-2.0
|
| 5 |
+
tags:
|
| 6 |
+
- onix
|
| 7 |
+
- gguf
|
| 8 |
+
- quantized
|
| 9 |
+
- q4_k_m
|
| 10 |
+
- text-generation
|
| 11 |
+
pipeline_tag: text-generation
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# starcoder2-15b - GGUF Quantized (Q4_K_M)
|
| 15 |
+
*Published by ONIX Community • Authentic working GGUF weights quantized on Apple Silicon Metal.*
|
| 16 |
+
|
| 17 |
+
## Model Details
|
| 18 |
+
- **Base Model:** [bigcode/starcoder2-15b](https://huggingface.co/bigcode/starcoder2-15b)
|
| 19 |
+
- **Quantization Format:** `Q4_K_M`
|
| 20 |
+
- **Working GGUF Weight Size:** `9.18 GB`
|
| 21 |
+
- **Verification Status:** Verified authentic tensor conversion via `llama.cpp`
|
| 22 |
+
|
| 23 |
+
## Usage with Ollama
|
| 24 |
+
```bash
|
| 25 |
+
ollama run pranil00/ONIX-starcoder2-15b-GGUF
|
| 26 |
+
```
|
| 27 |
+
|
| 28 |
+
## Usage with llama.cpp
|
| 29 |
+
```bash
|
| 30 |
+
llama-cli -m starcoder2-15b-Q4_K_M.gguf -p "Hello" -n 128
|
| 31 |
+
```
|