Upload folder using huggingface_hub
Browse files- .gitattributes +6 -0
- Gemma3-Python-22k-1B-f16.gguf +3 -0
- Gemma3-Python-22k-1B-q3_k_m.gguf +3 -0
- Gemma3-Python-22k-1B-q4_k_m.gguf +3 -0
- Gemma3-Python-22k-1B-q5_k_m.gguf +3 -0
- Gemma3-Python-22k-1B-q6_k.gguf +3 -0
- Gemma3-Python-22k-1B-q8_0.gguf +3 -0
- README.md +79 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,9 @@ saved_model/**/* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
Gemma3-Python-22k-1B-f16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
Gemma3-Python-22k-1B-q3_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
Gemma3-Python-22k-1B-q4_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
Gemma3-Python-22k-1B-q5_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
Gemma3-Python-22k-1B-q6_k.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
Gemma3-Python-22k-1B-q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
Gemma3-Python-22k-1B-f16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b0a97f3a2573d01fb4c268acd1fa2d9941c7ca0e92334c09e6ec64d48e2afbfd
|
| 3 |
+
size 2610553120
|
Gemma3-Python-22k-1B-q3_k_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:45809a66b33694f65d72e86a5022a763bfe195bb525ad453e708054c9bfa847d
|
| 3 |
+
size 892285216
|
Gemma3-Python-22k-1B-q4_k_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c4aee481b1a6cd063ccb764fd1f1ed281fe323d775d9d0b258d4944d8f0d120f
|
| 3 |
+
size 1013676064
|
Gemma3-Python-22k-1B-q5_k_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0818197028ed6899fb675cd87ed935bdcc703f5601ba6c5230d47f89cfa0d121
|
| 3 |
+
size 1077837856
|
Gemma3-Python-22k-1B-q6_k.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ea0e0c74941d5203cc4202e3f562515dbdccdef9e046de7c588efc5a535f8d1a
|
| 3 |
+
size 1332602656
|
Gemma3-Python-22k-1B-q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0ad32c5c7db9910d94c88b2534f9671343c6e53af7dfa86139e9c448d6185fcb
|
| 3 |
+
size 1390170400
|
README.md
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: google/gemma-3-1b-it
|
| 3 |
+
library_name: gguf
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
language: en
|
| 6 |
+
license: mit
|
| 7 |
+
tags:
|
| 8 |
+
- gguf
|
| 9 |
+
- quantized
|
| 10 |
+
- llama.cpp
|
| 11 |
+
- gemma3-python-22k-1b
|
| 12 |
+
model_type: llama
|
| 13 |
+
quantized_by: theprint
|
| 14 |
+
---
|
| 15 |
+
# Gemma3-Python-22k-1B - GGUF Quantized
|
| 16 |
+
|
| 17 |
+
Quantized GGUF versions of [Gemma3-Python-22k-1B](https://huggingface.co/theprint/Gemma3-Python-22k-1B) for use with llama.cpp and other GGUF-compatible inference engines.
|
| 18 |
+
|
| 19 |
+
## Original Model
|
| 20 |
+
|
| 21 |
+
- **Base model:** [google/gemma-3-1b-it](https://huggingface.co/google/gemma-3-1b-it)
|
| 22 |
+
- **Fine-tuned model:** [theprint/Gemma3-Python-22k-1B](https://huggingface.co/theprint/Gemma3-Python-22k-1B)
|
| 23 |
+
- **Quantized by:** theprint
|
| 24 |
+
|
| 25 |
+
## Available Quantizations
|
| 26 |
+
|
| 27 |
+
- `Gemma3-Python-22k-1B-f16.gguf` (2489.6 MB) - 16-bit float (original precision, largest file)
|
| 28 |
+
- `Gemma3-Python-22k-1B-q3_k_m.gguf` (850.9 MB) - 3-bit quantization (medium quality)
|
| 29 |
+
- `Gemma3-Python-22k-1B-q4_k_m.gguf` (966.7 MB) - 4-bit quantization (medium, recommended for most use cases)
|
| 30 |
+
- `Gemma3-Python-22k-1B-q5_k_m.gguf` (1027.9 MB) - 5-bit quantization (medium, good quality)
|
| 31 |
+
- `Gemma3-Python-22k-1B-q6_k.gguf` (1270.9 MB) - 6-bit quantization (high quality)
|
| 32 |
+
- `Gemma3-Python-22k-1B-q8_0.gguf` (1325.8 MB) - 8-bit quantization (very high quality)
|
| 33 |
+
|
| 34 |
+
## Usage
|
| 35 |
+
|
| 36 |
+
### With llama.cpp
|
| 37 |
+
|
| 38 |
+
```bash
|
| 39 |
+
# Download recommended quantization
|
| 40 |
+
wget https://huggingface.co/theprint/Gemma3-Python-22k-1B-GGUF/resolve/main/Gemma3-Python-22k-1B-q4_k_m.gguf
|
| 41 |
+
|
| 42 |
+
# Run inference
|
| 43 |
+
./llama.cpp/main -m Gemma3-Python-22k-1B-q4_k_m.gguf \
|
| 44 |
+
-p "Your prompt here" \
|
| 45 |
+
-n 256 \
|
| 46 |
+
--temp 0.7 \
|
| 47 |
+
--top-p 0.9
|
| 48 |
+
```
|
| 49 |
+
|
| 50 |
+
### With other GGUF tools
|
| 51 |
+
|
| 52 |
+
These files are compatible with:
|
| 53 |
+
- [llama.cpp](https://github.com/ggerganov/llama.cpp)
|
| 54 |
+
- [Ollama](https://ollama.ai/) (import as custom model)
|
| 55 |
+
- [KoboldCpp](https://github.com/LostRuins/koboldcpp)
|
| 56 |
+
- [text-generation-webui](https://github.com/oobabooga/text-generation-webui)
|
| 57 |
+
|
| 58 |
+
## Quantization Info
|
| 59 |
+
|
| 60 |
+
**Recommended:** `q4_k_m` provides the best balance of size, speed, and quality for most use cases.
|
| 61 |
+
|
| 62 |
+
**For maximum quality:** Use `q8_0` or `f16`
|
| 63 |
+
**For maximum speed/smallest size:** Use `q3_k_m` or `q4_k_s`
|
| 64 |
+
|
| 65 |
+
## License
|
| 66 |
+
|
| 67 |
+
mit
|
| 68 |
+
|
| 69 |
+
## Citation
|
| 70 |
+
|
| 71 |
+
```bibtex
|
| 72 |
+
@misc{gemma3_python_22k_1b_gguf,
|
| 73 |
+
title={Gemma3-Python-22k-1B GGUF Quantized Models},
|
| 74 |
+
author={theprint},
|
| 75 |
+
year={2025},
|
| 76 |
+
publisher={Hugging Face},
|
| 77 |
+
url={https://huggingface.co/theprint/Gemma3-Python-22k-1B-GGUF}
|
| 78 |
+
}
|
| 79 |
+
```
|