--- base_model: bigcode/starcoder2-7b inference: false license: bigcode-openrail-m library_name: transformers model_creator: bigcode model_name: StarCoder2 7B pipeline_tag: text-generation quantized_by: Second State Inc. tags: - code ---

# StarCoder2-7B-GGUF ## Original Model [bigcode/starcoder2-7b](https://huggingface.co/bigcode/starcoder2-7b) ## Run with LlamaEdge - LlamaEdge version: coming soon - Context size: `4608` ## Quantized GGUF Models | Name | Quant method | Bits | Size | Use case | | ---- | ---- | ---- | ---- | ----- | | [starcoder2-7b-Q2_K.gguf](https://huggingface.co/second-state/StarCoder2-7B-GGUF/blob/main/starcoder2-7b-Q2_K.gguf) | Q2_K | 2 | 2.72 GB| smallest, significant quality loss - not recommended for most purposes | | [starcoder2-7b-Q3_K_L.gguf](https://huggingface.co/second-state/StarCoder2-7B-GGUF/blob/main/starcoder2-7b-Q3_K_L.gguf) | Q3_K_L | 3 | 3.99 GB| small, substantial quality loss | | [starcoder2-7b-Q3_K_M.gguf](https://huggingface.co/second-state/StarCoder2-7B-GGUF/blob/main/starcoder2-7b-Q3_K_M.gguf) | Q3_K_M | 3 | 3.59 GB| very small, high quality loss | | [starcoder2-7b-Q3_K_S.gguf](https://huggingface.co/second-state/StarCoder2-7B-GGUF/blob/main/starcoder2-7b-Q3_K_S.gguf) | Q3_K_S | 3 | 3.09 GB| very small, high quality loss | | [starcoder2-7b-Q4_0.gguf](https://huggingface.co/second-state/StarCoder2-7B-GGUF/blob/main/starcoder2-7b-Q4_0.gguf) | Q4_0 | 4 | 4.04 GB| legacy; small, very high quality loss - prefer using Q3_K_M | | [starcoder2-7b-Q4_K_M.gguf](https://huggingface.co/second-state/StarCoder2-7B-GGUF/blob/main/starcoder2-7b-Q4_K_M.gguf) | Q4_K_M | 4 | 4.4 GB| medium, balanced quality - recommended | | [starcoder2-7b-Q4_K_S.gguf](https://huggingface.co/second-state/StarCoder2-7B-GGUF/blob/main/starcoder2-7b-Q4_K_S.gguf) | Q4_K_S | 4 | 4.13 GB| small, greater quality loss | | [starcoder2-7b-Q5_0.gguf](https://huggingface.co/second-state/StarCoder2-7B-GGUF/blob/main/starcoder2-7b-Q5_0.gguf) | Q5_0 | 5 | 4.94 GB| legacy; medium, balanced quality - prefer using Q4_K_M | | [starcoder2-7b-Q5_K_M.gguf](https://huggingface.co/second-state/StarCoder2-7B-GGUF/blob/main/starcoder2-7b-Q5_K_M.gguf) | Q5_K_M | 5 | 5.12 GB| large, very low quality loss - recommended | | [starcoder2-7b-Q5_K_S.gguf](https://huggingface.co/second-state/StarCoder2-7B-GGUF/blob/main/starcoder2-7b-Q5_K_S.gguf) | Q5_K_S | 5 | 4.94 GB| large, low quality loss - recommended | | [starcoder2-7b-Q6_K.gguf](https://huggingface.co/second-state/StarCoder2-7B-GGUF/blob/main/starcoder2-7b-Q6_K.gguf) | Q6_K | 6 | 5.89 GB| very large, extremely low quality loss | | [starcoder2-7b-Q8_0.gguf](https://huggingface.co/second-state/StarCoder2-7B-GGUF/blob/main/starcoder2-7b-Q8_0.gguf) | Q8_0 | 8 | 7.63 GB| very large, extremely low quality loss - not recommended | *Quantized with llama.cpp b2308*