Instructions to use lmstudio-community/starcoder2-15b-instruct-v0.1-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lmstudio-community/starcoder2-15b-instruct-v0.1-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="lmstudio-community/starcoder2-15b-instruct-v0.1-GGUF") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("lmstudio-community/starcoder2-15b-instruct-v0.1-GGUF", device_map="auto") - llama-cpp-python
How to use lmstudio-community/starcoder2-15b-instruct-v0.1-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="lmstudio-community/starcoder2-15b-instruct-v0.1-GGUF", filename="starcoder2-15b-instruct-v0.1-IQ2_XS.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use lmstudio-community/starcoder2-15b-instruct-v0.1-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 lmstudio-community/starcoder2-15b-instruct-v0.1-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf lmstudio-community/starcoder2-15b-instruct-v0.1-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 lmstudio-community/starcoder2-15b-instruct-v0.1-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf lmstudio-community/starcoder2-15b-instruct-v0.1-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 lmstudio-community/starcoder2-15b-instruct-v0.1-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf lmstudio-community/starcoder2-15b-instruct-v0.1-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 lmstudio-community/starcoder2-15b-instruct-v0.1-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf lmstudio-community/starcoder2-15b-instruct-v0.1-GGUF:Q4_K_M
Use Docker
docker model run hf.co/lmstudio-community/starcoder2-15b-instruct-v0.1-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use lmstudio-community/starcoder2-15b-instruct-v0.1-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "lmstudio-community/starcoder2-15b-instruct-v0.1-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": "lmstudio-community/starcoder2-15b-instruct-v0.1-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/lmstudio-community/starcoder2-15b-instruct-v0.1-GGUF:Q4_K_M
- SGLang
How to use lmstudio-community/starcoder2-15b-instruct-v0.1-GGUF with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "lmstudio-community/starcoder2-15b-instruct-v0.1-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "lmstudio-community/starcoder2-15b-instruct-v0.1-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "lmstudio-community/starcoder2-15b-instruct-v0.1-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "lmstudio-community/starcoder2-15b-instruct-v0.1-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use lmstudio-community/starcoder2-15b-instruct-v0.1-GGUF with Ollama:
ollama run hf.co/lmstudio-community/starcoder2-15b-instruct-v0.1-GGUF:Q4_K_M
- Unsloth Studio
How to use lmstudio-community/starcoder2-15b-instruct-v0.1-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 lmstudio-community/starcoder2-15b-instruct-v0.1-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 lmstudio-community/starcoder2-15b-instruct-v0.1-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for lmstudio-community/starcoder2-15b-instruct-v0.1-GGUF to start chatting
- Atomic Chat new
- Docker Model Runner
How to use lmstudio-community/starcoder2-15b-instruct-v0.1-GGUF with Docker Model Runner:
docker model run hf.co/lmstudio-community/starcoder2-15b-instruct-v0.1-GGUF:Q4_K_M
- Lemonade
How to use lmstudio-community/starcoder2-15b-instruct-v0.1-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull lmstudio-community/starcoder2-15b-instruct-v0.1-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.starcoder2-15b-instruct-v0.1-GGUF-Q4_K_M
List all available models
lemonade list
Commit ·
7a82521
verified ·
0
Parent(s):
Duplicate from bartowski/starcoder2-15b-instruct-v0.1-GGUF
Browse files- .gitattributes +58 -0
- README.md +162 -0
- starcoder2-15b-instruct-v0.1-IQ1_M.gguf +3 -0
- starcoder2-15b-instruct-v0.1-IQ1_S.gguf +3 -0
- starcoder2-15b-instruct-v0.1-IQ2_M.gguf +3 -0
- starcoder2-15b-instruct-v0.1-IQ2_S.gguf +3 -0
- starcoder2-15b-instruct-v0.1-IQ2_XS.gguf +3 -0
- starcoder2-15b-instruct-v0.1-IQ2_XXS.gguf +3 -0
- starcoder2-15b-instruct-v0.1-IQ3_M.gguf +3 -0
- starcoder2-15b-instruct-v0.1-IQ3_S.gguf +3 -0
- starcoder2-15b-instruct-v0.1-IQ3_XS.gguf +3 -0
- starcoder2-15b-instruct-v0.1-IQ3_XXS.gguf +3 -0
- starcoder2-15b-instruct-v0.1-IQ4_NL.gguf +3 -0
- starcoder2-15b-instruct-v0.1-IQ4_XS.gguf +3 -0
- starcoder2-15b-instruct-v0.1-Q2_K.gguf +3 -0
- starcoder2-15b-instruct-v0.1-Q3_K_L.gguf +3 -0
- starcoder2-15b-instruct-v0.1-Q3_K_M.gguf +3 -0
- starcoder2-15b-instruct-v0.1-Q3_K_S.gguf +3 -0
- starcoder2-15b-instruct-v0.1-Q4_K_M.gguf +3 -0
- starcoder2-15b-instruct-v0.1-Q4_K_S.gguf +3 -0
- starcoder2-15b-instruct-v0.1-Q5_K_M.gguf +3 -0
- starcoder2-15b-instruct-v0.1-Q5_K_S.gguf +3 -0
- starcoder2-15b-instruct-v0.1-Q6_K.gguf +3 -0
- starcoder2-15b-instruct-v0.1-Q8_0.gguf +3 -0
- starcoder2-15b-instruct-v0.1.imatrix +3 -0
.gitattributes
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
starcoder2-15b-instruct-v0.1-IQ1_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
starcoder2-15b-instruct-v0.1-IQ1_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
starcoder2-15b-instruct-v0.1-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
starcoder2-15b-instruct-v0.1-IQ2_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
starcoder2-15b-instruct-v0.1-IQ2_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
starcoder2-15b-instruct-v0.1-IQ2_XXS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
starcoder2-15b-instruct-v0.1-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
starcoder2-15b-instruct-v0.1-IQ3_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
starcoder2-15b-instruct-v0.1-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
starcoder2-15b-instruct-v0.1-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
starcoder2-15b-instruct-v0.1-IQ4_NL.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
starcoder2-15b-instruct-v0.1-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
starcoder2-15b-instruct-v0.1-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
starcoder2-15b-instruct-v0.1-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
starcoder2-15b-instruct-v0.1-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
starcoder2-15b-instruct-v0.1-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
starcoder2-15b-instruct-v0.1-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
starcoder2-15b-instruct-v0.1-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
starcoder2-15b-instruct-v0.1-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 55 |
+
starcoder2-15b-instruct-v0.1-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
starcoder2-15b-instruct-v0.1-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
starcoder2-15b-instruct-v0.1-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 58 |
+
starcoder2-15b-instruct-v0.1.imatrix filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,162 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pipeline_tag: text-generation
|
| 3 |
+
base_model: bigcode/starcoder2-15b
|
| 4 |
+
datasets:
|
| 5 |
+
- bigcode/self-oss-instruct-sc2-exec-filter-50k
|
| 6 |
+
license: bigcode-openrail-m
|
| 7 |
+
library_name: transformers
|
| 8 |
+
tags:
|
| 9 |
+
- code
|
| 10 |
+
model-index:
|
| 11 |
+
- name: starcoder2-15b-instruct-v0.1
|
| 12 |
+
results:
|
| 13 |
+
- task:
|
| 14 |
+
type: text-generation
|
| 15 |
+
dataset:
|
| 16 |
+
name: LiveCodeBench (code generation)
|
| 17 |
+
type: livecodebench-codegeneration
|
| 18 |
+
metrics:
|
| 19 |
+
- type: pass@1
|
| 20 |
+
value: 20.4
|
| 21 |
+
- task:
|
| 22 |
+
type: text-generation
|
| 23 |
+
dataset:
|
| 24 |
+
name: LiveCodeBench (self repair)
|
| 25 |
+
type: livecodebench-selfrepair
|
| 26 |
+
metrics:
|
| 27 |
+
- type: pass@1
|
| 28 |
+
value: 20.9
|
| 29 |
+
- task:
|
| 30 |
+
type: text-generation
|
| 31 |
+
dataset:
|
| 32 |
+
name: LiveCodeBench (test output prediction)
|
| 33 |
+
type: livecodebench-testoutputprediction
|
| 34 |
+
metrics:
|
| 35 |
+
- type: pass@1
|
| 36 |
+
value: 29.8
|
| 37 |
+
- task:
|
| 38 |
+
type: text-generation
|
| 39 |
+
dataset:
|
| 40 |
+
name: LiveCodeBench (code execution)
|
| 41 |
+
type: livecodebench-codeexecution
|
| 42 |
+
metrics:
|
| 43 |
+
- type: pass@1
|
| 44 |
+
value: 28.1
|
| 45 |
+
- task:
|
| 46 |
+
type: text-generation
|
| 47 |
+
dataset:
|
| 48 |
+
name: HumanEval
|
| 49 |
+
type: humaneval
|
| 50 |
+
metrics:
|
| 51 |
+
- type: pass@1
|
| 52 |
+
value: 72.6
|
| 53 |
+
- task:
|
| 54 |
+
type: text-generation
|
| 55 |
+
dataset:
|
| 56 |
+
name: HumanEval+
|
| 57 |
+
type: humanevalplus
|
| 58 |
+
metrics:
|
| 59 |
+
- type: pass@1
|
| 60 |
+
value: 63.4
|
| 61 |
+
- task:
|
| 62 |
+
type: text-generation
|
| 63 |
+
dataset:
|
| 64 |
+
name: MBPP
|
| 65 |
+
type: mbpp
|
| 66 |
+
metrics:
|
| 67 |
+
- type: pass@1
|
| 68 |
+
value: 75.2
|
| 69 |
+
- task:
|
| 70 |
+
type: text-generation
|
| 71 |
+
dataset:
|
| 72 |
+
name: MBPP+
|
| 73 |
+
type: mbppplus
|
| 74 |
+
metrics:
|
| 75 |
+
- type: pass@1
|
| 76 |
+
value: 61.2
|
| 77 |
+
- task:
|
| 78 |
+
type: text-generation
|
| 79 |
+
dataset:
|
| 80 |
+
name: DS-1000
|
| 81 |
+
type: ds-1000
|
| 82 |
+
metrics:
|
| 83 |
+
- type: pass@1
|
| 84 |
+
value: 40.6
|
| 85 |
+
quantized_by: bartowski
|
| 86 |
+
---
|
| 87 |
+
|
| 88 |
+
## Llamacpp imatrix Quantizations of starcoder2-15b-instruct-v0.1
|
| 89 |
+
|
| 90 |
+
Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b2756">b2756</a> for quantization.
|
| 91 |
+
|
| 92 |
+
Original model: https://huggingface.co/bigcode/starcoder2-15b-instruct-v0.1
|
| 93 |
+
|
| 94 |
+
All quants made using imatrix option with dataset provided by Kalomaze [here](https://github.com/ggerganov/llama.cpp/discussions/5263#discussioncomment-8395384)
|
| 95 |
+
|
| 96 |
+
## Prompt format
|
| 97 |
+
|
| 98 |
+
```
|
| 99 |
+
<|endoftext|>You are an exceptionally intelligent coding assistant that consistently delivers accurate and reliable responses to user instructions.
|
| 100 |
+
|
| 101 |
+
### Instruction
|
| 102 |
+
{prompt}
|
| 103 |
+
|
| 104 |
+
### Response
|
| 105 |
+
<|endoftext|>
|
| 106 |
+
|
| 107 |
+
```
|
| 108 |
+
|
| 109 |
+
Note that this model does not support a System prompt.
|
| 110 |
+
|
| 111 |
+
## Download a file (not the whole branch) from below:
|
| 112 |
+
|
| 113 |
+
| Filename | Quant type | File Size | Description |
|
| 114 |
+
| -------- | ---------- | --------- | ----------- |
|
| 115 |
+
| [starcoder2-15b-instruct-v0.1-Q8_0.gguf](https://huggingface.co/bartowski/starcoder2-15b-instruct-v0.1-GGUF/blob/main/starcoder2-15b-instruct-v0.1-Q8_0.gguf) | Q8_0 | 16.96GB | Extremely high quality, generally unneeded but max available quant. |
|
| 116 |
+
| [starcoder2-15b-instruct-v0.1-Q6_K.gguf](https://huggingface.co/bartowski/starcoder2-15b-instruct-v0.1-GGUF/blob/main/starcoder2-15b-instruct-v0.1-Q6_K.gguf) | Q6_K | 13.10GB | Very high quality, near perfect, *recommended*. |
|
| 117 |
+
| [starcoder2-15b-instruct-v0.1-Q5_K_M.gguf](https://huggingface.co/bartowski/starcoder2-15b-instruct-v0.1-GGUF/blob/main/starcoder2-15b-instruct-v0.1-Q5_K_M.gguf) | Q5_K_M | 11.43GB | High quality, *recommended*. |
|
| 118 |
+
| [starcoder2-15b-instruct-v0.1-Q5_K_S.gguf](https://huggingface.co/bartowski/starcoder2-15b-instruct-v0.1-GGUF/blob/main/starcoder2-15b-instruct-v0.1-Q5_K_S.gguf) | Q5_K_S | 11.02GB | High quality, *recommended*. |
|
| 119 |
+
| [starcoder2-15b-instruct-v0.1-Q4_K_M.gguf](https://huggingface.co/bartowski/starcoder2-15b-instruct-v0.1-GGUF/blob/main/starcoder2-15b-instruct-v0.1-Q4_K_M.gguf) | Q4_K_M | 9.86GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
|
| 120 |
+
| [starcoder2-15b-instruct-v0.1-Q4_K_S.gguf](https://huggingface.co/bartowski/starcoder2-15b-instruct-v0.1-GGUF/blob/main/starcoder2-15b-instruct-v0.1-Q4_K_S.gguf) | Q4_K_S | 9.16GB | Slightly lower quality with more space savings, *recommended*. |
|
| 121 |
+
| [starcoder2-15b-instruct-v0.1-IQ4_NL.gguf](https://huggingface.co/bartowski/starcoder2-15b-instruct-v0.1-GGUF/blob/main/starcoder2-15b-instruct-v0.1-IQ4_NL.gguf) | IQ4_NL | 9.08GB | Decent quality, slightly smaller than Q4_K_S with similar performance *recommended*. |
|
| 122 |
+
| [starcoder2-15b-instruct-v0.1-IQ4_XS.gguf](https://huggingface.co/bartowski/starcoder2-15b-instruct-v0.1-GGUF/blob/main/starcoder2-15b-instruct-v0.1-IQ4_XS.gguf) | IQ4_XS | 8.59GB | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
|
| 123 |
+
| [starcoder2-15b-instruct-v0.1-Q3_K_L.gguf](https://huggingface.co/bartowski/starcoder2-15b-instruct-v0.1-GGUF/blob/main/starcoder2-15b-instruct-v0.1-Q3_K_L.gguf) | Q3_K_L | 8.96GB | Lower quality but usable, good for low RAM availability. |
|
| 124 |
+
| [starcoder2-15b-instruct-v0.1-Q3_K_M.gguf](https://huggingface.co/bartowski/starcoder2-15b-instruct-v0.1-GGUF/blob/main/starcoder2-15b-instruct-v0.1-Q3_K_M.gguf) | Q3_K_M | 8.04GB | Even lower quality. |
|
| 125 |
+
| [starcoder2-15b-instruct-v0.1-IQ3_M.gguf](https://huggingface.co/bartowski/starcoder2-15b-instruct-v0.1-GGUF/blob/main/starcoder2-15b-instruct-v0.1-IQ3_M.gguf) | IQ3_M | 7.30GB | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
|
| 126 |
+
| [starcoder2-15b-instruct-v0.1-IQ3_S.gguf](https://huggingface.co/bartowski/starcoder2-15b-instruct-v0.1-GGUF/blob/main/starcoder2-15b-instruct-v0.1-IQ3_S.gguf) | IQ3_S | 7.00GB | Lower quality, new method with decent performance, recommended over Q3_K_S quant, same size with better performance. |
|
| 127 |
+
| [starcoder2-15b-instruct-v0.1-Q3_K_S.gguf](https://huggingface.co/bartowski/starcoder2-15b-instruct-v0.1-GGUF/blob/main/starcoder2-15b-instruct-v0.1-Q3_K_S.gguf) | Q3_K_S | 6.98GB | Low quality, not recommended. |
|
| 128 |
+
| [starcoder2-15b-instruct-v0.1-IQ3_XS.gguf](https://huggingface.co/bartowski/starcoder2-15b-instruct-v0.1-GGUF/blob/main/starcoder2-15b-instruct-v0.1-IQ3_XS.gguf) | IQ3_XS | 6.71GB | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
|
| 129 |
+
| [starcoder2-15b-instruct-v0.1-IQ3_XXS.gguf](https://huggingface.co/bartowski/starcoder2-15b-instruct-v0.1-GGUF/blob/main/starcoder2-15b-instruct-v0.1-IQ3_XXS.gguf) | IQ3_XXS | 6.21GB | Lower quality, new method with decent performance, comparable to Q3 quants. |
|
| 130 |
+
| [starcoder2-15b-instruct-v0.1-Q2_K.gguf](https://huggingface.co/bartowski/starcoder2-15b-instruct-v0.1-GGUF/blob/main/starcoder2-15b-instruct-v0.1-Q2_K.gguf) | Q2_K | 6.19GB | Very low quality but surprisingly usable. |
|
| 131 |
+
| [starcoder2-15b-instruct-v0.1-IQ2_M.gguf](https://huggingface.co/bartowski/starcoder2-15b-instruct-v0.1-GGUF/blob/main/starcoder2-15b-instruct-v0.1-IQ2_M.gguf) | IQ2_M | 5.54GB | Very low quality, uses SOTA techniques to also be surprisingly usable. |
|
| 132 |
+
| [starcoder2-15b-instruct-v0.1-IQ2_S.gguf](https://huggingface.co/bartowski/starcoder2-15b-instruct-v0.1-GGUF/blob/main/starcoder2-15b-instruct-v0.1-IQ2_S.gguf) | IQ2_S | 5.14GB | Very low quality, uses SOTA techniques to be usable. |
|
| 133 |
+
| [starcoder2-15b-instruct-v0.1-IQ2_XS.gguf](https://huggingface.co/bartowski/starcoder2-15b-instruct-v0.1-GGUF/blob/main/starcoder2-15b-instruct-v0.1-IQ2_XS.gguf) | IQ2_XS | 4.82GB | Very low quality, uses SOTA techniques to be usable. |
|
| 134 |
+
| [starcoder2-15b-instruct-v0.1-IQ2_XXS.gguf](https://huggingface.co/bartowski/starcoder2-15b-instruct-v0.1-GGUF/blob/main/starcoder2-15b-instruct-v0.1-IQ2_XXS.gguf) | IQ2_XXS | 4.36GB | Lower quality, uses SOTA techniques to be usable. |
|
| 135 |
+
| [starcoder2-15b-instruct-v0.1-IQ1_M.gguf](https://huggingface.co/bartowski/starcoder2-15b-instruct-v0.1-GGUF/blob/main/starcoder2-15b-instruct-v0.1-IQ1_M.gguf) | IQ1_M | 3.86GB | Extremely low quality, *not* recommended. |
|
| 136 |
+
| [starcoder2-15b-instruct-v0.1-IQ1_S.gguf](https://huggingface.co/bartowski/starcoder2-15b-instruct-v0.1-GGUF/blob/main/starcoder2-15b-instruct-v0.1-IQ1_S.gguf) | IQ1_S | 3.55GB | Extremely low quality, *not* recommended. |
|
| 137 |
+
|
| 138 |
+
## Which file should I choose?
|
| 139 |
+
|
| 140 |
+
A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
|
| 141 |
+
|
| 142 |
+
The first thing to figure out is how big a model you can run. To do this, you'll need to figure out how much RAM and/or VRAM you have.
|
| 143 |
+
|
| 144 |
+
If you want your model running as FAST as possible, you'll want to fit the whole thing on your GPU's VRAM. Aim for a quant with a file size 1-2GB smaller than your GPU's total VRAM.
|
| 145 |
+
|
| 146 |
+
If you want the absolute maximum quality, add both your system RAM and your GPU's VRAM together, then similarly grab a quant with a file size 1-2GB Smaller than that total.
|
| 147 |
+
|
| 148 |
+
Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.
|
| 149 |
+
|
| 150 |
+
If you don't want to think too much, grab one of the K-quants. These are in format 'QX_K_X', like Q5_K_M.
|
| 151 |
+
|
| 152 |
+
If you want to get more into the weeds, you can check out this extremely useful feature chart:
|
| 153 |
+
|
| 154 |
+
[llama.cpp feature matrix](https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix)
|
| 155 |
+
|
| 156 |
+
But basically, if you're aiming for below Q4, and you're running cuBLAS (Nvidia) or rocBLAS (AMD), you should look towards the I-quants. These are in format IQX_X, like IQ3_M. These are newer and offer better performance for their size.
|
| 157 |
+
|
| 158 |
+
These I-quants can also be used on CPU and Apple Metal, but will be slower than their K-quant equivalent, so speed vs performance is a tradeoff you'll have to decide.
|
| 159 |
+
|
| 160 |
+
The I-quants are *not* compatible with Vulcan, which is also AMD, so if you have an AMD card double check if you're using the rocBLAS build or the Vulcan build. At the time of writing this, LM Studio has a preview with ROCm support, and other inference engines have specific builds for ROCm.
|
| 161 |
+
|
| 162 |
+
Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski
|
starcoder2-15b-instruct-v0.1-IQ1_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:37c51fe3e4ba06e360d6650d11bb8827ff8bec8ba29859caf50839cd095d5d51
|
| 3 |
+
size 3862366912
|
starcoder2-15b-instruct-v0.1-IQ1_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ebceae4b7b93d2d7a0d3ea2e14b36cf2e15c9fa01588e08936eaa6aae464b40e
|
| 3 |
+
size 3558607552
|
starcoder2-15b-instruct-v0.1-IQ2_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6e06c9a287126a493138b6f7ba2f47c0a077fe0a409aadfdc4198e0a2ef47dac
|
| 3 |
+
size 5545528000
|
starcoder2-15b-instruct-v0.1-IQ2_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:01ed35686b6f52d84af7c078729c339385df8bde2b7442058079388178b71401
|
| 3 |
+
size 5140515520
|
starcoder2-15b-instruct-v0.1-IQ2_XS.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dc5166827820e4de135cb46f701f18542892a79bedc579c457886151fcc01c6d
|
| 3 |
+
size 4820830912
|
starcoder2-15b-instruct-v0.1-IQ2_XXS.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9722354af39df5ba4983822bcd9d0f2e33fd843bfbf248f8cda905ba888ee99a
|
| 3 |
+
size 4368632512
|
starcoder2-15b-instruct-v0.1-IQ3_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7108c47f750157186d65c37c2b73398844521f5658f2fdc1a66e8dca39ec0a05
|
| 3 |
+
size 7303989952
|
starcoder2-15b-instruct-v0.1-IQ3_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2e355a1c531a01bebd93407d6cdf02be2e1a17b78ef8ebec13497599dd199d16
|
| 3 |
+
size 7003179712
|
starcoder2-15b-instruct-v0.1-IQ3_XS.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:82f0076d5433693524abc554646f62462c4d9ae8f01eefc30ea991d941f79ac6
|
| 3 |
+
size 6714165952
|
starcoder2-15b-instruct-v0.1-IQ3_XXS.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d2a4cf682452d237b2657dcdf8c9a1234efa025e176750e935f43711a8b7008a
|
| 3 |
+
size 6217927360
|
starcoder2-15b-instruct-v0.1-IQ4_NL.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:586453c2e30800f435ec1b4eebc702d44cd9f75a0534027b35831481e4f57159
|
| 3 |
+
size 9081129664
|
starcoder2-15b-instruct-v0.1-IQ4_XS.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2a9df3e744c29caab17aebc58d048f8a7f7406f8ab35497f51e37e2c85f0a10c
|
| 3 |
+
size 8595901120
|
starcoder2-15b-instruct-v0.1-Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6cd15795d00e25683c78e0ce0dcc0be91cfa226a80f1afe6a555f2ab47bc7ec4
|
| 3 |
+
size 6192958144
|
starcoder2-15b-instruct-v0.1-Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:54bab6edc5337d2ce9578e9a5f4bbd82305160c4356b642b9fe3fe6d5bb55d41
|
| 3 |
+
size 8965327552
|
starcoder2-15b-instruct-v0.1-Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a5b88ee7416e945d8378a9056ea211157d29add118b6b3e2d61cd6ee2b5d77ab
|
| 3 |
+
size 8044415680
|
starcoder2-15b-instruct-v0.1-Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dbb0ae8ac8d4cf9aec827dfa8e9b80dcab43da638b0bf2419823df40452f1eda
|
| 3 |
+
size 6986468032
|
starcoder2-15b-instruct-v0.1-Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4b8601ea66f93794d70ae54329508d4a7dc6ea83165ca54f99a159fb7a755d0b
|
| 3 |
+
size 9860188864
|
starcoder2-15b-instruct-v0.1-Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9456846962942949c44e2cea91fe6dc84bcdb07c02bcc7aadab50044934f0c28
|
| 3 |
+
size 9161345728
|
starcoder2-15b-instruct-v0.1-Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:76f9d7bf1ec451e5f098fef9bccfe22224e2661734c8ecf8c842f29914532d73
|
| 3 |
+
size 11431480000
|
starcoder2-15b-instruct-v0.1-Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dcb1b62cd597acd7496b76c366256ab5ffb51e365541b7e55ef21716bff526d9
|
| 3 |
+
size 11022043840
|
starcoder2-15b-instruct-v0.1-Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fb6753e3d5b5fd315e62ca2b875b78eaff3f041e9e317de8d89aebd75675fc10
|
| 3 |
+
size 13100976832
|
starcoder2-15b-instruct-v0.1-Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:725f8e28de68ed8451454896ea9ed2ee39c11aed0e36d05dc8bab2338de5bc58
|
| 3 |
+
size 16965110464
|
starcoder2-15b-instruct-v0.1.imatrix
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cf193e0ab6b38cdcfa22c1ea83676420fd6d351d72b93a10642842fdc6fe6114
|
| 3 |
+
size 8855304
|