初始化项目,由ModelHub XC社区提供模型
Model: s3dev-ai/gemma-3-1b-it-gguf Source: Original Platform
This commit is contained in:
41
.gitattributes
vendored
Normal file
41
.gitattributes
vendored
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.arrow filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bin filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ftz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.h5 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.joblib filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.model filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.npy filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.npz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.onnx filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ot filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.parquet filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pb filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pickle filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pkl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pth filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
||||||
|
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tflite filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.wasm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
||||||
|
gemma-3-1b-it-F16.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
gemma-3-1b-it-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
gemma-3-1b-it-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
gemma-3-1b-it-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
gemma-3-1b-it-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
gemma-3-1b-it-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
77
README.md
Normal file
77
README.md
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
---
|
||||||
|
base_model:
|
||||||
|
- google/gemma-3-1b-it
|
||||||
|
language:
|
||||||
|
- en
|
||||||
|
model_creator: Google
|
||||||
|
model_name: gemma-3-1b-it
|
||||||
|
model_type: llama
|
||||||
|
quantized_by: s3dev-ai
|
||||||
|
tags:
|
||||||
|
- text-generation
|
||||||
|
---
|
||||||
|
|
||||||
|
# Overview
|
||||||
|
|
||||||
|
This model repository provides various quantisations of the following [base model](https://huggingface.co/google/gemma-3-1b-it), in GGUF format.
|
||||||
|
- google/gemma-3-1b-it
|
||||||
|
|
||||||
|
# Model Description
|
||||||
|
|
||||||
|
For a full model description, please refer to the [base model's](https://huggingface.co/google/gemma-3-1b-it) card.
|
||||||
|
|
||||||
|
This model, and subsequent quantisations, have been converted directly from the author's base model *unaltered*.
|
||||||
|
|
||||||
|
## How are the GGUF files created?
|
||||||
|
After cloning the author's original base model repository, [`llama.cpp`](https://github.com/ggml-org/llama.cpp) is used to convert the model to GGUF format, using `--outtype=f16` to preserve the original model's 16-bit fidelity.
|
||||||
|
|
||||||
|
Finally, for each subsequent quantisation level, `llama.cpp`'s `llama-quantize` executable is called using the F16 GGUF file as the source file.
|
||||||
|
|
||||||
|
# Quantisation
|
||||||
|
The purpose of this repository is to provide *unaltered* quantisations of the author's base model. This section is designed to help the user visualise the difference in quantisation levels, in efforts to assist in model (quantisation) selection.
|
||||||
|
|
||||||
|
## Comparison Statistics
|
||||||
|
To aid a user in model/quantisation selection, the team has created the following statistics specifically for comparing the similarity scores across quantisation runs.
|
||||||
|
|
||||||
|
The dataset against which each run was conducted is composed of 175 question/answer pairs, divided amongst 7 topics, specifically designed to test a quantisation's processing ability. The test dataset was created by Mistral Large (via [Le Chat](https://chat.mistral.ai/chat)) using prompts explicitly stating the requirement for the question/answer pairs to be designed for Mistral model quantisation testing.
|
||||||
|
|
||||||
|
The similarity scores used by these statistics were calculated as the cosine similarity between the embedding of the 'gold standard' answer provided in the dataset, and the embedding of the response from the quantised model. The embedding model used in these tests is the [all-MiniLM-L6-v2 Q8_0](https://huggingface.co/s3dev-ai/all-MiniLM-L6-v2-gguf).
|
||||||
|
|
||||||
|
### Range
|
||||||
|
The range graph below illustrates how the range of similarity scores varies amongst the quantisation levels. Included in the range stats are the:
|
||||||
|
|
||||||
|
- Minimum scores
|
||||||
|
- Maximum scores
|
||||||
|
- Mean scores
|
||||||
|
- Score distribution (KDE)
|
||||||
|
- Outliers
|
||||||
|
|
||||||
|
<!-- Range image -->
|
||||||
|
<div align="center">
|
||||||
|
<img src="imgs/gemma-3-1b-range.png" alt="Stats Graph: Range" width="90%">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
### Mean
|
||||||
|
The mean graph below illustrates how the mean similarity scores (when grouped by 'topic') vary amongst the quantisation levels.
|
||||||
|
|
||||||
|
<!-- Mean image -->
|
||||||
|
<div align="center">
|
||||||
|
<img src="imgs/gemma-3-1b-mean.png" alt="Stats Graph: Mean" width="90%">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
### Standard Deviation
|
||||||
|
The standard deviation graph below illustrates the how spread of similarity scores vary amongst the quantisation levels, when grouped by the test dataset's 'topic' categories.
|
||||||
|
|
||||||
|
<!-- StdDev image -->
|
||||||
|
<div align="center">
|
||||||
|
<img src="imgs/gemma-3-1b-stddev.png" alt="Stats Graph: StdDev" width="90%">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
### Kernel Density Estimate
|
||||||
|
The KDE graph below illustrates the how distribution of similarity scores vary amongst the quantisation levels.
|
||||||
|
|
||||||
|
<!-- KDE image -->
|
||||||
|
<div align="center">
|
||||||
|
<img src="imgs/gemma-3-1b-kde.png" alt="Stats Graph: KDE" width="90%">
|
||||||
|
</div>
|
||||||
|
|
||||||
3
gemma-3-1b-it-F16.gguf
Normal file
3
gemma-3-1b-it-F16.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:14f51f948aaf784c1ffa4bc5e161051e1b2d62f21a5c308507533410160689f2
|
||||||
|
size 2006573600
|
||||||
3
gemma-3-1b-it-Q2_K.gguf
Normal file
3
gemma-3-1b-it-Q2_K.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1a917061bfa73d688391e731fb72216d275cc8317610e0d272c4451d9d76f685
|
||||||
|
size 689814560
|
||||||
3
gemma-3-1b-it-Q4_K_M.gguf
Normal file
3
gemma-3-1b-it-Q4_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6f40e484c2769d612aa424357c82458664fb7dc7b806e3498d43f062cd0f3a54
|
||||||
|
size 806058272
|
||||||
3
gemma-3-1b-it-Q5_K_M.gguf
Normal file
3
gemma-3-1b-it-Q5_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5575aa270ed8b5f2f2fede7188ddea8150c59f304b9252c56450473a45afdf2f
|
||||||
|
size 851345696
|
||||||
3
gemma-3-1b-it-Q6_K.gguf
Normal file
3
gemma-3-1b-it-Q6_K.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:bed76be34dea296d6d12a5bf13b6af430c96456d775169334d53f8a21108302a
|
||||||
|
size 1011738656
|
||||||
3
gemma-3-1b-it-Q8_0.gguf
Normal file
3
gemma-3-1b-it-Q8_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:8b231708bc06dca74c86c565967d7b18b309634fd30f9cd1935f98156197ebe3
|
||||||
|
size 1069306400
|
||||||
BIN
imgs/gemma-3-1b-kde.png
Normal file
BIN
imgs/gemma-3-1b-kde.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 57 KiB |
BIN
imgs/gemma-3-1b-mean.png
Normal file
BIN
imgs/gemma-3-1b-mean.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 49 KiB |
BIN
imgs/gemma-3-1b-range.png
Normal file
BIN
imgs/gemma-3-1b-range.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 86 KiB |
BIN
imgs/gemma-3-1b-stddev.png
Normal file
BIN
imgs/gemma-3-1b-stddev.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 47 KiB |
1
sha256/gemma-3-1b-it-F16.sha256
Normal file
1
sha256/gemma-3-1b-it-F16.sha256
Normal file
@@ -0,0 +1 @@
|
|||||||
|
14f51f948aaf784c1ffa4bc5e161051e1b2d62f21a5c308507533410160689f2 gemma-3-1b-it-F16.gguf
|
||||||
1
sha256/gemma-3-1b-it-Q2_K.sha256
Normal file
1
sha256/gemma-3-1b-it-Q2_K.sha256
Normal file
@@ -0,0 +1 @@
|
|||||||
|
1a917061bfa73d688391e731fb72216d275cc8317610e0d272c4451d9d76f685 gemma-3-1b-it-Q2_K.gguf
|
||||||
1
sha256/gemma-3-1b-it-Q4_K_M.sha256
Normal file
1
sha256/gemma-3-1b-it-Q4_K_M.sha256
Normal file
@@ -0,0 +1 @@
|
|||||||
|
6f40e484c2769d612aa424357c82458664fb7dc7b806e3498d43f062cd0f3a54 gemma-3-1b-it-Q4_K_M.gguf
|
||||||
1
sha256/gemma-3-1b-it-Q5_K_M.sha256
Normal file
1
sha256/gemma-3-1b-it-Q5_K_M.sha256
Normal file
@@ -0,0 +1 @@
|
|||||||
|
5575aa270ed8b5f2f2fede7188ddea8150c59f304b9252c56450473a45afdf2f gemma-3-1b-it-Q5_K_M.gguf
|
||||||
1
sha256/gemma-3-1b-it-Q6_K.sha256
Normal file
1
sha256/gemma-3-1b-it-Q6_K.sha256
Normal file
@@ -0,0 +1 @@
|
|||||||
|
bed76be34dea296d6d12a5bf13b6af430c96456d775169334d53f8a21108302a gemma-3-1b-it-Q6_K.gguf
|
||||||
1
sha256/gemma-3-1b-it-Q8_0.sha256
Normal file
1
sha256/gemma-3-1b-it-Q8_0.sha256
Normal file
@@ -0,0 +1 @@
|
|||||||
|
8b231708bc06dca74c86c565967d7b18b309634fd30f9cd1935f98156197ebe3 gemma-3-1b-it-Q8_0.gguf
|
||||||
Reference in New Issue
Block a user