Upload folder using huggingface_hub
Browse files- .gitattributes +2 -0
- GEMMA4_QWEN3_REPORT.json +40 -0
- README.md +130 -315
- SHA256SUMS +164 -0
- gemma4-random-model/CONFIG_DECISION.md +87 -0
- gemma4-random-model/gguf-q4_0/gemma4-random-model-Q4_0.gguf +3 -0
- gemma4-random-model/gguf-q4_0/quantize.log +136 -0
- gemma4-random-model/hf-bf16/config.json +59 -0
- gemma4-random-model/hf-bf16/generation_config.json +10 -0
- gemma4-random-model/hf-bf16/model.safetensors +3 -0
- gemma4-random-model/hf-bf16/tokenizer.json +217 -0
- gemma4-random-model/hf-bf16/tokenizer_config.json +10 -0
- gemma4-random-model/metadata.json +78 -0
- gemma4-random-model/reference/gguf-native.json +10 -0
- gemma4-random-model/reference/hf-outputs.safetensors +3 -0
- gemma4-random-model/reference/inputs.json +9 -0
- manifest.json +40 -0
- qwen3-random-model/CONFIG_DECISION.md +16 -0
- qwen3-random-model/gguf-q4_0/quantize.log +61 -0
- qwen3-random-model/gguf-q4_0/qwen3-random-model-Q4_0.gguf +3 -0
- qwen3-random-model/hf-bf16/config.json +37 -0
- qwen3-random-model/hf-bf16/generation_config.json +9 -0
- qwen3-random-model/hf-bf16/model.safetensors +3 -0
- qwen3-random-model/hf-bf16/tokenizer.json +217 -0
- qwen3-random-model/hf-bf16/tokenizer_config.json +10 -0
- qwen3-random-model/metadata.json +79 -0
- qwen3-random-model/reference/gguf-native.json +10 -0
- qwen3-random-model/reference/hf-outputs.safetensors +3 -0
- qwen3-random-model/reference/inputs.json +9 -0
.gitattributes
CHANGED
|
@@ -61,3 +61,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 61 |
livekit-turn-detector/gguf/model-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 62 |
minicpm5/gguf/model-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 63 |
tinyllama-chat/gguf/model-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 61 |
livekit-turn-detector/gguf/model-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 62 |
minicpm5/gguf/model-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 63 |
tinyllama-chat/gguf/model-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 64 |
+
gemma4-random-model/gguf-q4_0/gemma4-random-model-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 65 |
+
qwen3-random-model/gguf-q4_0/qwen3-random-model-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
GEMMA4_QWEN3_REPORT.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cases": [
|
| 3 |
+
{
|
| 4 |
+
"architecture": "gemma4",
|
| 5 |
+
"case": "gemma4-random-model",
|
| 6 |
+
"eog_token_ids": [
|
| 7 |
+
1
|
| 8 |
+
],
|
| 9 |
+
"gguf_quantization": "Q4_0",
|
| 10 |
+
"gguf_sha256": "2b631587994acd127d3e6fcc67552c707d6fdba22beada963597387b9e814881",
|
| 11 |
+
"hf_dtype": "bfloat16",
|
| 12 |
+
"hf_sha256": "18c8b09759c831fbc9d6a8caf7df8e9d395508d4aec09336167f675527b3a360",
|
| 13 |
+
"parameter_count": 1519168,
|
| 14 |
+
"tensor_type_histogram": {
|
| 15 |
+
"F32": 44,
|
| 16 |
+
"Q4_0": 42
|
| 17 |
+
},
|
| 18 |
+
"validation": "passed"
|
| 19 |
+
},
|
| 20 |
+
{
|
| 21 |
+
"architecture": "qwen3",
|
| 22 |
+
"case": "qwen3-random-model",
|
| 23 |
+
"eog_token_ids": [
|
| 24 |
+
1
|
| 25 |
+
],
|
| 26 |
+
"gguf_quantization": "Q4_0",
|
| 27 |
+
"gguf_sha256": "6af2e0d230a7919c6b1a02b6462f0441ffbadbb8188b1bd9c0f8174fecd9308f",
|
| 28 |
+
"hf_dtype": "bfloat16",
|
| 29 |
+
"hf_sha256": "0960438e0541dfa529703f5e2b37565aec66b354f6e45bfdf121ecadfcd86dd4",
|
| 30 |
+
"parameter_count": 508800,
|
| 31 |
+
"tensor_type_histogram": {
|
| 32 |
+
"F32": 9,
|
| 33 |
+
"Q4_0": 15
|
| 34 |
+
},
|
| 35 |
+
"validation": "passed"
|
| 36 |
+
}
|
| 37 |
+
],
|
| 38 |
+
"llama_cpp_commit": "40b740ad05c531b9d57aca6698c3ed553a9e784c",
|
| 39 |
+
"schema_version": 1
|
| 40 |
+
}
|
README.md
CHANGED
|
@@ -1,315 +1,130 @@
|
|
| 1 |
-
---
|
| 2 |
-
pretty_name:
|
| 3 |
-
license: other
|
| 4 |
-
size_categories:
|
| 5 |
-
- n<1K
|
| 6 |
-
tags:
|
| 7 |
-
- llama
|
| 8 |
-
-
|
| 9 |
-
-
|
| 10 |
-
-
|
| 11 |
-
-
|
| 12 |
-
-
|
| 13 |
-
-
|
| 14 |
-
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
|
| 56 |
-
|
|
| 57 |
-
|
|
| 58 |
-
|
|
| 59 |
-
|
|
| 60 |
-
|
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
```text
|
| 71 |
-
<case>/
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
The
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
|
| 128 |
-
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
Observed fields such as explicit `head_dim`, bias settings, embedding-tying settings, and the original RoPE scaling object are preserved where possible.
|
| 132 |
-
|
| 133 |
-
`config-diff.json` records the transformation for each case.
|
| 134 |
-
|
| 135 |
-
### Synthetic weights
|
| 136 |
-
|
| 137 |
-
The model weights are not derived from the original model checkpoint.
|
| 138 |
-
|
| 139 |
-
They are deterministically generated using `tlfloat::LCG64`, with the seed and exact tlfloat revision recorded in `provenance.json`.
|
| 140 |
-
|
| 141 |
-
This makes the generated model reproducible without distributing or downloading the original model weights.
|
| 142 |
-
|
| 143 |
-
### Synthetic auxiliary tokenizer
|
| 144 |
-
|
| 145 |
-
The reduced models use a vocabulary of 128 token IDs, so the original source-model tokenizers are generally not compatible with them.
|
| 146 |
-
|
| 147 |
-
Selected cases therefore contain a deterministic synthetic auxiliary tokenizer.
|
| 148 |
-
|
| 149 |
-
These tokenizers:
|
| 150 |
-
|
| 151 |
-
* cover the reduced token-ID space;
|
| 152 |
-
* preserve the special-token semantics required by the corresponding shrunk configuration;
|
| 153 |
-
* are used consistently for the Hugging Face and GGUF representations;
|
| 154 |
-
* are not derived from the original source tokenizer;
|
| 155 |
-
* do not attempt to reproduce the linguistic tokenization behavior of the original model.
|
| 156 |
-
|
| 157 |
-
The tokenizer metadata explicitly records this distinction.
|
| 158 |
-
|
| 159 |
-
For numerical model testing, explicit token IDs remain the primary input. Text tokenization is secondary.
|
| 160 |
-
|
| 161 |
-
## Safetensors packages
|
| 162 |
-
|
| 163 |
-
The `package/` directory is a normal small Hugging Face model package containing the shrunk configuration and deterministic F32 weights.
|
| 164 |
-
|
| 165 |
-
Reference inputs are stored separately in `inputs.safetensors`, and expected F32 outputs are stored in `reference/outputs.safetensors`.
|
| 166 |
-
|
| 167 |
-
These reference artifacts were generated and validated with Transformers `4.55.0`.
|
| 168 |
-
|
| 169 |
-
Exact software versions and hashes are available in each case's `provenance.json`.
|
| 170 |
-
|
| 171 |
-
## GGUF Q4_K_M packages
|
| 172 |
-
|
| 173 |
-
Every case also contains:
|
| 174 |
-
|
| 175 |
-
```text
|
| 176 |
-
gguf/model-Q4_K_M.gguf
|
| 177 |
-
```
|
| 178 |
-
|
| 179 |
-
The GGUF files are derived from the same deterministic model weights as the Safetensors packages.
|
| 180 |
-
|
| 181 |
-
They were generated with upstream `ggml-org/llama.cpp` at commit:
|
| 182 |
-
|
| 183 |
-
```text
|
| 184 |
-
40b740ad05c531b9d57aca6698c3ed553a9e784c
|
| 185 |
-
```
|
| 186 |
-
|
| 187 |
-
The conversion pipeline is:
|
| 188 |
-
|
| 189 |
-
```text
|
| 190 |
-
F32 Safetensors model
|
| 191 |
-
↓
|
| 192 |
-
llama.cpp HF-to-GGUF converter
|
| 193 |
-
↓
|
| 194 |
-
temporary F16 GGUF
|
| 195 |
-
↓
|
| 196 |
-
llama-quantize Q4_K_M
|
| 197 |
-
↓
|
| 198 |
-
retained Q4_K_M GGUF
|
| 199 |
-
```
|
| 200 |
-
|
| 201 |
-
The temporary F16 GGUF is hashed for provenance but is not retained.
|
| 202 |
-
|
| 203 |
-
`Q4_K_M` is a lossy mixed quantization profile. In very small models, some tensor dimensions are too small for particular K-quant types, so the final GGUF may contain fallback tensor types.
|
| 204 |
-
|
| 205 |
-
For this reason, each `gguf/metadata.json` records the actual tensor-type histogram found in the resulting file.
|
| 206 |
-
|
| 207 |
-
For example, depending on the case, a `Q4_K_M` artifact may contain a mixture of:
|
| 208 |
-
|
| 209 |
-
* F16;
|
| 210 |
-
* F32;
|
| 211 |
-
* Q4_K;
|
| 212 |
-
* Q5_0;
|
| 213 |
-
* Q6_K;
|
| 214 |
-
* Q8_0.
|
| 215 |
-
|
| 216 |
-
The label `Q4_K_M` identifies the requested llama.cpp quantization profile; it does not imply that every tensor is stored as Q4_K.
|
| 217 |
-
|
| 218 |
-
## GGUF validation
|
| 219 |
-
|
| 220 |
-
GGUF numerical validation uses explicit token IDs rather than text tokenization.
|
| 221 |
-
|
| 222 |
-
For each case, the final GGUF was loaded through the same pinned llama.cpp revision and tested with deterministic:
|
| 223 |
-
|
| 224 |
-
* prefill;
|
| 225 |
-
* autoregressive decode;
|
| 226 |
-
* logit extraction;
|
| 227 |
-
* finite-value checks;
|
| 228 |
-
* repeated-execution checks.
|
| 229 |
-
|
| 230 |
-
The effective EOG token set was also checked over the complete reduced token-ID range and required to match the EOS semantics of the shrunk configuration.
|
| 231 |
-
|
| 232 |
-
`gguf/reference.json` contains the GGUF reference output, while `gguf/metadata.json` records:
|
| 233 |
-
|
| 234 |
-
* llama.cpp revision;
|
| 235 |
-
* source-package SHA-256;
|
| 236 |
-
* tokenizer SHA-256;
|
| 237 |
-
* converter and quantizer invocations;
|
| 238 |
-
* intermediate and final GGUF hashes;
|
| 239 |
-
* actual tensor-type histogram;
|
| 240 |
-
* effective EOG token IDs;
|
| 241 |
-
* direct-token validation results;
|
| 242 |
-
* observed numerical difference from the F32 reference.
|
| 243 |
-
|
| 244 |
-
Because `Q4_K_M` is lossy, GGUF logits are not expected to be numerically identical to the F32 Transformers reference.
|
| 245 |
-
|
| 246 |
-
The quantization differences are observations rather than exact-equivalence requirements.
|
| 247 |
-
|
| 248 |
-
## Reproducibility and provenance
|
| 249 |
-
|
| 250 |
-
Each case records enough information to trace:
|
| 251 |
-
|
| 252 |
-
```text
|
| 253 |
-
real Hugging Face config + immutable revision
|
| 254 |
-
↓
|
| 255 |
-
preservation-first shrink
|
| 256 |
-
↓
|
| 257 |
-
deterministic small config
|
| 258 |
-
↓
|
| 259 |
-
deterministic synthetic weights
|
| 260 |
-
↙ ↘
|
| 261 |
-
F32 Safetensors auxiliary tokenizer
|
| 262 |
-
\ /
|
| 263 |
-
\ /
|
| 264 |
-
GGUF conversion
|
| 265 |
-
↓
|
| 266 |
-
Q4_K_M GGUF
|
| 267 |
-
```
|
| 268 |
-
|
| 269 |
-
Relevant identities are represented by SHA-256 hashes rather than filenames or timestamps.
|
| 270 |
-
|
| 271 |
-
See:
|
| 272 |
-
|
| 273 |
-
* `provenance.json` for the source and F32-generation chain;
|
| 274 |
-
* `tokenizer/metadata.json` for tokenizer provenance;
|
| 275 |
-
* `gguf/metadata.json` for GGUF provenance;
|
| 276 |
-
* `manifest.json` for the dataset-wide package index.
|
| 277 |
-
|
| 278 |
-
## What this dataset is not
|
| 279 |
-
|
| 280 |
-
This is not:
|
| 281 |
-
|
| 282 |
-
* a collection of pretrained language models;
|
| 283 |
-
* a benchmark of model quality;
|
| 284 |
-
* a reproduction of the source models' weights;
|
| 285 |
-
* a reproduction of the source models' tokenizers;
|
| 286 |
-
* a recommendation to use these geometries for training;
|
| 287 |
-
* a comprehensive set of every possible Llama configuration.
|
| 288 |
-
|
| 289 |
-
The value of the dataset is the combination of real observed configuration patterns with small, deterministic, executable model artifacts.
|
| 290 |
-
|
| 291 |
-
## Source models and licensing
|
| 292 |
-
|
| 293 |
-
The source configurations originate from the Hugging Face repositories identified in each case's `provenance.json`.
|
| 294 |
-
|
| 295 |
-
The generated model weights and auxiliary tokenizer data are synthetic, but source configuration files and associated metadata may remain subject to terms applicable to their respective source repositories.
|
| 296 |
-
|
| 297 |
-
This repository therefore does not claim that a single upstream model license applies uniformly to every source-derived file.
|
| 298 |
-
|
| 299 |
-
Users should consult the corresponding source repository when redistributing or using source-derived metadata under conditions where its license is relevant.
|
| 300 |
-
|
| 301 |
-
No original source-model checkpoint weights are included.
|
| 302 |
-
|
| 303 |
-
## Reports
|
| 304 |
-
|
| 305 |
-
* `REPORT.md` — Llama shrinker results and source provenance summary.
|
| 306 |
-
* `GGUF_Q4_K_M_REPORT.json` — consolidated GGUF generation and validation report.
|
| 307 |
-
* `manifest.json` — machine-readable package inventory.
|
| 308 |
-
|
| 309 |
-
## Current scope
|
| 310 |
-
|
| 311 |
-
The current release contains seven Llama-compatible cases.
|
| 312 |
-
|
| 313 |
-
The collection is intentionally small: it favors configurations observed in real, relatively popular model repositories rather than generating large numbers of artificial configuration combinations.
|
| 314 |
-
|
| 315 |
-
Future collections may add other model families or additional observed configuration patterns while retaining the same principles of small artifacts, deterministic generation, explicit provenance, and format-native validation.
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pretty_name: Deterministic Random Models
|
| 3 |
+
license: other
|
| 4 |
+
size_categories:
|
| 5 |
+
- n<1K
|
| 6 |
+
tags:
|
| 7 |
+
- llama
|
| 8 |
+
- gemma4
|
| 9 |
+
- qwen3
|
| 10 |
+
- transformers
|
| 11 |
+
- safetensors
|
| 12 |
+
- gguf
|
| 13 |
+
- synthetic
|
| 14 |
+
- conformance
|
| 15 |
+
- compatibility-testing
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
# Deterministic Random Models
|
| 19 |
+
|
| 20 |
+
This dataset contains nine small, deterministic language-model fixtures for
|
| 21 |
+
model-format, loader, inference, compatibility, and conformance testing. They
|
| 22 |
+
are not trained models and must not be used for language-model quality
|
| 23 |
+
evaluation.
|
| 24 |
+
|
| 25 |
+
All weights are synthetic and deterministically generated. No original model
|
| 26 |
+
checkpoint weights are included.
|
| 27 |
+
|
| 28 |
+
## Cases
|
| 29 |
+
|
| 30 |
+
| Case | Architecture | Parameters | Hugging Face | GGUF | Notable feature |
|
| 31 |
+
|---|---|---:|---|---|---|
|
| 32 |
+
| `tinyllama-chat` | Llama | 303,744 | F32 | Q4_K_M | GQA, query/KV ratio 8 |
|
| 33 |
+
| `smollm2-instruct` | Llama | 46,320 | F32 | Q4_K_M | GQA, query/KV ratio 3 |
|
| 34 |
+
| `mobilellama-chat` | Llama | 9,296 | F32 | Q4_K_M | MHA |
|
| 35 |
+
| `minicpm5` | Llama | 1,409,664 | F32 | Q4_K_M | explicit head dimension, multiple EOS IDs |
|
| 36 |
+
| `deepseek-coder` | Llama | 9,296 | F32 | Q4_K_M | linear RoPE scaling |
|
| 37 |
+
| `hermes3-llama31` | Llama | 86,336 | F32 | Q4_K_M | Llama 3 RoPE scaling |
|
| 38 |
+
| `livekit-turn-detector` | Llama | 132,336 | F32 | Q4_K_M | explicit head dimension, GQA |
|
| 39 |
+
| `gemma4-random-model` | Gemma 4 | 1,519,168 | BF16 | Q4_0 | five-local/one-global attention schedule |
|
| 40 |
+
| `qwen3-random-model` | Qwen 3 | 508,800 | BF16 | Q4_0 | wide Q projection and Q/K head norms |
|
| 41 |
+
|
| 42 |
+
The seven Llama cases are derived from real Hugging Face configuration files by
|
| 43 |
+
a preservation-first shrinker. Gemma 4 and Qwen 3 cannot be reduced by selecting
|
| 44 |
+
each field independently, so their tiny geometries preserve architecture-specific
|
| 45 |
+
ratios, tensor inventories, and layer schedules observed in locally downloaded
|
| 46 |
+
upstream GGUF models. Published case names use `random-model` rather than
|
| 47 |
+
`tiny-model` to avoid collision with a separately maintained TinyModel collection.
|
| 48 |
+
|
| 49 |
+
## Formats and layout
|
| 50 |
+
|
| 51 |
+
The Llama cases retain the original dataset layout:
|
| 52 |
+
|
| 53 |
+
```text
|
| 54 |
+
<llama-case>/
|
| 55 |
+
|-- package/model.safetensors # canonical F32 weights
|
| 56 |
+
|-- gguf/model-Q4_K_M.gguf
|
| 57 |
+
|-- tokenizer/
|
| 58 |
+
|-- reference/outputs.safetensors
|
| 59 |
+
|-- inputs.safetensors
|
| 60 |
+
|-- case.json
|
| 61 |
+
|-- provenance.json
|
| 62 |
+
|-- source-config.json
|
| 63 |
+
|-- shrunk-config.json
|
| 64 |
+
|-- config-diff.json
|
| 65 |
+
`-- validation.json
|
| 66 |
+
```
|
| 67 |
+
|
| 68 |
+
The architecture-specific cases use:
|
| 69 |
+
|
| 70 |
+
```text
|
| 71 |
+
<random-model-case>/
|
| 72 |
+
|-- hf-bf16/
|
| 73 |
+
| |-- config.json
|
| 74 |
+
| |-- model.safetensors
|
| 75 |
+
| |-- tokenizer.json
|
| 76 |
+
| `-- tokenizer_config.json
|
| 77 |
+
|-- gguf-q4_0/
|
| 78 |
+
| |-- <case>-Q4_0.gguf
|
| 79 |
+
| `-- quantize.log
|
| 80 |
+
|-- reference/
|
| 81 |
+
| |-- inputs.json
|
| 82 |
+
| |-- hf-outputs.safetensors
|
| 83 |
+
| `-- gguf-native.json
|
| 84 |
+
|-- CONFIG_DECISION.md
|
| 85 |
+
`-- metadata.json
|
| 86 |
+
```
|
| 87 |
+
|
| 88 |
+
`manifest.json` is the machine-readable index of all nine model packages and
|
| 89 |
+
their SHA-256 hashes and sizes.
|
| 90 |
+
|
| 91 |
+
## Synthetic weights and tokenizers
|
| 92 |
+
|
| 93 |
+
Weights use the `tlfloat::LCG64` recurrence with multiplier
|
| 94 |
+
`6364136223846793005`, increment `1442695040888963407`, and ten warm-up steps.
|
| 95 |
+
Each case records its seed and provenance.
|
| 96 |
+
|
| 97 |
+
The reduced models use deterministic 128-token auxiliary vocabularies. These
|
| 98 |
+
tokenizers cover token IDs `0..127` and preserve each case's special-token
|
| 99 |
+
semantics, but they do not reproduce the linguistic behavior of the original
|
| 100 |
+
tokenizer. Explicit token IDs are the primary numerical-test interface.
|
| 101 |
+
|
| 102 |
+
## GGUF generation and validation
|
| 103 |
+
|
| 104 |
+
GGUF files were generated with upstream `ggml-org/llama.cpp` commit
|
| 105 |
+
`40b740ad05c531b9d57aca6698c3ed553a9e784c`.
|
| 106 |
+
|
| 107 |
+
Every retained GGUF was loaded through that revision and exercised with direct
|
| 108 |
+
token IDs for prefill, cached decode, logit extraction, finite-value checks, and
|
| 109 |
+
repeated-execution checks. The effective EOG token set was checked against the
|
| 110 |
+
model EOS semantics. Per-case metadata records the actual tensor-type histogram,
|
| 111 |
+
hashes, commands, and informational comparison with the corresponding
|
| 112 |
+
Transformers reference.
|
| 113 |
+
|
| 114 |
+
Q4_K_M and Q4_0 are lossy formats. Their logits are not required to equal the
|
| 115 |
+
F32 or BF16 reference exactly.
|
| 116 |
+
|
| 117 |
+
## Reproducibility and scope
|
| 118 |
+
|
| 119 |
+
The Hugging Face weights, configs, and GGUF outputs for Gemma 4 and Qwen 3 were
|
| 120 |
+
independently regenerated and found byte-identical. The Llama cases retain their
|
| 121 |
+
source revisions, source-config hashes, shrink decisions, and generation
|
| 122 |
+
provenance in each case directory.
|
| 123 |
+
|
| 124 |
+
This dataset is not a pretrained-model collection, a model-quality benchmark,
|
| 125 |
+
or a reproduction of upstream weights or tokenizers. Source-derived configuration
|
| 126 |
+
and metadata files may remain subject to terms of their respective upstream
|
| 127 |
+
repositories; consult their recorded provenance before redistribution.
|
| 128 |
+
|
| 129 |
+
See `REPORT.md`, `GGUF_Q4_K_M_REPORT.json`, and
|
| 130 |
+
`GEMMA4_QWEN3_REPORT.json` for collection-level summaries.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SHA256SUMS
ADDED
|
@@ -0,0 +1,164 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
a9498453b9883cadce5862a6d8a862949d8a49b3690a5a88673cea1b7b866b42 GEMMA4_QWEN3_REPORT.json
|
| 2 |
+
18ec0cdad98853d7f10381790713f0b3190bd4f24962594bf576e11fdb07f76f GGUF_Q4_K_M_ADDED_FOUR_REPORT.json
|
| 3 |
+
695036ee0e223d3d79170fb3a0f795eb88f6337fb2e29c18f0b549979c057208 GGUF_Q4_K_M_REPORT.json
|
| 4 |
+
5e8d5eeee84a35177cba72fe8487d04295d2a9c52eb790b16ef5414eabbbcf65 README.md
|
| 5 |
+
95d67a407dc96839250fe23e85e0a5bab9d355ee463b0c87bf9e33164c952b52 REPORT.md
|
| 6 |
+
02130c5ef4fe4e00bf26cc6e0eb288b90916acf827031bf572ffc02a48d5f3f0 deepseek-coder/case.json
|
| 7 |
+
616662945b2382e3c4ef36c05b40ebacea17e2e16fa3a723b7fd49eb5d0e9fdd deepseek-coder/config-diff.json
|
| 8 |
+
f47850275b039df486445bb70ce51ae0c8b9872793231e02cca07b0dedf6fb8b deepseek-coder/gguf/metadata.json
|
| 9 |
+
8557d99db9de6b588628f8fead576ff85b26edbdc8df176050b59a28acf720f3 deepseek-coder/gguf/model-Q4_K_M.gguf
|
| 10 |
+
450bd48506eab19d3bc5d94e7bb847ce46d98d8dd54c14a519e4ff2c7f5bf86e deepseek-coder/gguf/reference.json
|
| 11 |
+
2b49b7cca71e662452eb97b184578af4f59e9a93bc541d621986836cd7e2c395 deepseek-coder/inputs.safetensors
|
| 12 |
+
1385d0151ad8bfe96845e0301e85e01cdab09ba16c11348e838754a2fb9505c9 deepseek-coder/package/config.json
|
| 13 |
+
a524bd3d991c192f2159aea11827c28393355c254a8530667e0fe8aeda3b8eda deepseek-coder/package/generation_config.json
|
| 14 |
+
cba3bb2298077f3bdeee9da78a4d0ae7586c3a3964e7a40eb2f9e5dc2631c4cc deepseek-coder/package/model.safetensors
|
| 15 |
+
a09ac290f288f81d96113e30767f088b32c623e26d02d15581d318287d072122 deepseek-coder/provenance.json
|
| 16 |
+
4ceef3c5d1268f4fea0922628dab26f78f0dba84a6cebc1528152ffc75f3da64 deepseek-coder/reference/outputs.safetensors
|
| 17 |
+
1385d0151ad8bfe96845e0301e85e01cdab09ba16c11348e838754a2fb9505c9 deepseek-coder/shrunk-config.json
|
| 18 |
+
a3a2ce1a623b367d3799fb0c1e1ba12d5b8fa51a8e7abba14d10dd3739cd73e4 deepseek-coder/source-config.json
|
| 19 |
+
13c3140dfda642fa7435cb045273d269e0a687626896f21d8cbb42559824ac77 deepseek-coder/tokenizer/metadata.json
|
| 20 |
+
b80f4edf3204563fd78e3c95498aa4ceb9af1770f52869c638d33be9124a43a5 deepseek-coder/tokenizer/special_tokens_map.json
|
| 21 |
+
0f88117a2f8c52a9eabe2d61f7301b6f9b58b7a56644888da4ec9970b1efbcee deepseek-coder/tokenizer/tokenizer.model
|
| 22 |
+
603a68ffd4df8d0b01492da00fcd7b7386f7a8bbe90e92b81b82516a9231fbfb deepseek-coder/tokenizer/tokenizer_config.json
|
| 23 |
+
7b1258e1304c5f09f3bc64cd4b569e7ddfa55a062c0581d0e5cb1a3d7a17fcc8 deepseek-coder/tokenizer/vocabulary.json
|
| 24 |
+
aa20ff35795ac323bbdbc81c292f0fa74bb81f9026b88cd01c40c4d81e428d8c deepseek-coder/validation.json
|
| 25 |
+
399fff213eafc2d462587c9031564b5aafcb99436fc965d9f4e6c8677b6f1837 gemma4-random-model/CONFIG_DECISION.md
|
| 26 |
+
2b631587994acd127d3e6fcc67552c707d6fdba22beada963597387b9e814881 gemma4-random-model/gguf-q4_0/gemma4-random-model-Q4_0.gguf
|
| 27 |
+
5b733665980cfba8e31508035a6088b0e53f9a09c68bd0fcb0f53721bb140f1e gemma4-random-model/gguf-q4_0/quantize.log
|
| 28 |
+
7386dc7fbb3fc1e83a7db585d088c646183c8c700581bfc12b95390a515c6ba1 gemma4-random-model/hf-bf16/config.json
|
| 29 |
+
f0ce61128449f564ff1dccf316e54c54429f5c5ae9a398803de39d452a671e85 gemma4-random-model/hf-bf16/generation_config.json
|
| 30 |
+
18c8b09759c831fbc9d6a8caf7df8e9d395508d4aec09336167f675527b3a360 gemma4-random-model/hf-bf16/model.safetensors
|
| 31 |
+
8538827f687d1fd46c3de2ba983d0af5e705c0b0661bab1e8f261a9372046d4d gemma4-random-model/hf-bf16/tokenizer.json
|
| 32 |
+
729e9569f612365498a64b12bf1c2fc8816b8b56cba7be3c5841ab1b0a346a7f gemma4-random-model/hf-bf16/tokenizer_config.json
|
| 33 |
+
d5f3c821f738e7cea4c8a9abb9d8283f168b23e67cec7528dfaa84f7be48094f gemma4-random-model/metadata.json
|
| 34 |
+
ceb65d119a54448e1d7ebbb5431284979f33ce309966b3149f667dc4caa24911 gemma4-random-model/reference/gguf-native.json
|
| 35 |
+
ffa41b6c27bab211af7994632041ddedf47c460ad6b89482909d793604831d38 gemma4-random-model/reference/hf-outputs.safetensors
|
| 36 |
+
719a2f5ea966e92e42ebcc43dd73f0714b5d740c9f426d22c942dbb1e7efb6ab gemma4-random-model/reference/inputs.json
|
| 37 |
+
94a8d82acf2fde73ae5095df8f17c0e2303df4510d0836f3c5c6d65ed51444e5 hermes3-llama31/case.json
|
| 38 |
+
6c0670415f473f79fed118e88160012de23a21df169ed664c2f56be817aa755d hermes3-llama31/config-diff.json
|
| 39 |
+
dae067e6b71670df248f9d3cec59ad9c16754f470808135e24590ff3369280ab hermes3-llama31/gguf/metadata.json
|
| 40 |
+
6b53e66bd258178cb1ceb6f89ad36a3b909e912c430ec5ccac06a476d6a652e4 hermes3-llama31/gguf/model-Q4_K_M.gguf
|
| 41 |
+
d1feb8950a9351725c8db93b3d52ef2bae231a3a90f832f6008da4bcc2fd4633 hermes3-llama31/gguf/reference.json
|
| 42 |
+
2b49b7cca71e662452eb97b184578af4f59e9a93bc541d621986836cd7e2c395 hermes3-llama31/inputs.safetensors
|
| 43 |
+
5ddca639398c8e5571a4d8670ea1b111a78c1cdb4342eafb22c68abb1325efcc hermes3-llama31/package/config.json
|
| 44 |
+
a524bd3d991c192f2159aea11827c28393355c254a8530667e0fe8aeda3b8eda hermes3-llama31/package/generation_config.json
|
| 45 |
+
22d5f7094e33c1e50eb689b20f56094239f0df30a23b17ef508ce1a6b49c81dc hermes3-llama31/package/model.safetensors
|
| 46 |
+
6353104f174f21f74e825fe2a2dbf3d409244c759ba4bcb9e41984102ed64224 hermes3-llama31/provenance.json
|
| 47 |
+
97918f673a3659e9cff825ec69b974cb6d8ef2cd8e19da0c4f3da2db0363f69d hermes3-llama31/reference/outputs.safetensors
|
| 48 |
+
5ddca639398c8e5571a4d8670ea1b111a78c1cdb4342eafb22c68abb1325efcc hermes3-llama31/shrunk-config.json
|
| 49 |
+
7e189a0da074da6a878d5a276336caf3d62c57138f461bc6239402639f1bc6f5 hermes3-llama31/source-config.json
|
| 50 |
+
13c3140dfda642fa7435cb045273d269e0a687626896f21d8cbb42559824ac77 hermes3-llama31/tokenizer/metadata.json
|
| 51 |
+
b80f4edf3204563fd78e3c95498aa4ceb9af1770f52869c638d33be9124a43a5 hermes3-llama31/tokenizer/special_tokens_map.json
|
| 52 |
+
0f88117a2f8c52a9eabe2d61f7301b6f9b58b7a56644888da4ec9970b1efbcee hermes3-llama31/tokenizer/tokenizer.model
|
| 53 |
+
603a68ffd4df8d0b01492da00fcd7b7386f7a8bbe90e92b81b82516a9231fbfb hermes3-llama31/tokenizer/tokenizer_config.json
|
| 54 |
+
7b1258e1304c5f09f3bc64cd4b569e7ddfa55a062c0581d0e5cb1a3d7a17fcc8 hermes3-llama31/tokenizer/vocabulary.json
|
| 55 |
+
0867d4a07507a89dfded679b1950faaefa38b6a7b80140fe5d4862bd5d86c8e0 hermes3-llama31/validation.json
|
| 56 |
+
a4aab6c894dcc48aaace2f6b6e72f164c1e1e405b7bcfc00f1d532490d36dc43 livekit-turn-detector/case.json
|
| 57 |
+
6c480775de9a5f6a2ddb895a1b3654ad0e8c70ce3138da76b10f3f2af036325f livekit-turn-detector/config-diff.json
|
| 58 |
+
1e6df9143a664dc87031c5b8562cd3e0d31e540f7a85274ac008cd64c7a64294 livekit-turn-detector/gguf/metadata.json
|
| 59 |
+
29643572ec796cace456931e906b8357827a78df07007a937632bc72c4b20d0e livekit-turn-detector/gguf/model-Q4_K_M.gguf
|
| 60 |
+
9f8ecec5f05d83347e346754a20b202272786b58fc5d8aeb97dac86697d197c7 livekit-turn-detector/gguf/reference.json
|
| 61 |
+
2b49b7cca71e662452eb97b184578af4f59e9a93bc541d621986836cd7e2c395 livekit-turn-detector/inputs.safetensors
|
| 62 |
+
af24bb263d016a531709c1dc49250646cd70795235ec1379466e5f0069530ab2 livekit-turn-detector/package/config.json
|
| 63 |
+
ffcd36a5dfc0a7dc50fcc0ebcdc6ad4b9fb5e34ae88b97ef086464759bbf106f livekit-turn-detector/package/generation_config.json
|
| 64 |
+
2c696aa8fac754eebf2534453f80e67502dad635d939bf329f765b3d4f19ad2c livekit-turn-detector/package/model.safetensors
|
| 65 |
+
6d751e12e6cb29421fd316d6f4468335ace6c1207ec8e06886317392ceb72e9c livekit-turn-detector/provenance.json
|
| 66 |
+
0f1d6be628b1cada9df780c26ee204f723a717e3f2a323081db535b22c847caf livekit-turn-detector/reference/outputs.safetensors
|
| 67 |
+
af24bb263d016a531709c1dc49250646cd70795235ec1379466e5f0069530ab2 livekit-turn-detector/shrunk-config.json
|
| 68 |
+
e8feb37fa6f974232742d4e223e40928ccc8dabe1906ce97090e14b5753dbcc1 livekit-turn-detector/source-config.json
|
| 69 |
+
08ea5e05ba247548639ef808941a4d8dc73b92e4aed3bed7edf5bf604babe0ba livekit-turn-detector/tokenizer/metadata.json
|
| 70 |
+
f003d32e36ddc9d7c7a50c186da5c544b2828a0d04ca62aeac741d765727a635 livekit-turn-detector/tokenizer/special_tokens_map.json
|
| 71 |
+
0f88117a2f8c52a9eabe2d61f7301b6f9b58b7a56644888da4ec9970b1efbcee livekit-turn-detector/tokenizer/tokenizer.model
|
| 72 |
+
564a5f0d3380d83d0ffcfa509a5e5369c0610f586cb6b3d0d45ccaee76610327 livekit-turn-detector/tokenizer/tokenizer_config.json
|
| 73 |
+
7b1258e1304c5f09f3bc64cd4b569e7ddfa55a062c0581d0e5cb1a3d7a17fcc8 livekit-turn-detector/tokenizer/vocabulary.json
|
| 74 |
+
391312ee129392e2b35b6a238593ca5ddff3dd51c6c324135f1bb0114be1e068 livekit-turn-detector/validation.json
|
| 75 |
+
4ef64a4405f5f193022a8ecbc70513ac49278ac6b1ce2f101a98c8bf56f4c9a2 manifest.json
|
| 76 |
+
047c4545232dc055c2c7e4a30a70c22e0e75e9e777e539732128f65c32b0c1cb minicpm5/case.json
|
| 77 |
+
282a55aae55b59573109fe37222197f298600ad691573bcd84ea5d4dc1afcc0a minicpm5/config-diff.json
|
| 78 |
+
d088266a01cd2f9a6107877932d6af9f65e6d00202292226eab76af8ea0e889f minicpm5/gguf/metadata.json
|
| 79 |
+
b9e0e01198ac04fc0239b602007cd4fec8fb93a0e334361c2af92227e4ff8981 minicpm5/gguf/model-Q4_K_M.gguf
|
| 80 |
+
67b086485cab147a3c6c944c9c04099b25c65afa4944c45fcf08aba13581e344 minicpm5/gguf/reference.json
|
| 81 |
+
2b49b7cca71e662452eb97b184578af4f59e9a93bc541d621986836cd7e2c395 minicpm5/inputs.safetensors
|
| 82 |
+
ce27ca4c5e50fdb470c92f0481a63536be162b79241a7dc790008f20dd2698fa minicpm5/package/config.json
|
| 83 |
+
be5801ef67d4d476194b66a04c174f27c9e9d5a17e9e6ea56b9e3b1fe6b16c2b minicpm5/package/generation_config.json
|
| 84 |
+
d938e83c12df6357c39660fbc4572b454b87e196acafdcc54699e2f5c25bc5ab minicpm5/package/model.safetensors
|
| 85 |
+
885f3f3a4892d68a8edc102fcd4a1061809109223afe4818bb0f56f5dbb81d28 minicpm5/provenance.json
|
| 86 |
+
a322c51b7d22e56e983cca2f27eef1b9a42b18709a5886f41777d555d4f8243a minicpm5/reference/outputs.safetensors
|
| 87 |
+
ce27ca4c5e50fdb470c92f0481a63536be162b79241a7dc790008f20dd2698fa minicpm5/shrunk-config.json
|
| 88 |
+
6a6509b646cb3169616c5ffc3196e7ccaf9d4d6bc17b266581d241a31c217714 minicpm5/source-config.json
|
| 89 |
+
5522a2a41f78185d34b54729b2a4e679fea4626c84bf44753650936859d88016 minicpm5/tokenizer/metadata.json
|
| 90 |
+
4f35d5d0dfac2e51bf23a35e174ef64df4c6239ecdde93304759c611a031b382 minicpm5/tokenizer/special_tokens_map.json
|
| 91 |
+
517673e2ef9f9b9a667d03914009d1cec25514c1d8a1f8e0eded4d9f44eab94d minicpm5/tokenizer/tokenizer.model
|
| 92 |
+
476f5f7e5b53aaea02250f7b152a68ae795f561abdeb5db465a1c93d1ba294bf minicpm5/tokenizer/tokenizer_config.json
|
| 93 |
+
cf5fd07e0df593dc5a43ae647f1f3d1898588a5ec6b5af6ea967cf82be72fd99 minicpm5/tokenizer/vocabulary.json
|
| 94 |
+
ab69d173daccd2f7d4e2634b39f725a1b3a1d3285e7bb1f3ad4976296bec2e05 minicpm5/validation.json
|
| 95 |
+
e3f0830c9882cf8aaf552a20ead0b3a8fb1c5151352d734b61d03c0717c478da mobilellama-chat/case.json
|
| 96 |
+
f8b26026f91be516da2a729f530530a0f0f585e81e43ea5534c24d75af275e0c mobilellama-chat/config-diff.json
|
| 97 |
+
741c1e5033fe692b48c4bb2e27ad7fe9ff718561f4af26f836ba0db2aa2b387d mobilellama-chat/gguf/metadata.json
|
| 98 |
+
c5f51217248a246dccd38037b1f1e3d9f1c0fce977a369fd8a848630259719f9 mobilellama-chat/gguf/model-Q4_K_M.gguf
|
| 99 |
+
55734e6f5e15245b9fa177afe96109bce99b2003dd2776ba185b184a9aedeac6 mobilellama-chat/gguf/reference.json
|
| 100 |
+
2b49b7cca71e662452eb97b184578af4f59e9a93bc541d621986836cd7e2c395 mobilellama-chat/inputs.safetensors
|
| 101 |
+
c4543eacdaf147a644c61f03a9bef6e99b4b3b04812f12e7d07fd5b19aeeb54b mobilellama-chat/package/config.json
|
| 102 |
+
0550b7d878120fe4cf6217115dcfabada36893981a6c10876de3f9d0c84b6ea5 mobilellama-chat/package/generation_config.json
|
| 103 |
+
cba3bb2298077f3bdeee9da78a4d0ae7586c3a3964e7a40eb2f9e5dc2631c4cc mobilellama-chat/package/model.safetensors
|
| 104 |
+
cdc4a98af434ba95803504b77e3276d09a9190564ae91cb253741b71716aa817 mobilellama-chat/provenance.json
|
| 105 |
+
404bb1828fe7282768f796774cd7d50bad4804e20b756ddd0d46dfd821e591ff mobilellama-chat/reference/outputs.safetensors
|
| 106 |
+
c4543eacdaf147a644c61f03a9bef6e99b4b3b04812f12e7d07fd5b19aeeb54b mobilellama-chat/shrunk-config.json
|
| 107 |
+
1e0f3e66ba7c3824ae2a2352df692c50d0e1b80df3b1fd1338670084de905aaf mobilellama-chat/source-config.json
|
| 108 |
+
ae54c625121024de84c19c900cb4b969f43aaa838696a7cbfa6467a97a89d65e mobilellama-chat/tokenizer/metadata.json
|
| 109 |
+
c7869b435de14d46342ee8a81758ecfb18e564629d2a94f9f2a542fee970e16e mobilellama-chat/tokenizer/special_tokens_map.json
|
| 110 |
+
517673e2ef9f9b9a667d03914009d1cec25514c1d8a1f8e0eded4d9f44eab94d mobilellama-chat/tokenizer/tokenizer.model
|
| 111 |
+
b9da2129fedf78450a1861f2668553934d96b647b3763c28df748ea44de59017 mobilellama-chat/tokenizer/tokenizer_config.json
|
| 112 |
+
cf5fd07e0df593dc5a43ae647f1f3d1898588a5ec6b5af6ea967cf82be72fd99 mobilellama-chat/tokenizer/vocabulary.json
|
| 113 |
+
25552c5838a9362d8327585337fbe554560f6a50268d20059a5cc6bf9da06e67 mobilellama-chat/validation.json
|
| 114 |
+
d1b96dbe3547f672787456c155a61f7e5416a81faf5e2a8836833da36d8b1690 qwen3-random-model/CONFIG_DECISION.md
|
| 115 |
+
f5bd831677b2b350a581f768a5753ef15a49f0b29b89728692f18e498181e7e5 qwen3-random-model/gguf-q4_0/quantize.log
|
| 116 |
+
6af2e0d230a7919c6b1a02b6462f0441ffbadbb8188b1bd9c0f8174fecd9308f qwen3-random-model/gguf-q4_0/qwen3-random-model-Q4_0.gguf
|
| 117 |
+
6edb7aa5560d7554cb76e21e54cef67116eff94f0891fd8da905e550c12bef63 qwen3-random-model/hf-bf16/config.json
|
| 118 |
+
2e4002dc0b41024f8f58872187a00d4f113433c5af597ce89114e38c7ac3ab38 qwen3-random-model/hf-bf16/generation_config.json
|
| 119 |
+
0960438e0541dfa529703f5e2b37565aec66b354f6e45bfdf121ecadfcd86dd4 qwen3-random-model/hf-bf16/model.safetensors
|
| 120 |
+
8538827f687d1fd46c3de2ba983d0af5e705c0b0661bab1e8f261a9372046d4d qwen3-random-model/hf-bf16/tokenizer.json
|
| 121 |
+
729e9569f612365498a64b12bf1c2fc8816b8b56cba7be3c5841ab1b0a346a7f qwen3-random-model/hf-bf16/tokenizer_config.json
|
| 122 |
+
d7f1008d2d3f6d775fe2af5be0c434bc9b4a4f0a84caa2053489b44da4b54304 qwen3-random-model/metadata.json
|
| 123 |
+
b8a1b0bc02de0bccf136c1783290c59b5a39a9db64bac6528ca07717f7ef6f49 qwen3-random-model/reference/gguf-native.json
|
| 124 |
+
bd0c82ac539035bd28f34e75c09950e377db649c7e6a5d76b99846542d7768e7 qwen3-random-model/reference/hf-outputs.safetensors
|
| 125 |
+
719a2f5ea966e92e42ebcc43dd73f0714b5d740c9f426d22c942dbb1e7efb6ab qwen3-random-model/reference/inputs.json
|
| 126 |
+
97dd70dd17bbd3a12ab12a69ed003ea333395686b79fe78e490195e18e885428 report.json
|
| 127 |
+
ce49a080a5152505160d2791142206a2937931952d280b74a312417ba279e857 smollm2-instruct/case.json
|
| 128 |
+
979df510e67124e13a58c1247d20c1a68ec9218232cea9b50ba0b10ce5f87ed2 smollm2-instruct/config-diff.json
|
| 129 |
+
cf70ac911c0a6d4b86e264fe33a78b74b04516ed1d5fa3c67d7c22f40901c861 smollm2-instruct/gguf/metadata.json
|
| 130 |
+
8224570d8c01310dc10083e28da8b077503469fe06d701f44b047011065fda43 smollm2-instruct/gguf/model-Q4_K_M.gguf
|
| 131 |
+
63a6c6cce842bb21ce3cb0825814b33ad839af6cd56f375db1d825dfdde219da smollm2-instruct/gguf/reference.json
|
| 132 |
+
2b49b7cca71e662452eb97b184578af4f59e9a93bc541d621986836cd7e2c395 smollm2-instruct/inputs.safetensors
|
| 133 |
+
37d236b396e6e8912abf08854c58185772270900d402169dd284618e32087f8c smollm2-instruct/package/config.json
|
| 134 |
+
bb9a9e08898b17e76b4dc8079ff2dfcb93b449144483c1aca61e84294ca5fdbc smollm2-instruct/package/generation_config.json
|
| 135 |
+
b5fd132288d1a8e8a4c3dd57ff7bc863ba4e3aa7d0c58b8fd3a178f4b4c70f7f smollm2-instruct/package/model.safetensors
|
| 136 |
+
3dc317b8e1f932b8a2eb632e2bef706e5e096fd958bd7809465a1b98d17e6c22 smollm2-instruct/provenance.json
|
| 137 |
+
d4a932badf1309a3bf52a5711d6b614276f54c7985fcf3510ae6c67f75a16967 smollm2-instruct/reference/outputs.safetensors
|
| 138 |
+
37d236b396e6e8912abf08854c58185772270900d402169dd284618e32087f8c smollm2-instruct/shrunk-config.json
|
| 139 |
+
8eb740e8bbe4cff95ea7b4588d17a2432deb16e8075bc5828ff7ba9be94d982a smollm2-instruct/source-config.json
|
| 140 |
+
54703cd111da1a351e83abc6a7ab74ff007558c75092c6d0f856ef63dfe5b29a smollm2-instruct/tokenizer/metadata.json
|
| 141 |
+
833c7a70faf348f64bc7e62aa070b575205b5acc47201e109ec37a3516e0eba8 smollm2-instruct/tokenizer/special_tokens_map.json
|
| 142 |
+
517673e2ef9f9b9a667d03914009d1cec25514c1d8a1f8e0eded4d9f44eab94d smollm2-instruct/tokenizer/tokenizer.model
|
| 143 |
+
2932a00a19894e082de22185578d4535c33f8893f4987cdeb913ec95d08f3401 smollm2-instruct/tokenizer/tokenizer_config.json
|
| 144 |
+
cf5fd07e0df593dc5a43ae647f1f3d1898588a5ec6b5af6ea967cf82be72fd99 smollm2-instruct/tokenizer/vocabulary.json
|
| 145 |
+
62f70e96ae4a7b114b522c412c131b2710f85bae174d2630bc4d8879028a7483 smollm2-instruct/validation.json
|
| 146 |
+
8ffefc53e4e83fb5e5cba25e59f8f8246ac38243769e8d3b6266144ef6aa9529 tinyllama-chat/case.json
|
| 147 |
+
30b65ef261fed6560ea3c0073aade016c4285ef1c4a372921d01e4b29bcb2ecf tinyllama-chat/config-diff.json
|
| 148 |
+
9ec815048e6120c0d82b1e073891801c57ab89ba04dadc835a99b31282169284 tinyllama-chat/gguf/metadata.json
|
| 149 |
+
32bfddeebc736370580c83983cf01380a157c215600a5f1faef2bbb2ffdf9bed tinyllama-chat/gguf/model-Q4_K_M.gguf
|
| 150 |
+
748c939b4596839dc008051bb6c2de4a9c33162d222a9ca0331384e379a7912e tinyllama-chat/gguf/reference.json
|
| 151 |
+
2b49b7cca71e662452eb97b184578af4f59e9a93bc541d621986836cd7e2c395 tinyllama-chat/inputs.safetensors
|
| 152 |
+
43282fa7d6b33c370f1a17f431cc744542ba92c647521c1948bebbb58ebbbbd7 tinyllama-chat/package/config.json
|
| 153 |
+
8ec2927388066dace37b43f0a84cbddee5889008d415fdaf925c9cc6eb4cdd8b tinyllama-chat/package/generation_config.json
|
| 154 |
+
36002fc8be09f37f051cf7fad569658f8f166d0c95cf134f42ba8a59e85f1e95 tinyllama-chat/package/model.safetensors
|
| 155 |
+
5098485919a96ead0aa3772390a5355aac9caef5107d69c490f8d6b6ff509274 tinyllama-chat/provenance.json
|
| 156 |
+
24858401afb8494ae64b576d837e3e9399304e7c27d0f98e742bf6dd99f5a63e tinyllama-chat/reference/outputs.safetensors
|
| 157 |
+
43282fa7d6b33c370f1a17f431cc744542ba92c647521c1948bebbb58ebbbbd7 tinyllama-chat/shrunk-config.json
|
| 158 |
+
486bedda3a6988332e60d9638a09ca4b260d34ebcf1b19e22cf3b140b63d8fe9 tinyllama-chat/source-config.json
|
| 159 |
+
31557b9dc91fb0900eec0d1ed18676fe6a478829d3a58392f95bb75a4de79fde tinyllama-chat/tokenizer/metadata.json
|
| 160 |
+
96bdbb8504d9967606e5f661ccc7cbbac44a3661af863a7a58614670a0ccab33 tinyllama-chat/tokenizer/special_tokens_map.json
|
| 161 |
+
517673e2ef9f9b9a667d03914009d1cec25514c1d8a1f8e0eded4d9f44eab94d tinyllama-chat/tokenizer/tokenizer.model
|
| 162 |
+
431228749bbf143836adf73cbcf31709ad61c448bfce901ae2c8891bc094ba01 tinyllama-chat/tokenizer/tokenizer_config.json
|
| 163 |
+
cf5fd07e0df593dc5a43ae647f1f3d1898588a5ec6b5af6ea967cf82be72fd99 tinyllama-chat/tokenizer/vocabulary.json
|
| 164 |
+
2cc1784cb4776a88fbeabf05327d1cc4607e99aadb446365685450b8b44fe7dc tinyllama-chat/validation.json
|
gemma4-random-model/CONFIG_DECISION.md
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Gemma 4 tiny fixture configuration decision
|
| 2 |
+
|
| 3 |
+
## Status
|
| 4 |
+
|
| 5 |
+
The text-only tiny configuration is fixed and generated under
|
| 6 |
+
`artifacts/gemma4-v0/gemma4-random-model` as a BF16 Hugging Face package and a
|
| 7 |
+
Q4_0 GGUF fixture.
|
| 8 |
+
|
| 9 |
+
The fixed Hugging Face implementation is Transformers 5.14.1
|
| 10 |
+
`Gemma4ForCausalLM` with `Gemma4TextConfig`. Its constructed trainable parameter
|
| 11 |
+
count is 1,519,168.
|
| 12 |
+
|
| 13 |
+
The local source file identifies itself as `general.architecture = gemma4`.
|
| 14 |
+
Repository and revision provenance are not inferable from the local directory and
|
| 15 |
+
remain intentionally unset.
|
| 16 |
+
|
| 17 |
+
## Source observations
|
| 18 |
+
|
| 19 |
+
The 12B GGUF v3 header uses alignment 32 and contains 667 tensors. Its core
|
| 20 |
+
geometry is:
|
| 21 |
+
|
| 22 |
+
- 48 layers arranged as eight repetitions of five sliding-window layers followed
|
| 23 |
+
by one global layer.
|
| 24 |
+
- Hidden width 3840 and FFN width 15360.
|
| 25 |
+
- 16 query heads.
|
| 26 |
+
- Local layers: 8 KV heads and head width 256.
|
| 27 |
+
- Global layers: 1 KV head and head width 512.
|
| 28 |
+
- Global layers omit a separate `attn_v.weight`; this is part of the schema and
|
| 29 |
+
must not be filled in by a generic Llama tensor template.
|
| 30 |
+
- Sliding window 1024, context 262144.
|
| 31 |
+
- Global/local RoPE bases 1000000/10000.
|
| 32 |
+
- Global/local RoPE dimensions 512/256.
|
| 33 |
+
- Final logit softcap 30 and RMS epsilon 1e-6.
|
| 34 |
+
- Tied token/output embedding; the official tensor inventory has no independent
|
| 35 |
+
`output.weight`.
|
| 36 |
+
|
| 37 |
+
The separate projector file identifies itself as `general.architecture = clip`
|
| 38 |
+
and `general.type = mmproj`. It is not included in the first text-only fixture.
|
| 39 |
+
|
| 40 |
+
## Tiny geometry
|
| 41 |
+
|
| 42 |
+
The selected geometry is defined in `configs/gemma4-tiny-v0.json`:
|
| 43 |
+
|
| 44 |
+
- 6 layers: one complete five-local/one-global schedule.
|
| 45 |
+
- Hidden width 128 and FFN width 512.
|
| 46 |
+
- 4 query heads.
|
| 47 |
+
- Local layers: 2 KV heads, head width 32.
|
| 48 |
+
- Global layer: 1 KV head, head width 64, no independent V projection.
|
| 49 |
+
- Context 128 and sliding window 64.
|
| 50 |
+
- Vocabulary 128 with PAD/EOS/BOS/UNK/MASK IDs 0/1/2/3/4.
|
| 51 |
+
|
| 52 |
+
This is a constrained scale-down rather than independently selected fields. It
|
| 53 |
+
preserves the official layer schedule, the 2:1 global/local head-width ratio, the
|
| 54 |
+
2:1 query/local-KV head ratio, the single global KV head, FFN ratio 4, separate
|
| 55 |
+
RoPE regimes, softcap, tied embeddings, and global shared-KV tensor inventory.
|
| 56 |
+
|
| 57 |
+
All matrix dimensions are multiples of 32. This is required so that a direct F32
|
| 58 |
+
GGUF can subsequently be quantized through the pinned Q4_0 path without changing
|
| 59 |
+
model geometry merely to satisfy quantization blocks.
|
| 60 |
+
|
| 61 |
+
## Expected GGUF tensor dimensions
|
| 62 |
+
|
| 63 |
+
GGUF dimensions are listed in reader order.
|
| 64 |
+
|
| 65 |
+
| Role | Local layers 0-4 | Global layer 5 |
|
| 66 |
+
|---|---:|---:|
|
| 67 |
+
| `attn_q.weight` | `[128, 128]` | `[128, 256]` |
|
| 68 |
+
| `attn_k.weight` | `[128, 64]` | `[128, 64]` |
|
| 69 |
+
| `attn_v.weight` | `[128, 64]` | absent |
|
| 70 |
+
| `attn_output.weight` | `[128, 128]` | `[256, 128]` |
|
| 71 |
+
| `attn_q_norm.weight` | `[32]` | `[64]` |
|
| 72 |
+
| `attn_k_norm.weight` | `[32]` | `[64]` |
|
| 73 |
+
|
| 74 |
+
Every layer also has FFN gate/up `[128, 512]`, FFN down `[512, 128]`,
|
| 75 |
+
hidden-width norms, and one scalar layer-output scale.
|
| 76 |
+
|
| 77 |
+
## Generation gates
|
| 78 |
+
|
| 79 |
+
Fixture generation is accepted only when:
|
| 80 |
+
|
| 81 |
+
- the direct writer emits `general.architecture = gemma4` and the exact tensor
|
| 82 |
+
role schedule above;
|
| 83 |
+
- a second generation is byte-identical;
|
| 84 |
+
- the F32 GGUF loads in the pinned llama.cpp revision;
|
| 85 |
+
- direct-token prefill and cached decode are finite and reproducible;
|
| 86 |
+
- the Q4_0 conversion retains the same geometry and loads successfully;
|
| 87 |
+
- F32 outputs are compared with an independently generated matched reference.
|
gemma4-random-model/gguf-q4_0/gemma4-random-model-Q4_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2b631587994acd127d3e6fcc67552c707d6fdba22beada963597387b9e814881
|
| 3 |
+
size 877088
|
gemma4-random-model/gguf-q4_0/quantize.log
ADDED
|
@@ -0,0 +1,136 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
llama_print_build_info: build = 1 (40b740a)
|
| 2 |
+
llama_print_build_info: built with Clang 21.1.8 for Linux x86_64
|
| 3 |
+
llama_quantize: quantizing '/home/codex/tmp/gemma4-final2-work-20260809/gemma4-random-model-F32.gguf' to 'artifacts/gemma4-v0/gemma4-random-model/gguf-q4_0/gemma4-random-model-Q4_0.gguf' as Q4_0
|
| 4 |
+
llama_model_loader: loaded meta data with 39 key-value pairs and 86 tensors from /home/codex/tmp/gemma4-final2-work-20260809/gemma4-random-model-F32.gguf (version GGUF V3 (latest))
|
| 5 |
+
llama_model_loader: Dumping metadata keys/values. Note: KV overrides do not apply in this output.
|
| 6 |
+
llama_model_loader: - kv 0: general.architecture str = gemma4
|
| 7 |
+
llama_model_loader: - kv 1: general.type str = model
|
| 8 |
+
llama_model_loader: - kv 2: general.name str = Tiny Gemma 4 Random
|
| 9 |
+
llama_model_loader: - kv 3: general.basename str = tiny-gemma4-random
|
| 10 |
+
llama_model_loader: - kv 4: general.alignment u32 = 32
|
| 11 |
+
llama_model_loader: - kv 5: gemma4.block_count u32 = 6
|
| 12 |
+
llama_model_loader: - kv 6: gemma4.context_length u32 = 128
|
| 13 |
+
llama_model_loader: - kv 7: gemma4.embedding_length u32 = 128
|
| 14 |
+
llama_model_loader: - kv 8: gemma4.feed_forward_length u32 = 512
|
| 15 |
+
llama_model_loader: - kv 9: gemma4.attention.head_count u32 = 4
|
| 16 |
+
llama_model_loader: - kv 10: gemma4.attention.head_count_kv arr[i32,6] = [2, 2, 2, 2, 2, 1]
|
| 17 |
+
llama_model_loader: - kv 11: gemma4.rope.freq_base f32 = 1000000.000000
|
| 18 |
+
llama_model_loader: - kv 12: gemma4.rope.freq_base_swa f32 = 10000.000000
|
| 19 |
+
llama_model_loader: - kv 13: gemma4.attention.layer_norm_rms_epsilon f32 = 0.000001
|
| 20 |
+
llama_model_loader: - kv 14: gemma4.attention.key_length u32 = 64
|
| 21 |
+
llama_model_loader: - kv 15: gemma4.attention.value_length u32 = 64
|
| 22 |
+
llama_model_loader: - kv 16: gemma4.attention.key_length_swa u32 = 32
|
| 23 |
+
llama_model_loader: - kv 17: gemma4.attention.value_length_swa u32 = 32
|
| 24 |
+
llama_model_loader: - kv 18: gemma4.final_logit_softcapping f32 = 30.000000
|
| 25 |
+
llama_model_loader: - kv 19: gemma4.attention.sliding_window u32 = 64
|
| 26 |
+
llama_model_loader: - kv 20: gemma4.attention.shared_kv_layers u32 = 0
|
| 27 |
+
llama_model_loader: - kv 21: gemma4.embedding_length_per_layer_input u32 = 0
|
| 28 |
+
llama_model_loader: - kv 22: gemma4.attention.sliding_window_pattern arr[bool,6] = [true, true, true, true, true, false]
|
| 29 |
+
llama_model_loader: - kv 23: gemma4.rope.dimension_count u32 = 64
|
| 30 |
+
llama_model_loader: - kv 24: gemma4.rope.dimension_count_swa u32 = 32
|
| 31 |
+
llama_model_loader: - kv 25: general.file_type u32 = 0
|
| 32 |
+
llama_model_loader: - kv 26: general.quantization_version u32 = 2
|
| 33 |
+
llama_model_loader: - kv 27: tokenizer.ggml.model str = gemma4
|
| 34 |
+
llama_model_loader: - kv 28: tokenizer.ggml.tokens arr[str,128] = ["<pad>", "<eos>", "<bos>", "<unk>", ...
|
| 35 |
+
llama_model_loader: - kv 29: tokenizer.ggml.scores arr[f32,128] = [-1000.000000, -1000.000000, -1000.00...
|
| 36 |
+
llama_model_loader: - kv 30: tokenizer.ggml.token_type arr[i32,128] = [3, 3, 3, 3, 3, 1, 1, 1, 1, 1, 1, 1, ...
|
| 37 |
+
llama_model_loader: - kv 31: tokenizer.ggml.merges arr[str,1] = ["a b"]
|
| 38 |
+
llama_model_loader: - kv 32: tokenizer.ggml.bos_token_id u32 = 2
|
| 39 |
+
llama_model_loader: - kv 33: tokenizer.ggml.eos_token_id u32 = 1
|
| 40 |
+
llama_model_loader: - kv 34: tokenizer.ggml.unknown_token_id u32 = 3
|
| 41 |
+
llama_model_loader: - kv 35: tokenizer.ggml.padding_token_id u32 = 0
|
| 42 |
+
llama_model_loader: - kv 36: tokenizer.ggml.mask_token_id u32 = 4
|
| 43 |
+
llama_model_loader: - kv 37: tokenizer.ggml.add_bos_token bool = true
|
| 44 |
+
llama_model_loader: - kv 38: tokenizer.ggml.add_space_prefix bool = false
|
| 45 |
+
llama_model_loader: - type f32: 86 tensors
|
| 46 |
+
[ 1/ 86] output_norm.weight - [ 128, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 47 |
+
[ 2/ 86] rope_freqs.weight - [ 32, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 48 |
+
[ 3/ 86] token_embd.weight - [ 128, 128, 1, 1], type = f32, converting to q4_0 .. size = 0.06 MiB -> 0.01 MiB
|
| 49 |
+
[ 4/ 86] blk.0.attn_k.weight - [ 128, 64, 1, 1], type = f32, converting to q4_0 .. size = 0.03 MiB -> 0.00 MiB
|
| 50 |
+
[ 5/ 86] blk.0.attn_k_norm.weight - [ 32, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 51 |
+
[ 6/ 86] blk.0.attn_norm.weight - [ 128, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 52 |
+
[ 7/ 86] blk.0.attn_output.weight - [ 128, 128, 1, 1], type = f32, converting to q4_0 .. size = 0.06 MiB -> 0.01 MiB
|
| 53 |
+
[ 8/ 86] blk.0.attn_q.weight - [ 128, 128, 1, 1], type = f32, converting to q4_0 .. size = 0.06 MiB -> 0.01 MiB
|
| 54 |
+
[ 9/ 86] blk.0.attn_q_norm.weight - [ 32, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 55 |
+
[ 10/ 86] blk.0.attn_v.weight - [ 128, 64, 1, 1], type = f32, converting to q4_0 .. size = 0.03 MiB -> 0.00 MiB
|
| 56 |
+
[ 11/ 86] blk.0.ffn_down.weight - [ 512, 128, 1, 1], type = f32, converting to q4_0 .. size = 0.25 MiB -> 0.04 MiB
|
| 57 |
+
[ 12/ 86] blk.0.ffn_gate.weight - [ 128, 512, 1, 1], type = f32, converting to q4_0 .. size = 0.25 MiB -> 0.04 MiB
|
| 58 |
+
[ 13/ 86] blk.0.ffn_norm.weight - [ 128, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 59 |
+
[ 14/ 86] blk.0.ffn_up.weight - [ 128, 512, 1, 1], type = f32, converting to q4_0 .. size = 0.25 MiB -> 0.04 MiB
|
| 60 |
+
[ 15/ 86] blk.0.layer_output_scale.weight - [ 1, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 61 |
+
[ 16/ 86] blk.0.post_attention_norm.weight - [ 128, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 62 |
+
[ 17/ 86] blk.0.post_ffw_norm.weight - [ 128, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 63 |
+
[ 18/ 86] blk.1.attn_k.weight - [ 128, 64, 1, 1], type = f32, converting to q4_0 .. size = 0.03 MiB -> 0.00 MiB
|
| 64 |
+
[ 19/ 86] blk.1.attn_k_norm.weight - [ 32, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 65 |
+
[ 20/ 86] blk.1.attn_norm.weight - [ 128, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 66 |
+
[ 21/ 86] blk.1.attn_output.weight - [ 128, 128, 1, 1], type = f32, converting to q4_0 .. size = 0.06 MiB -> 0.01 MiB
|
| 67 |
+
[ 22/ 86] blk.1.attn_q.weight - [ 128, 128, 1, 1], type = f32, converting to q4_0 .. size = 0.06 MiB -> 0.01 MiB
|
| 68 |
+
[ 23/ 86] blk.1.attn_q_norm.weight - [ 32, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 69 |
+
[ 24/ 86] blk.1.attn_v.weight - [ 128, 64, 1, 1], type = f32, converting to q4_0 .. size = 0.03 MiB -> 0.00 MiB
|
| 70 |
+
[ 25/ 86] blk.1.ffn_down.weight - [ 512, 128, 1, 1], type = f32, converting to q4_0 .. size = 0.25 MiB -> 0.04 MiB
|
| 71 |
+
[ 26/ 86] blk.1.ffn_gate.weight - [ 128, 512, 1, 1], type = f32, converting to q4_0 .. size = 0.25 MiB -> 0.04 MiB
|
| 72 |
+
[ 27/ 86] blk.1.ffn_norm.weight - [ 128, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 73 |
+
[ 28/ 86] blk.1.ffn_up.weight - [ 128, 512, 1, 1], type = f32, converting to q4_0 .. size = 0.25 MiB -> 0.04 MiB
|
| 74 |
+
[ 29/ 86] blk.1.layer_output_scale.weight - [ 1, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 75 |
+
[ 30/ 86] blk.1.post_attention_norm.weight - [ 128, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 76 |
+
[ 31/ 86] blk.1.post_ffw_norm.weight - [ 128, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 77 |
+
[ 32/ 86] blk.2.attn_k.weight - [ 128, 64, 1, 1], type = f32, converting to q4_0 .. size = 0.03 MiB -> 0.00 MiB
|
| 78 |
+
[ 33/ 86] blk.2.attn_k_norm.weight - [ 32, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 79 |
+
[ 34/ 86] blk.2.attn_norm.weight - [ 128, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 80 |
+
[ 35/ 86] blk.2.attn_output.weight - [ 128, 128, 1, 1], type = f32, converting to q4_0 .. size = 0.06 MiB -> 0.01 MiB
|
| 81 |
+
[ 36/ 86] blk.2.attn_q.weight - [ 128, 128, 1, 1], type = f32, converting to q4_0 .. size = 0.06 MiB -> 0.01 MiB
|
| 82 |
+
[ 37/ 86] blk.2.attn_q_norm.weight - [ 32, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 83 |
+
[ 38/ 86] blk.2.attn_v.weight - [ 128, 64, 1, 1], type = f32, converting to q4_0 .. size = 0.03 MiB -> 0.00 MiB
|
| 84 |
+
[ 39/ 86] blk.2.ffn_down.weight - [ 512, 128, 1, 1], type = f32, converting to q4_0 .. size = 0.25 MiB -> 0.04 MiB
|
| 85 |
+
[ 40/ 86] blk.2.ffn_gate.weight - [ 128, 512, 1, 1], type = f32, converting to q4_0 .. size = 0.25 MiB -> 0.04 MiB
|
| 86 |
+
[ 41/ 86] blk.2.ffn_norm.weight - [ 128, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 87 |
+
[ 42/ 86] blk.2.ffn_up.weight - [ 128, 512, 1, 1], type = f32, converting to q4_0 .. size = 0.25 MiB -> 0.04 MiB
|
| 88 |
+
[ 43/ 86] blk.2.layer_output_scale.weight - [ 1, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 89 |
+
[ 44/ 86] blk.2.post_attention_norm.weight - [ 128, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 90 |
+
[ 45/ 86] blk.2.post_ffw_norm.weight - [ 128, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 91 |
+
[ 46/ 86] blk.3.attn_k.weight - [ 128, 64, 1, 1], type = f32, converting to q4_0 .. size = 0.03 MiB -> 0.00 MiB
|
| 92 |
+
[ 47/ 86] blk.3.attn_k_norm.weight - [ 32, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 93 |
+
[ 48/ 86] blk.3.attn_norm.weight - [ 128, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 94 |
+
[ 49/ 86] blk.3.attn_output.weight - [ 128, 128, 1, 1], type = f32, converting to q4_0 .. size = 0.06 MiB -> 0.01 MiB
|
| 95 |
+
[ 50/ 86] blk.3.attn_q.weight - [ 128, 128, 1, 1], type = f32, converting to q4_0 .. size = 0.06 MiB -> 0.01 MiB
|
| 96 |
+
[ 51/ 86] blk.3.attn_q_norm.weight - [ 32, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 97 |
+
[ 52/ 86] blk.3.attn_v.weight - [ 128, 64, 1, 1], type = f32, converting to q4_0 .. size = 0.03 MiB -> 0.00 MiB
|
| 98 |
+
[ 53/ 86] blk.3.ffn_down.weight - [ 512, 128, 1, 1], type = f32, converting to q4_0 .. size = 0.25 MiB -> 0.04 MiB
|
| 99 |
+
[ 54/ 86] blk.3.ffn_gate.weight - [ 128, 512, 1, 1], type = f32, converting to q4_0 .. size = 0.25 MiB -> 0.04 MiB
|
| 100 |
+
[ 55/ 86] blk.3.ffn_norm.weight - [ 128, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 101 |
+
[ 56/ 86] blk.3.ffn_up.weight - [ 128, 512, 1, 1], type = f32, converting to q4_0 .. size = 0.25 MiB -> 0.04 MiB
|
| 102 |
+
[ 57/ 86] blk.3.layer_output_scale.weight - [ 1, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 103 |
+
[ 58/ 86] blk.3.post_attention_norm.weight - [ 128, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 104 |
+
[ 59/ 86] blk.3.post_ffw_norm.weight - [ 128, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 105 |
+
[ 60/ 86] blk.4.attn_k.weight - [ 128, 64, 1, 1], type = f32, converting to q4_0 .. size = 0.03 MiB -> 0.00 MiB
|
| 106 |
+
[ 61/ 86] blk.4.attn_k_norm.weight - [ 32, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 107 |
+
[ 62/ 86] blk.4.attn_norm.weight - [ 128, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 108 |
+
[ 63/ 86] blk.4.attn_output.weight - [ 128, 128, 1, 1], type = f32, converting to q4_0 .. size = 0.06 MiB -> 0.01 MiB
|
| 109 |
+
[ 64/ 86] blk.4.attn_q.weight - [ 128, 128, 1, 1], type = f32, converting to q4_0 .. size = 0.06 MiB -> 0.01 MiB
|
| 110 |
+
[ 65/ 86] blk.4.attn_q_norm.weight - [ 32, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 111 |
+
[ 66/ 86] blk.4.attn_v.weight - [ 128, 64, 1, 1], type = f32, converting to q4_0 .. size = 0.03 MiB -> 0.00 MiB
|
| 112 |
+
[ 67/ 86] blk.4.ffn_down.weight - [ 512, 128, 1, 1], type = f32, converting to q4_0 .. size = 0.25 MiB -> 0.04 MiB
|
| 113 |
+
[ 68/ 86] blk.4.ffn_gate.weight - [ 128, 512, 1, 1], type = f32, converting to q4_0 .. size = 0.25 MiB -> 0.04 MiB
|
| 114 |
+
[ 69/ 86] blk.4.ffn_norm.weight - [ 128, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 115 |
+
[ 70/ 86] blk.4.ffn_up.weight - [ 128, 512, 1, 1], type = f32, converting to q4_0 .. size = 0.25 MiB -> 0.04 MiB
|
| 116 |
+
[ 71/ 86] blk.4.layer_output_scale.weight - [ 1, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 117 |
+
[ 72/ 86] blk.4.post_attention_norm.weight - [ 128, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 118 |
+
[ 73/ 86] blk.4.post_ffw_norm.weight - [ 128, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 119 |
+
[ 74/ 86] blk.5.attn_k.weight - [ 128, 64, 1, 1], type = f32, converting to q4_0 .. size = 0.03 MiB -> 0.00 MiB
|
| 120 |
+
[ 75/ 86] blk.5.attn_k_norm.weight - [ 64, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 121 |
+
[ 76/ 86] blk.5.attn_norm.weight - [ 128, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 122 |
+
[ 77/ 86] blk.5.attn_output.weight - [ 256, 128, 1, 1], type = f32, converting to q4_0 .. size = 0.12 MiB -> 0.02 MiB
|
| 123 |
+
[ 78/ 86] blk.5.attn_q.weight - [ 128, 256, 1, 1], type = f32, converting to q4_0 .. size = 0.12 MiB -> 0.02 MiB
|
| 124 |
+
[ 79/ 86] blk.5.attn_q_norm.weight - [ 64, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 125 |
+
[ 80/ 86] blk.5.ffn_down.weight - [ 512, 128, 1, 1], type = f32, converting to q4_0 .. size = 0.25 MiB -> 0.04 MiB
|
| 126 |
+
[ 81/ 86] blk.5.ffn_gate.weight - [ 128, 512, 1, 1], type = f32, converting to q4_0 .. size = 0.25 MiB -> 0.04 MiB
|
| 127 |
+
[ 82/ 86] blk.5.ffn_norm.weight - [ 128, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 128 |
+
[ 83/ 86] blk.5.ffn_up.weight - [ 128, 512, 1, 1], type = f32, converting to q4_0 .. size = 0.25 MiB -> 0.04 MiB
|
| 129 |
+
[ 84/ 86] blk.5.layer_output_scale.weight - [ 1, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 130 |
+
[ 85/ 86] blk.5.post_attention_norm.weight - [ 128, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 131 |
+
[ 86/ 86] blk.5.post_ffw_norm.weight - [ 128, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 132 |
+
llama_model_quantize_impl: model size = 5.80 MiB (32.00 BPW)
|
| 133 |
+
llama_model_quantize_impl: quant size = 0.83 MiB (4.57 BPW)
|
| 134 |
+
|
| 135 |
+
llama_quantize: quantize time = 49.59 ms
|
| 136 |
+
llama_quantize: total time = 49.59 ms
|
gemma4-random-model/hf-bf16/config.json
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Gemma4ForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_bias": false,
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"attention_k_eq_v": true,
|
| 8 |
+
"bos_token_id": 2,
|
| 9 |
+
"dtype": "bfloat16",
|
| 10 |
+
"enable_moe_block": false,
|
| 11 |
+
"eos_token_id": 1,
|
| 12 |
+
"final_logit_softcapping": 30.0,
|
| 13 |
+
"global_head_dim": 64,
|
| 14 |
+
"head_dim": 32,
|
| 15 |
+
"hidden_activation": "gelu_pytorch_tanh",
|
| 16 |
+
"hidden_size": 128,
|
| 17 |
+
"hidden_size_per_layer_input": 0,
|
| 18 |
+
"initializer_range": 0.02,
|
| 19 |
+
"intermediate_size": 512,
|
| 20 |
+
"layer_types": [
|
| 21 |
+
"sliding_attention",
|
| 22 |
+
"sliding_attention",
|
| 23 |
+
"sliding_attention",
|
| 24 |
+
"sliding_attention",
|
| 25 |
+
"sliding_attention",
|
| 26 |
+
"full_attention"
|
| 27 |
+
],
|
| 28 |
+
"max_position_embeddings": 128,
|
| 29 |
+
"model_type": "gemma4_text",
|
| 30 |
+
"moe_intermediate_size": null,
|
| 31 |
+
"num_attention_heads": 4,
|
| 32 |
+
"num_experts": null,
|
| 33 |
+
"num_global_key_value_heads": 1,
|
| 34 |
+
"num_hidden_layers": 6,
|
| 35 |
+
"num_key_value_heads": 2,
|
| 36 |
+
"num_kv_shared_layers": 0,
|
| 37 |
+
"pad_token_id": 0,
|
| 38 |
+
"rms_norm_eps": 1e-06,
|
| 39 |
+
"rope_parameters": {
|
| 40 |
+
"full_attention": {
|
| 41 |
+
"partial_rotary_factor": 0.25,
|
| 42 |
+
"rope_theta": 1000000.0,
|
| 43 |
+
"rope_type": "proportional"
|
| 44 |
+
},
|
| 45 |
+
"sliding_attention": {
|
| 46 |
+
"rope_theta": 10000.0,
|
| 47 |
+
"rope_type": "default"
|
| 48 |
+
}
|
| 49 |
+
},
|
| 50 |
+
"sliding_window": 64,
|
| 51 |
+
"tie_word_embeddings": true,
|
| 52 |
+
"top_k_experts": null,
|
| 53 |
+
"transformers_version": "5.14.1",
|
| 54 |
+
"use_bidirectional_attention": null,
|
| 55 |
+
"use_cache": true,
|
| 56 |
+
"use_double_wide_mlp": false,
|
| 57 |
+
"vocab_size": 128,
|
| 58 |
+
"vocab_size_per_layer_input": 128
|
| 59 |
+
}
|
gemma4-random-model/hf-bf16/generation_config.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 2,
|
| 4 |
+
"eos_token_id": 1,
|
| 5 |
+
"output_attentions": false,
|
| 6 |
+
"output_hidden_states": false,
|
| 7 |
+
"pad_token_id": 0,
|
| 8 |
+
"transformers_version": "5.14.1",
|
| 9 |
+
"use_cache": true
|
| 10 |
+
}
|
gemma4-random-model/hf-bf16/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:18c8b09759c831fbc9d6a8caf7df8e9d395508d4aec09336167f675527b3a360
|
| 3 |
+
size 3047372
|
gemma4-random-model/hf-bf16/tokenizer.json
ADDED
|
@@ -0,0 +1,217 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"version": "1.0",
|
| 3 |
+
"truncation": null,
|
| 4 |
+
"padding": null,
|
| 5 |
+
"added_tokens": [
|
| 6 |
+
{
|
| 7 |
+
"id": 0,
|
| 8 |
+
"content": "<pad>",
|
| 9 |
+
"single_word": false,
|
| 10 |
+
"lstrip": false,
|
| 11 |
+
"rstrip": false,
|
| 12 |
+
"normalized": false,
|
| 13 |
+
"special": true
|
| 14 |
+
},
|
| 15 |
+
{
|
| 16 |
+
"id": 1,
|
| 17 |
+
"content": "<eos>",
|
| 18 |
+
"single_word": false,
|
| 19 |
+
"lstrip": false,
|
| 20 |
+
"rstrip": false,
|
| 21 |
+
"normalized": false,
|
| 22 |
+
"special": true
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"id": 2,
|
| 26 |
+
"content": "<bos>",
|
| 27 |
+
"single_word": false,
|
| 28 |
+
"lstrip": false,
|
| 29 |
+
"rstrip": false,
|
| 30 |
+
"normalized": false,
|
| 31 |
+
"special": true
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"id": 3,
|
| 35 |
+
"content": "<unk>",
|
| 36 |
+
"single_word": false,
|
| 37 |
+
"lstrip": false,
|
| 38 |
+
"rstrip": false,
|
| 39 |
+
"normalized": false,
|
| 40 |
+
"special": true
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"id": 4,
|
| 44 |
+
"content": "<mask>",
|
| 45 |
+
"single_word": false,
|
| 46 |
+
"lstrip": false,
|
| 47 |
+
"rstrip": false,
|
| 48 |
+
"normalized": false,
|
| 49 |
+
"special": true
|
| 50 |
+
}
|
| 51 |
+
],
|
| 52 |
+
"normalizer": null,
|
| 53 |
+
"pre_tokenizer": {
|
| 54 |
+
"type": "Whitespace"
|
| 55 |
+
},
|
| 56 |
+
"post_processor": {
|
| 57 |
+
"type": "TemplateProcessing",
|
| 58 |
+
"single": [
|
| 59 |
+
{
|
| 60 |
+
"Sequence": {
|
| 61 |
+
"id": "A",
|
| 62 |
+
"type_id": 0
|
| 63 |
+
}
|
| 64 |
+
}
|
| 65 |
+
],
|
| 66 |
+
"pair": [
|
| 67 |
+
{
|
| 68 |
+
"Sequence": {
|
| 69 |
+
"id": "A",
|
| 70 |
+
"type_id": 0
|
| 71 |
+
}
|
| 72 |
+
},
|
| 73 |
+
{
|
| 74 |
+
"Sequence": {
|
| 75 |
+
"id": "B",
|
| 76 |
+
"type_id": 1
|
| 77 |
+
}
|
| 78 |
+
}
|
| 79 |
+
],
|
| 80 |
+
"special_tokens": {}
|
| 81 |
+
},
|
| 82 |
+
"decoder": null,
|
| 83 |
+
"model": {
|
| 84 |
+
"type": "WordLevel",
|
| 85 |
+
"vocab": {
|
| 86 |
+
"<pad>": 0,
|
| 87 |
+
"<eos>": 1,
|
| 88 |
+
"<bos>": 2,
|
| 89 |
+
"<unk>": 3,
|
| 90 |
+
"<mask>": 4,
|
| 91 |
+
"a": 5,
|
| 92 |
+
"b": 6,
|
| 93 |
+
"ab": 7,
|
| 94 |
+
"<t008>": 8,
|
| 95 |
+
"<t009>": 9,
|
| 96 |
+
"<t010>": 10,
|
| 97 |
+
"<t011>": 11,
|
| 98 |
+
"<t012>": 12,
|
| 99 |
+
"<t013>": 13,
|
| 100 |
+
"<t014>": 14,
|
| 101 |
+
"<t015>": 15,
|
| 102 |
+
"<t016>": 16,
|
| 103 |
+
"<t017>": 17,
|
| 104 |
+
"<t018>": 18,
|
| 105 |
+
"<t019>": 19,
|
| 106 |
+
"<t020>": 20,
|
| 107 |
+
"<t021>": 21,
|
| 108 |
+
"<t022>": 22,
|
| 109 |
+
"<t023>": 23,
|
| 110 |
+
"<t024>": 24,
|
| 111 |
+
"<t025>": 25,
|
| 112 |
+
"<t026>": 26,
|
| 113 |
+
"<t027>": 27,
|
| 114 |
+
"<t028>": 28,
|
| 115 |
+
"<t029>": 29,
|
| 116 |
+
"<t030>": 30,
|
| 117 |
+
"<t031>": 31,
|
| 118 |
+
"<t032>": 32,
|
| 119 |
+
"<t033>": 33,
|
| 120 |
+
"<t034>": 34,
|
| 121 |
+
"<t035>": 35,
|
| 122 |
+
"<t036>": 36,
|
| 123 |
+
"<t037>": 37,
|
| 124 |
+
"<t038>": 38,
|
| 125 |
+
"<t039>": 39,
|
| 126 |
+
"<t040>": 40,
|
| 127 |
+
"<t041>": 41,
|
| 128 |
+
"<t042>": 42,
|
| 129 |
+
"<t043>": 43,
|
| 130 |
+
"<t044>": 44,
|
| 131 |
+
"<t045>": 45,
|
| 132 |
+
"<t046>": 46,
|
| 133 |
+
"<t047>": 47,
|
| 134 |
+
"<t048>": 48,
|
| 135 |
+
"<t049>": 49,
|
| 136 |
+
"<t050>": 50,
|
| 137 |
+
"<t051>": 51,
|
| 138 |
+
"<t052>": 52,
|
| 139 |
+
"<t053>": 53,
|
| 140 |
+
"<t054>": 54,
|
| 141 |
+
"<t055>": 55,
|
| 142 |
+
"<t056>": 56,
|
| 143 |
+
"<t057>": 57,
|
| 144 |
+
"<t058>": 58,
|
| 145 |
+
"<t059>": 59,
|
| 146 |
+
"<t060>": 60,
|
| 147 |
+
"<t061>": 61,
|
| 148 |
+
"<t062>": 62,
|
| 149 |
+
"<t063>": 63,
|
| 150 |
+
"<t064>": 64,
|
| 151 |
+
"<t065>": 65,
|
| 152 |
+
"<t066>": 66,
|
| 153 |
+
"<t067>": 67,
|
| 154 |
+
"<t068>": 68,
|
| 155 |
+
"<t069>": 69,
|
| 156 |
+
"<t070>": 70,
|
| 157 |
+
"<t071>": 71,
|
| 158 |
+
"<t072>": 72,
|
| 159 |
+
"<t073>": 73,
|
| 160 |
+
"<t074>": 74,
|
| 161 |
+
"<t075>": 75,
|
| 162 |
+
"<t076>": 76,
|
| 163 |
+
"<t077>": 77,
|
| 164 |
+
"<t078>": 78,
|
| 165 |
+
"<t079>": 79,
|
| 166 |
+
"<t080>": 80,
|
| 167 |
+
"<t081>": 81,
|
| 168 |
+
"<t082>": 82,
|
| 169 |
+
"<t083>": 83,
|
| 170 |
+
"<t084>": 84,
|
| 171 |
+
"<t085>": 85,
|
| 172 |
+
"<t086>": 86,
|
| 173 |
+
"<t087>": 87,
|
| 174 |
+
"<t088>": 88,
|
| 175 |
+
"<t089>": 89,
|
| 176 |
+
"<t090>": 90,
|
| 177 |
+
"<t091>": 91,
|
| 178 |
+
"<t092>": 92,
|
| 179 |
+
"<t093>": 93,
|
| 180 |
+
"<t094>": 94,
|
| 181 |
+
"<t095>": 95,
|
| 182 |
+
"<t096>": 96,
|
| 183 |
+
"<t097>": 97,
|
| 184 |
+
"<t098>": 98,
|
| 185 |
+
"<t099>": 99,
|
| 186 |
+
"<t100>": 100,
|
| 187 |
+
"<t101>": 101,
|
| 188 |
+
"<t102>": 102,
|
| 189 |
+
"<t103>": 103,
|
| 190 |
+
"<t104>": 104,
|
| 191 |
+
"<t105>": 105,
|
| 192 |
+
"<t106>": 106,
|
| 193 |
+
"<t107>": 107,
|
| 194 |
+
"<t108>": 108,
|
| 195 |
+
"<t109>": 109,
|
| 196 |
+
"<t110>": 110,
|
| 197 |
+
"<t111>": 111,
|
| 198 |
+
"<t112>": 112,
|
| 199 |
+
"<t113>": 113,
|
| 200 |
+
"<t114>": 114,
|
| 201 |
+
"<t115>": 115,
|
| 202 |
+
"<t116>": 116,
|
| 203 |
+
"<t117>": 117,
|
| 204 |
+
"<t118>": 118,
|
| 205 |
+
"<t119>": 119,
|
| 206 |
+
"<t120>": 120,
|
| 207 |
+
"<t121>": 121,
|
| 208 |
+
"<t122>": 122,
|
| 209 |
+
"<t123>": 123,
|
| 210 |
+
"<t124>": 124,
|
| 211 |
+
"<t125>": 125,
|
| 212 |
+
"<t126>": 126,
|
| 213 |
+
"<t127>": 127
|
| 214 |
+
},
|
| 215 |
+
"unk_token": "<unk>"
|
| 216 |
+
}
|
| 217 |
+
}
|
gemma4-random-model/hf-bf16/tokenizer_config.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"backend": "tokenizers",
|
| 3 |
+
"bos_token": "<bos>",
|
| 4 |
+
"eos_token": "<eos>",
|
| 5 |
+
"mask_token": "<mask>",
|
| 6 |
+
"model_max_length": 128,
|
| 7 |
+
"pad_token": "<pad>",
|
| 8 |
+
"tokenizer_class": "TokenizersBackend",
|
| 9 |
+
"unk_token": "<unk>"
|
| 10 |
+
}
|
gemma4-random-model/metadata.json
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architecture": "gemma4",
|
| 3 |
+
"gguf": {
|
| 4 |
+
"comparison_to_hf_bf16": {
|
| 5 |
+
"decode": {
|
| 6 |
+
"max_abs_error": 0.15816828608512878,
|
| 7 |
+
"mean_abs_error": 0.046988509595394135,
|
| 8 |
+
"top1_agreement": true,
|
| 9 |
+
"top5_overlap": 3
|
| 10 |
+
},
|
| 11 |
+
"policy": "informational because Q4_0 is lossy",
|
| 12 |
+
"prefill_last": {
|
| 13 |
+
"max_abs_error": 0.15831683576107025,
|
| 14 |
+
"mean_abs_error": 0.03859168291091919,
|
| 15 |
+
"top1_agreement": true,
|
| 16 |
+
"top5_overlap": 3
|
| 17 |
+
}
|
| 18 |
+
},
|
| 19 |
+
"direct_token_validation": {
|
| 20 |
+
"all_logits_finite": true,
|
| 21 |
+
"decode_token_id": 17,
|
| 22 |
+
"eog_token_ids": [
|
| 23 |
+
1
|
| 24 |
+
],
|
| 25 |
+
"exactly_reproducible": true,
|
| 26 |
+
"prefill_token_ids": [
|
| 27 |
+
5,
|
| 28 |
+
7,
|
| 29 |
+
11,
|
| 30 |
+
13
|
| 31 |
+
]
|
| 32 |
+
},
|
| 33 |
+
"f32_intermediate_retained": false,
|
| 34 |
+
"f32_intermediate_sha256": "634ea1838571d13516f8615d5be35cd4d2b35845e3e70445244971c4fa63ff24",
|
| 35 |
+
"model_sha256": "2b631587994acd127d3e6fcc67552c707d6fdba22beada963597387b9e814881",
|
| 36 |
+
"model_size_bytes": 877088,
|
| 37 |
+
"quantization": "Q4_0",
|
| 38 |
+
"quantizer_command": [
|
| 39 |
+
"LLAMA_QUANTIZE",
|
| 40 |
+
"--token-embedding-type",
|
| 41 |
+
"q4_0",
|
| 42 |
+
"F32_INPUT",
|
| 43 |
+
"OUTPUT",
|
| 44 |
+
"Q4_0"
|
| 45 |
+
],
|
| 46 |
+
"tensor_type_histogram": {
|
| 47 |
+
"F32": 44,
|
| 48 |
+
"Q4_0": 42
|
| 49 |
+
}
|
| 50 |
+
},
|
| 51 |
+
"hf": {
|
| 52 |
+
"config_sha256": "7386dc7fbb3fc1e83a7db585d088c646183c8c700581bfc12b95390a515c6ba1",
|
| 53 |
+
"construct_prefill_decode_reload": "passed",
|
| 54 |
+
"dtype": "bfloat16",
|
| 55 |
+
"model_sha256": "18c8b09759c831fbc9d6a8caf7df8e9d395508d4aec09336167f675527b3a360",
|
| 56 |
+
"reload_tolerance": {
|
| 57 |
+
"atol": 0.02,
|
| 58 |
+
"rtol": 0.02
|
| 59 |
+
},
|
| 60 |
+
"tokenizer_json_sha256": "8538827f687d1fd46c3de2ba983d0af5e705c0b0661bab1e8f261a9372046d4d",
|
| 61 |
+
"transformers_version": "5.14.1"
|
| 62 |
+
},
|
| 63 |
+
"parameter_count": 1519168,
|
| 64 |
+
"reproducibility": {
|
| 65 |
+
"gguf_q4_0": true,
|
| 66 |
+
"hf_config": true,
|
| 67 |
+
"hf_model": true,
|
| 68 |
+
"second_generation_byte_identical": true
|
| 69 |
+
},
|
| 70 |
+
"rng": {
|
| 71 |
+
"increment": 1442695040888963407,
|
| 72 |
+
"multiplier": 6364136223846793005,
|
| 73 |
+
"name": "tlfloat LCG64 equation",
|
| 74 |
+
"warmup_steps": 10
|
| 75 |
+
},
|
| 76 |
+
"schema_version": 1,
|
| 77 |
+
"seed": 5135595944287666177
|
| 78 |
+
}
|
gemma4-random-model/reference/gguf-native.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"vocab_size": 128,
|
| 4 |
+
"prefill_token_ids": [5,7,11,13],
|
| 5 |
+
"decode_token_id": 17,
|
| 6 |
+
"eog_token_ids": [1],
|
| 7 |
+
"all_logits_finite": true,
|
| 8 |
+
"prefill_last_logits": [-0.243439302,0.0599161685,-0.0845743716,0.0522050597,0.0797347426,-0.03387703,-0.0461352468,-0.238350868,0.0519622341,0.0766301826,0.126724079,-0.0139343906,-0.0291910302,0.118146136,0.120272741,-0.0258229449,-0.159660712,-0.00222994783,0.00440907292,-0.0304125454,0.0980525315,0.0801480561,-0.00244864542,0.142669708,0.015994221,-0.0381400324,-0.0229879357,-0.0514277704,-0.0138719492,0.273642391,0.218537062,0.126278937,0.070124574,-0.0690698773,0.031898085,-0.0267212726,-0.0291228201,-0.0225784294,-0.239331439,0.167331189,-0.127066836,0.221266046,-0.126179755,0.206429392,-0.143929034,-0.0102543291,0.229470193,-0.0172765926,0.0780417323,-0.0969515741,0.0769872814,0.0613183305,0.0403772257,-0.168282136,0.231201753,0.0205171276,0.0230379496,-0.209012553,-0.0319907963,-0.0245357733,0.00959140435,0.0801036358,-0.0883303657,0.0970800146,-0.115716472,-0.0724429861,-0.124726042,0.124294072,-0.0134264585,0.0358970277,0.227650881,0.00189068564,0.155431747,-0.244728908,0.0816485435,0.0228621587,0.139080092,0.173921034,-0.100639582,-0.0593391173,-0.0474654809,0.0911222324,0.121439792,-0.149972886,-0.208900452,-0.188849151,0.218660593,0.0517382175,-0.197950065,-0.169730186,-0.163051397,0.113981888,0.172181055,-0.00614864333,0.115805477,-0.262914896,-0.132733464,0.0576047525,-0.108596526,-0.162751198,-0.0619868003,0.0415232368,-0.157174632,-0.00733210798,-0.12342795,-0.137874156,-0.101731159,0.0428587683,-0.10437981,0.0370034501,-0.0460586175,0.0158869345,-0.0467884727,0.101396501,-0.235209301,-0.0206604954,-0.0808326676,0.109388076,0.191693529,-0.0848258659,-0.00442003552,-0.0363867059,-0.154983073,-0.014337346,0.274131835,-0.263285935,0.0940570235,0.0207084212],
|
| 9 |
+
"decode_logits": [-0.00950608216,-0.0892616585,-0.0102732191,-0.0360522121,0.110710457,0.0217158236,0.0268691275,0.11116679,0.062429022,0.14466773,0.0287577808,0.120581679,-0.0712457374,-0.112511128,0.105950512,-0.0633386895,-0.0917795077,-0.0265769325,0.0225345306,-0.25535512,0.167570621,0.112365395,0.0230123922,0.0484296866,-0.228892609,-0.147982344,-0.116228707,-0.0728008151,-0.128445566,-0.0128700966,-0.0407301299,0.113672934,0.128408462,-0.0344361551,0.020843599,-0.107788987,-0.0234028604,0.213245809,-0.0919425413,0.0751381218,-0.253096074,0.262579083,-0.150305837,0.243521363,-0.145598575,-0.0906658098,0.0682541281,0.0127086695,0.0152440453,-0.0776171535,-0.0459475666,-0.00190381811,-0.148405954,-0.173953682,0.126784325,-0.213859275,0.116676956,-0.0121320002,-0.127416849,-0.0586256646,0.0533445515,0.010526645,-0.42138359,0.0762371942,-0.0866874307,0.181853861,-0.14425239,-0.0253368318,-0.152625233,0.0170733649,0.0313455909,0.0770332366,0.0380382352,-0.154644251,0.0201064609,0.0427017771,0.01267628,0.108827092,-0.219167039,-0.0583654344,-0.0495231189,0.0334515274,0.0151894297,0.0707492009,-0.0993220806,-0.126987964,0.0974186882,0.0565137677,-0.355304003,-0.134302884,-0.0124985855,0.104582824,0.145622939,-0.123666488,-0.0822865516,-0.383201808,-0.0574632362,-0.0576772653,-0.117835112,0.0597717986,-0.0567533672,0.122403659,-0.207931876,-0.062526606,-0.132351458,0.157630011,0.0877739787,-0.0715343878,-0.0917522386,-0.135613829,0.0618881881,-0.139158815,-0.0728474706,0.0418399647,0.147925481,0.122347273,-0.109589078,-0.0333428718,0.0310138203,-0.167800277,-0.00797175709,-0.00486898189,-0.0671501011,0.136077702,-0.0265318714,-0.110943288,-0.0150498049,0.147386327]
|
| 10 |
+
}
|
gemma4-random-model/reference/hf-outputs.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ffa41b6c27bab211af7994632041ddedf47c460ad6b89482909d793604831d38
|
| 3 |
+
size 2720
|
gemma4-random-model/reference/inputs.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"decode_token_id": 17,
|
| 3 |
+
"prefill_token_ids": [
|
| 4 |
+
5,
|
| 5 |
+
7,
|
| 6 |
+
11,
|
| 7 |
+
13
|
| 8 |
+
]
|
| 9 |
+
}
|
manifest.json
CHANGED
|
@@ -132,6 +132,46 @@
|
|
| 132 |
"size_bytes": 1217160
|
| 133 |
}
|
| 134 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 135 |
}
|
| 136 |
],
|
| 137 |
"schema_version": 1
|
|
|
|
| 132 |
"size_bytes": 1217160
|
| 133 |
}
|
| 134 |
}
|
| 135 |
+
},
|
| 136 |
+
{
|
| 137 |
+
"architecture": "gemma4",
|
| 138 |
+
"auxiliary_tokenizer": {
|
| 139 |
+
"path": "gemma4-random-model/hf-bf16/tokenizer.json",
|
| 140 |
+
"sha256": "8538827f687d1fd46c3de2ba983d0af5e705c0b0661bab1e8f261a9372046d4d"
|
| 141 |
+
},
|
| 142 |
+
"case": "gemma4-random-model",
|
| 143 |
+
"packages": {
|
| 144 |
+
"gguf_q4_0": {
|
| 145 |
+
"path": "gemma4-random-model/gguf-q4_0/gemma4-random-model-Q4_0.gguf",
|
| 146 |
+
"sha256": "2b631587994acd127d3e6fcc67552c707d6fdba22beada963597387b9e814881",
|
| 147 |
+
"size_bytes": 877088
|
| 148 |
+
},
|
| 149 |
+
"safetensors_bf16": {
|
| 150 |
+
"path": "gemma4-random-model/hf-bf16/model.safetensors",
|
| 151 |
+
"sha256": "18c8b09759c831fbc9d6a8caf7df8e9d395508d4aec09336167f675527b3a360",
|
| 152 |
+
"size_bytes": 3047372
|
| 153 |
+
}
|
| 154 |
+
}
|
| 155 |
+
},
|
| 156 |
+
{
|
| 157 |
+
"architecture": "qwen3",
|
| 158 |
+
"auxiliary_tokenizer": {
|
| 159 |
+
"path": "qwen3-random-model/hf-bf16/tokenizer.json",
|
| 160 |
+
"sha256": "8538827f687d1fd46c3de2ba983d0af5e705c0b0661bab1e8f261a9372046d4d"
|
| 161 |
+
},
|
| 162 |
+
"case": "qwen3-random-model",
|
| 163 |
+
"packages": {
|
| 164 |
+
"gguf_q4_0": {
|
| 165 |
+
"path": "qwen3-random-model/gguf-q4_0/qwen3-random-model-Q4_0.gguf",
|
| 166 |
+
"sha256": "6af2e0d230a7919c6b1a02b6462f0441ffbadbb8188b1bd9c0f8174fecd9308f",
|
| 167 |
+
"size_bytes": 294112
|
| 168 |
+
},
|
| 169 |
+
"safetensors_bf16": {
|
| 170 |
+
"path": "qwen3-random-model/hf-bf16/model.safetensors",
|
| 171 |
+
"sha256": "0960438e0541dfa529703f5e2b37565aec66b354f6e45bfdf121ecadfcd86dd4",
|
| 172 |
+
"size_bytes": 1020120
|
| 173 |
+
}
|
| 174 |
+
}
|
| 175 |
}
|
| 176 |
],
|
| 177 |
"schema_version": 1
|
qwen3-random-model/CONFIG_DECISION.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Qwen3 tiny fixture configuration decision
|
| 2 |
+
|
| 3 |
+
The local 0.6B GGUF identifies itself as `general.architecture = qwen3` and
|
| 4 |
+
contains 28 uniform decoder layers. Its characteristic geometry is query width
|
| 5 |
+
twice the hidden width, KV width equal to hidden width, Q/K per-head norms, and an
|
| 6 |
+
FFN ratio of three.
|
| 7 |
+
|
| 8 |
+
The tiny fixture preserves those relationships with hidden width 128, four query
|
| 9 |
+
heads, two KV heads, head dimension 64, FFN width 384, two layers, context 128,
|
| 10 |
+
and RoPE base 1000000. All matrix quantization axes are multiples of 32.
|
| 11 |
+
|
| 12 |
+
The fixed Hugging Face implementation is Transformers 5.14.1
|
| 13 |
+
`Qwen3ForCausalLM`. The trainable parameter count is 508,800. The generated
|
| 14 |
+
package uses BF16 and tied token/output embeddings. The GGUF is derived from the
|
| 15 |
+
same BF16 values through a temporary F32 serialization and pinned Q4_0
|
| 16 |
+
quantization; the F32 intermediate is not retained.
|
qwen3-random-model/gguf-q4_0/quantize.log
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
llama_print_build_info: build = 1 (40b740a)
|
| 2 |
+
llama_print_build_info: built with Clang 21.1.8 for Linux x86_64
|
| 3 |
+
llama_quantize: quantizing '/home/codex/tmp/qwen3-random-work-20260810/qwen3-random-model-F32.gguf' to 'artifacts/qwen3-v0/qwen3-random-model/gguf-q4_0/qwen3-random-model-Q4_0.gguf' as Q4_0
|
| 4 |
+
llama_model_loader: loaded meta data with 26 key-value pairs and 24 tensors from /home/codex/tmp/qwen3-random-work-20260810/qwen3-random-model-F32.gguf (version GGUF V3 (latest))
|
| 5 |
+
llama_model_loader: Dumping metadata keys/values. Note: KV overrides do not apply in this output.
|
| 6 |
+
llama_model_loader: - kv 0: general.architecture str = qwen3
|
| 7 |
+
llama_model_loader: - kv 1: general.type str = model
|
| 8 |
+
llama_model_loader: - kv 2: general.name str = Tiny Qwen3 Random
|
| 9 |
+
llama_model_loader: - kv 3: general.basename str = tiny-qwen3-random
|
| 10 |
+
llama_model_loader: - kv 4: general.alignment u32 = 32
|
| 11 |
+
llama_model_loader: - kv 5: qwen3.block_count u32 = 2
|
| 12 |
+
llama_model_loader: - kv 6: qwen3.context_length u32 = 128
|
| 13 |
+
llama_model_loader: - kv 7: qwen3.embedding_length u32 = 128
|
| 14 |
+
llama_model_loader: - kv 8: qwen3.feed_forward_length u32 = 384
|
| 15 |
+
llama_model_loader: - kv 9: qwen3.attention.head_count u32 = 4
|
| 16 |
+
llama_model_loader: - kv 10: qwen3.attention.head_count_kv u32 = 2
|
| 17 |
+
llama_model_loader: - kv 11: qwen3.rope.freq_base f32 = 1000000.000000
|
| 18 |
+
llama_model_loader: - kv 12: qwen3.attention.layer_norm_rms_epsilon f32 = 0.000001
|
| 19 |
+
llama_model_loader: - kv 13: qwen3.attention.key_length u32 = 64
|
| 20 |
+
llama_model_loader: - kv 14: qwen3.attention.value_length u32 = 64
|
| 21 |
+
llama_model_loader: - kv 15: general.file_type u32 = 0
|
| 22 |
+
llama_model_loader: - kv 16: general.quantization_version u32 = 2
|
| 23 |
+
llama_model_loader: - kv 17: tokenizer.ggml.model str = gpt2
|
| 24 |
+
llama_model_loader: - kv 18: tokenizer.ggml.pre str = qwen2
|
| 25 |
+
llama_model_loader: - kv 19: tokenizer.ggml.tokens arr[str,128] = ["<pad>", "<eos>", "<bos>", "<unk>", ...
|
| 26 |
+
llama_model_loader: - kv 20: tokenizer.ggml.token_type arr[i32,128] = [3, 3, 3, 3, 3, 1, 1, 1, 1, 1, 1, 1, ...
|
| 27 |
+
llama_model_loader: - kv 21: tokenizer.ggml.merges arr[str,1] = ["a b"]
|
| 28 |
+
llama_model_loader: - kv 22: tokenizer.ggml.eos_token_id u32 = 1
|
| 29 |
+
llama_model_loader: - kv 23: tokenizer.ggml.padding_token_id u32 = 0
|
| 30 |
+
llama_model_loader: - kv 24: tokenizer.ggml.unknown_token_id u32 = 3
|
| 31 |
+
llama_model_loader: - kv 25: tokenizer.ggml.add_bos_token bool = false
|
| 32 |
+
llama_model_loader: - type f32: 24 tensors
|
| 33 |
+
[ 1/ 24] output_norm.weight - [ 128, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 34 |
+
[ 2/ 24] token_embd.weight - [ 128, 128, 1, 1], type = f32, converting to q4_0 .. size = 0.06 MiB -> 0.01 MiB
|
| 35 |
+
[ 3/ 24] blk.0.attn_k.weight - [ 128, 128, 1, 1], type = f32, converting to q4_0 .. size = 0.06 MiB -> 0.01 MiB
|
| 36 |
+
[ 4/ 24] blk.0.attn_k_norm.weight - [ 64, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 37 |
+
[ 5/ 24] blk.0.attn_norm.weight - [ 128, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 38 |
+
[ 6/ 24] blk.0.attn_output.weight - [ 256, 128, 1, 1], type = f32, converting to q4_0 .. size = 0.12 MiB -> 0.02 MiB
|
| 39 |
+
[ 7/ 24] blk.0.attn_q.weight - [ 128, 256, 1, 1], type = f32, converting to q4_0 .. size = 0.12 MiB -> 0.02 MiB
|
| 40 |
+
[ 8/ 24] blk.0.attn_q_norm.weight - [ 64, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 41 |
+
[ 9/ 24] blk.0.attn_v.weight - [ 128, 128, 1, 1], type = f32, converting to q4_0 .. size = 0.06 MiB -> 0.01 MiB
|
| 42 |
+
[ 10/ 24] blk.0.ffn_down.weight - [ 384, 128, 1, 1], type = f32, converting to q4_0 .. size = 0.19 MiB -> 0.03 MiB
|
| 43 |
+
[ 11/ 24] blk.0.ffn_gate.weight - [ 128, 384, 1, 1], type = f32, converting to q4_0 .. size = 0.19 MiB -> 0.03 MiB
|
| 44 |
+
[ 12/ 24] blk.0.ffn_norm.weight - [ 128, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 45 |
+
[ 13/ 24] blk.0.ffn_up.weight - [ 128, 384, 1, 1], type = f32, converting to q4_0 .. size = 0.19 MiB -> 0.03 MiB
|
| 46 |
+
[ 14/ 24] blk.1.attn_k.weight - [ 128, 128, 1, 1], type = f32, converting to q4_0 .. size = 0.06 MiB -> 0.01 MiB
|
| 47 |
+
[ 15/ 24] blk.1.attn_k_norm.weight - [ 64, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 48 |
+
[ 16/ 24] blk.1.attn_norm.weight - [ 128, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 49 |
+
[ 17/ 24] blk.1.attn_output.weight - [ 256, 128, 1, 1], type = f32, converting to q4_0 .. size = 0.12 MiB -> 0.02 MiB
|
| 50 |
+
[ 18/ 24] blk.1.attn_q.weight - [ 128, 256, 1, 1], type = f32, converting to q4_0 .. size = 0.12 MiB -> 0.02 MiB
|
| 51 |
+
[ 19/ 24] blk.1.attn_q_norm.weight - [ 64, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 52 |
+
[ 20/ 24] blk.1.attn_v.weight - [ 128, 128, 1, 1], type = f32, converting to q4_0 .. size = 0.06 MiB -> 0.01 MiB
|
| 53 |
+
[ 21/ 24] blk.1.ffn_down.weight - [ 384, 128, 1, 1], type = f32, converting to q4_0 .. size = 0.19 MiB -> 0.03 MiB
|
| 54 |
+
[ 22/ 24] blk.1.ffn_gate.weight - [ 128, 384, 1, 1], type = f32, converting to q4_0 .. size = 0.19 MiB -> 0.03 MiB
|
| 55 |
+
[ 23/ 24] blk.1.ffn_norm.weight - [ 128, 1, 1, 1], type = f32, size = 0.000 MiB
|
| 56 |
+
[ 24/ 24] blk.1.ffn_up.weight - [ 128, 384, 1, 1], type = f32, converting to q4_0 .. size = 0.19 MiB -> 0.03 MiB
|
| 57 |
+
llama_model_quantize_impl: model size = 1.94 MiB (32.00 BPW)
|
| 58 |
+
llama_model_quantize_impl: quant size = 0.28 MiB (4.55 BPW)
|
| 59 |
+
|
| 60 |
+
llama_quantize: quantize time = 3.12 ms
|
| 61 |
+
llama_quantize: total time = 3.12 ms
|
qwen3-random-model/gguf-q4_0/qwen3-random-model-Q4_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6af2e0d230a7919c6b1a02b6462f0441ffbadbb8188b1bd9c0f8174fecd9308f
|
| 3 |
+
size 294112
|
qwen3-random-model/hf-bf16/config.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Qwen3ForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_bias": false,
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"bos_token_id": null,
|
| 8 |
+
"dtype": "bfloat16",
|
| 9 |
+
"eos_token_id": 1,
|
| 10 |
+
"head_dim": 64,
|
| 11 |
+
"hidden_act": "silu",
|
| 12 |
+
"hidden_size": 128,
|
| 13 |
+
"initializer_range": 0.02,
|
| 14 |
+
"intermediate_size": 384,
|
| 15 |
+
"layer_types": [
|
| 16 |
+
"full_attention",
|
| 17 |
+
"full_attention"
|
| 18 |
+
],
|
| 19 |
+
"max_position_embeddings": 128,
|
| 20 |
+
"max_window_layers": 28,
|
| 21 |
+
"model_type": "qwen3",
|
| 22 |
+
"num_attention_heads": 4,
|
| 23 |
+
"num_hidden_layers": 2,
|
| 24 |
+
"num_key_value_heads": 2,
|
| 25 |
+
"pad_token_id": 0,
|
| 26 |
+
"rms_norm_eps": 1e-06,
|
| 27 |
+
"rope_parameters": {
|
| 28 |
+
"rope_theta": 1000000.0,
|
| 29 |
+
"rope_type": "default"
|
| 30 |
+
},
|
| 31 |
+
"sliding_window": null,
|
| 32 |
+
"tie_word_embeddings": true,
|
| 33 |
+
"transformers_version": "5.14.1",
|
| 34 |
+
"use_cache": true,
|
| 35 |
+
"use_sliding_window": false,
|
| 36 |
+
"vocab_size": 128
|
| 37 |
+
}
|
qwen3-random-model/hf-bf16/generation_config.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"eos_token_id": 1,
|
| 4 |
+
"output_attentions": false,
|
| 5 |
+
"output_hidden_states": false,
|
| 6 |
+
"pad_token_id": 0,
|
| 7 |
+
"transformers_version": "5.14.1",
|
| 8 |
+
"use_cache": true
|
| 9 |
+
}
|
qwen3-random-model/hf-bf16/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0960438e0541dfa529703f5e2b37565aec66b354f6e45bfdf121ecadfcd86dd4
|
| 3 |
+
size 1020120
|
qwen3-random-model/hf-bf16/tokenizer.json
ADDED
|
@@ -0,0 +1,217 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"version": "1.0",
|
| 3 |
+
"truncation": null,
|
| 4 |
+
"padding": null,
|
| 5 |
+
"added_tokens": [
|
| 6 |
+
{
|
| 7 |
+
"id": 0,
|
| 8 |
+
"content": "<pad>",
|
| 9 |
+
"single_word": false,
|
| 10 |
+
"lstrip": false,
|
| 11 |
+
"rstrip": false,
|
| 12 |
+
"normalized": false,
|
| 13 |
+
"special": true
|
| 14 |
+
},
|
| 15 |
+
{
|
| 16 |
+
"id": 1,
|
| 17 |
+
"content": "<eos>",
|
| 18 |
+
"single_word": false,
|
| 19 |
+
"lstrip": false,
|
| 20 |
+
"rstrip": false,
|
| 21 |
+
"normalized": false,
|
| 22 |
+
"special": true
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"id": 2,
|
| 26 |
+
"content": "<bos>",
|
| 27 |
+
"single_word": false,
|
| 28 |
+
"lstrip": false,
|
| 29 |
+
"rstrip": false,
|
| 30 |
+
"normalized": false,
|
| 31 |
+
"special": true
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"id": 3,
|
| 35 |
+
"content": "<unk>",
|
| 36 |
+
"single_word": false,
|
| 37 |
+
"lstrip": false,
|
| 38 |
+
"rstrip": false,
|
| 39 |
+
"normalized": false,
|
| 40 |
+
"special": true
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"id": 4,
|
| 44 |
+
"content": "<mask>",
|
| 45 |
+
"single_word": false,
|
| 46 |
+
"lstrip": false,
|
| 47 |
+
"rstrip": false,
|
| 48 |
+
"normalized": false,
|
| 49 |
+
"special": true
|
| 50 |
+
}
|
| 51 |
+
],
|
| 52 |
+
"normalizer": null,
|
| 53 |
+
"pre_tokenizer": {
|
| 54 |
+
"type": "Whitespace"
|
| 55 |
+
},
|
| 56 |
+
"post_processor": {
|
| 57 |
+
"type": "TemplateProcessing",
|
| 58 |
+
"single": [
|
| 59 |
+
{
|
| 60 |
+
"Sequence": {
|
| 61 |
+
"id": "A",
|
| 62 |
+
"type_id": 0
|
| 63 |
+
}
|
| 64 |
+
}
|
| 65 |
+
],
|
| 66 |
+
"pair": [
|
| 67 |
+
{
|
| 68 |
+
"Sequence": {
|
| 69 |
+
"id": "A",
|
| 70 |
+
"type_id": 0
|
| 71 |
+
}
|
| 72 |
+
},
|
| 73 |
+
{
|
| 74 |
+
"Sequence": {
|
| 75 |
+
"id": "B",
|
| 76 |
+
"type_id": 1
|
| 77 |
+
}
|
| 78 |
+
}
|
| 79 |
+
],
|
| 80 |
+
"special_tokens": {}
|
| 81 |
+
},
|
| 82 |
+
"decoder": null,
|
| 83 |
+
"model": {
|
| 84 |
+
"type": "WordLevel",
|
| 85 |
+
"vocab": {
|
| 86 |
+
"<pad>": 0,
|
| 87 |
+
"<eos>": 1,
|
| 88 |
+
"<bos>": 2,
|
| 89 |
+
"<unk>": 3,
|
| 90 |
+
"<mask>": 4,
|
| 91 |
+
"a": 5,
|
| 92 |
+
"b": 6,
|
| 93 |
+
"ab": 7,
|
| 94 |
+
"<t008>": 8,
|
| 95 |
+
"<t009>": 9,
|
| 96 |
+
"<t010>": 10,
|
| 97 |
+
"<t011>": 11,
|
| 98 |
+
"<t012>": 12,
|
| 99 |
+
"<t013>": 13,
|
| 100 |
+
"<t014>": 14,
|
| 101 |
+
"<t015>": 15,
|
| 102 |
+
"<t016>": 16,
|
| 103 |
+
"<t017>": 17,
|
| 104 |
+
"<t018>": 18,
|
| 105 |
+
"<t019>": 19,
|
| 106 |
+
"<t020>": 20,
|
| 107 |
+
"<t021>": 21,
|
| 108 |
+
"<t022>": 22,
|
| 109 |
+
"<t023>": 23,
|
| 110 |
+
"<t024>": 24,
|
| 111 |
+
"<t025>": 25,
|
| 112 |
+
"<t026>": 26,
|
| 113 |
+
"<t027>": 27,
|
| 114 |
+
"<t028>": 28,
|
| 115 |
+
"<t029>": 29,
|
| 116 |
+
"<t030>": 30,
|
| 117 |
+
"<t031>": 31,
|
| 118 |
+
"<t032>": 32,
|
| 119 |
+
"<t033>": 33,
|
| 120 |
+
"<t034>": 34,
|
| 121 |
+
"<t035>": 35,
|
| 122 |
+
"<t036>": 36,
|
| 123 |
+
"<t037>": 37,
|
| 124 |
+
"<t038>": 38,
|
| 125 |
+
"<t039>": 39,
|
| 126 |
+
"<t040>": 40,
|
| 127 |
+
"<t041>": 41,
|
| 128 |
+
"<t042>": 42,
|
| 129 |
+
"<t043>": 43,
|
| 130 |
+
"<t044>": 44,
|
| 131 |
+
"<t045>": 45,
|
| 132 |
+
"<t046>": 46,
|
| 133 |
+
"<t047>": 47,
|
| 134 |
+
"<t048>": 48,
|
| 135 |
+
"<t049>": 49,
|
| 136 |
+
"<t050>": 50,
|
| 137 |
+
"<t051>": 51,
|
| 138 |
+
"<t052>": 52,
|
| 139 |
+
"<t053>": 53,
|
| 140 |
+
"<t054>": 54,
|
| 141 |
+
"<t055>": 55,
|
| 142 |
+
"<t056>": 56,
|
| 143 |
+
"<t057>": 57,
|
| 144 |
+
"<t058>": 58,
|
| 145 |
+
"<t059>": 59,
|
| 146 |
+
"<t060>": 60,
|
| 147 |
+
"<t061>": 61,
|
| 148 |
+
"<t062>": 62,
|
| 149 |
+
"<t063>": 63,
|
| 150 |
+
"<t064>": 64,
|
| 151 |
+
"<t065>": 65,
|
| 152 |
+
"<t066>": 66,
|
| 153 |
+
"<t067>": 67,
|
| 154 |
+
"<t068>": 68,
|
| 155 |
+
"<t069>": 69,
|
| 156 |
+
"<t070>": 70,
|
| 157 |
+
"<t071>": 71,
|
| 158 |
+
"<t072>": 72,
|
| 159 |
+
"<t073>": 73,
|
| 160 |
+
"<t074>": 74,
|
| 161 |
+
"<t075>": 75,
|
| 162 |
+
"<t076>": 76,
|
| 163 |
+
"<t077>": 77,
|
| 164 |
+
"<t078>": 78,
|
| 165 |
+
"<t079>": 79,
|
| 166 |
+
"<t080>": 80,
|
| 167 |
+
"<t081>": 81,
|
| 168 |
+
"<t082>": 82,
|
| 169 |
+
"<t083>": 83,
|
| 170 |
+
"<t084>": 84,
|
| 171 |
+
"<t085>": 85,
|
| 172 |
+
"<t086>": 86,
|
| 173 |
+
"<t087>": 87,
|
| 174 |
+
"<t088>": 88,
|
| 175 |
+
"<t089>": 89,
|
| 176 |
+
"<t090>": 90,
|
| 177 |
+
"<t091>": 91,
|
| 178 |
+
"<t092>": 92,
|
| 179 |
+
"<t093>": 93,
|
| 180 |
+
"<t094>": 94,
|
| 181 |
+
"<t095>": 95,
|
| 182 |
+
"<t096>": 96,
|
| 183 |
+
"<t097>": 97,
|
| 184 |
+
"<t098>": 98,
|
| 185 |
+
"<t099>": 99,
|
| 186 |
+
"<t100>": 100,
|
| 187 |
+
"<t101>": 101,
|
| 188 |
+
"<t102>": 102,
|
| 189 |
+
"<t103>": 103,
|
| 190 |
+
"<t104>": 104,
|
| 191 |
+
"<t105>": 105,
|
| 192 |
+
"<t106>": 106,
|
| 193 |
+
"<t107>": 107,
|
| 194 |
+
"<t108>": 108,
|
| 195 |
+
"<t109>": 109,
|
| 196 |
+
"<t110>": 110,
|
| 197 |
+
"<t111>": 111,
|
| 198 |
+
"<t112>": 112,
|
| 199 |
+
"<t113>": 113,
|
| 200 |
+
"<t114>": 114,
|
| 201 |
+
"<t115>": 115,
|
| 202 |
+
"<t116>": 116,
|
| 203 |
+
"<t117>": 117,
|
| 204 |
+
"<t118>": 118,
|
| 205 |
+
"<t119>": 119,
|
| 206 |
+
"<t120>": 120,
|
| 207 |
+
"<t121>": 121,
|
| 208 |
+
"<t122>": 122,
|
| 209 |
+
"<t123>": 123,
|
| 210 |
+
"<t124>": 124,
|
| 211 |
+
"<t125>": 125,
|
| 212 |
+
"<t126>": 126,
|
| 213 |
+
"<t127>": 127
|
| 214 |
+
},
|
| 215 |
+
"unk_token": "<unk>"
|
| 216 |
+
}
|
| 217 |
+
}
|
qwen3-random-model/hf-bf16/tokenizer_config.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"backend": "tokenizers",
|
| 3 |
+
"bos_token": "<bos>",
|
| 4 |
+
"eos_token": "<eos>",
|
| 5 |
+
"mask_token": "<mask>",
|
| 6 |
+
"model_max_length": 128,
|
| 7 |
+
"pad_token": "<pad>",
|
| 8 |
+
"tokenizer_class": "TokenizersBackend",
|
| 9 |
+
"unk_token": "<unk>"
|
| 10 |
+
}
|
qwen3-random-model/metadata.json
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architecture": "qwen3",
|
| 3 |
+
"gguf": {
|
| 4 |
+
"comparison_to_hf_bf16": {
|
| 5 |
+
"decode_logits": {
|
| 6 |
+
"max_absolute_error": 0.04789973795413971,
|
| 7 |
+
"mean_absolute_error": 0.01485803909599781,
|
| 8 |
+
"top1_agreement": true,
|
| 9 |
+
"top5_overlap": 4
|
| 10 |
+
},
|
| 11 |
+
"policy": "informational; quantized and BF16 executions are not required to be byte-identical",
|
| 12 |
+
"prefill_last_logits": {
|
| 13 |
+
"max_absolute_error": 0.062290437519550323,
|
| 14 |
+
"mean_absolute_error": 0.017863117158412933,
|
| 15 |
+
"top1_agreement": true,
|
| 16 |
+
"top5_overlap": 5
|
| 17 |
+
}
|
| 18 |
+
},
|
| 19 |
+
"direct_token_validation": {
|
| 20 |
+
"all_logits_finite": true,
|
| 21 |
+
"decode_token_id": 17,
|
| 22 |
+
"eog_token_ids": [
|
| 23 |
+
1
|
| 24 |
+
],
|
| 25 |
+
"prefill_token_ids": [
|
| 26 |
+
5,
|
| 27 |
+
7,
|
| 28 |
+
11,
|
| 29 |
+
13
|
| 30 |
+
],
|
| 31 |
+
"repeated_output_byte_identical": true,
|
| 32 |
+
"status": "passed"
|
| 33 |
+
},
|
| 34 |
+
"f32_intermediate_retained": false,
|
| 35 |
+
"f32_intermediate_sha256": "2dec29125ee372738404f1fe272aee7b98015c28925be8466a5a3574ff4ea51c",
|
| 36 |
+
"model_sha256": "6af2e0d230a7919c6b1a02b6462f0441ffbadbb8188b1bd9c0f8174fecd9308f",
|
| 37 |
+
"model_size_bytes": 294112,
|
| 38 |
+
"quantization": "Q4_0",
|
| 39 |
+
"quantizer_command": [
|
| 40 |
+
"LLAMA_QUANTIZE",
|
| 41 |
+
"--token-embedding-type",
|
| 42 |
+
"q4_0",
|
| 43 |
+
"F32_INPUT",
|
| 44 |
+
"OUTPUT",
|
| 45 |
+
"Q4_0"
|
| 46 |
+
],
|
| 47 |
+
"tensor_type_histogram": {
|
| 48 |
+
"F32": 9,
|
| 49 |
+
"Q4_0": 15
|
| 50 |
+
}
|
| 51 |
+
},
|
| 52 |
+
"hf": {
|
| 53 |
+
"config_sha256": "6edb7aa5560d7554cb76e21e54cef67116eff94f0891fd8da905e550c12bef63",
|
| 54 |
+
"construct_prefill_decode_reload": "passed",
|
| 55 |
+
"dtype": "bfloat16",
|
| 56 |
+
"model_sha256": "0960438e0541dfa529703f5e2b37565aec66b354f6e45bfdf121ecadfcd86dd4",
|
| 57 |
+
"reload_tolerance": {
|
| 58 |
+
"atol": 0.02,
|
| 59 |
+
"rtol": 0.02
|
| 60 |
+
},
|
| 61 |
+
"tokenizer_json_sha256": "8538827f687d1fd46c3de2ba983d0af5e705c0b0661bab1e8f261a9372046d4d",
|
| 62 |
+
"transformers_version": "5.14.1"
|
| 63 |
+
},
|
| 64 |
+
"parameter_count": 508800,
|
| 65 |
+
"reproducibility": {
|
| 66 |
+
"gguf_q4_0_byte_identical": true,
|
| 67 |
+
"hf_config_byte_identical": true,
|
| 68 |
+
"hf_model_byte_identical": true,
|
| 69 |
+
"native_repeated_output_byte_identical": true
|
| 70 |
+
},
|
| 71 |
+
"rng": {
|
| 72 |
+
"increment": 1442695040888963407,
|
| 73 |
+
"multiplier": 6364136223846793005,
|
| 74 |
+
"name": "tlfloat LCG64 equation",
|
| 75 |
+
"warmup_steps": 10
|
| 76 |
+
},
|
| 77 |
+
"schema_version": 1,
|
| 78 |
+
"seed": 5861229642211393537
|
| 79 |
+
}
|
qwen3-random-model/reference/gguf-native.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"vocab_size": 128,
|
| 4 |
+
"prefill_token_ids": [5,7,11,13],
|
| 5 |
+
"decode_token_id": 17,
|
| 6 |
+
"eog_token_ids": [1],
|
| 7 |
+
"all_logits_finite": true,
|
| 8 |
+
"prefill_last_logits": [-0.059569791,-0.00279867183,-0.129129365,-0.0497001708,-0.0163497981,0.0050463574,-0.118148349,-0.119329594,0.0471271574,0.165694386,0.121689022,0.0868684873,-0.285888314,0.464197576,0.0721694306,-0.0828261524,-0.00478410348,0.0489596315,-0.0185307804,0.131819114,0.150955066,-0.00900212489,-0.112120651,-0.0487837568,0.215351298,-0.0394815058,-0.246770024,0.123624079,0.440773666,-0.0608280487,-0.188993871,-0.0776931942,0.191938415,0.0849059895,0.161211357,0.209928721,0.19375211,0.0377947018,-0.0473469868,-0.0526904091,-0.342998058,0.00151638919,-0.281735033,-0.325757653,-0.0873417258,-0.0726597607,-0.0898307115,0.0961848348,0.0175519064,0.19467853,0.144317746,-0.0446694307,0.194096655,-0.0906346738,-0.00140182674,-0.248219967,-0.0332248844,-0.0761152059,-0.00496444013,0.0411773697,-0.100529052,0.184473619,0.12824671,-0.154807985,0.203380048,0.000879283529,0.0606221855,0.0596247315,-0.0945963487,0.101349384,-0.110620856,0.0342999995,0.260351092,0.122167736,-0.0360923372,0.173424855,-0.0171568785,0.01655237,0.0413330048,-0.0247170739,0.0867993608,-0.283120692,0.0356137976,0.131538391,-0.0686923563,-0.108378917,-0.234724298,0.0432123467,-0.0833863765,-0.136126012,-0.0844061077,0.0185204614,-0.106897838,-0.0382344723,0.0735053346,0.192892328,-0.072386384,0.0755672604,0.227094755,0.319558173,-0.0431868248,0.177255318,0.047903154,-0.0529437549,-0.0846508369,0.023263108,0.092685841,0.12609227,-0.0929150283,-0.0202170853,-0.0485494062,0.130493596,0.112307258,-0.0679365769,0.31350714,0.0275667477,0.412057728,-0.150501117,-0.0235658735,0.0479809642,0.120794863,-0.0657523423,-0.00684578717,0.128233552,-0.299440444,-0.0540933758,-0.0660768449,0.178839311],
|
| 9 |
+
"decode_logits": [-0.128728911,-0.0680600926,-0.0213499181,-0.0814930722,-0.0304954946,0.076275982,-0.0558523759,-0.193083286,-0.00124091003,0.180128112,-0.0235419907,-0.0499896929,-0.146302819,-0.0829787552,0.0822936594,-0.319333464,0.087422736,0.640825927,-0.0770442486,-0.00533498824,0.198489577,-0.0673802495,-0.044373773,-0.0899470448,0.22747986,-0.165194958,-0.206123427,0.184741259,0.430428028,0.201801389,-0.096214503,-0.182015613,0.113418564,-0.102462783,0.000823613489,0.201972425,0.286742687,0.00922726374,0.0207918584,0.139977247,-0.154677019,0.0959414467,-0.200118259,-0.286479235,-0.0979933813,-0.0308089741,-0.0729282647,0.0911978558,0.0227652844,0.0366883315,0.105987392,0.186607987,0.213508934,-0.0158322453,0.0286238045,-0.192842454,0.0747692138,-0.0121877929,-0.0764493123,0.0502483658,-0.00815661065,0.173016042,0.172006324,0.0342967473,0.21316421,0.00920947641,0.0562966801,-0.0439821929,-0.116201296,0.0822032988,-0.066759266,-0.0262424406,-0.0112875737,-0.043456845,-0.0415013656,0.271588266,-0.0526413396,-0.0800668597,-0.0901914164,0.0734161511,0.134245142,-0.195974514,-0.138575435,0.0581642762,-0.0191159453,-0.194816291,-0.104702979,0.0591645055,-0.14727436,-0.000515548047,0.0253087468,-0.0757197812,-0.0797108263,-0.217172638,-0.0814730152,0.19474645,-0.118938178,0.216702476,0.301452458,0.150767744,-0.178662762,0.103499614,0.164770931,0.0262989514,-0.0365286097,-0.0491542518,-0.0496671125,-0.0759799853,0.000831546262,-0.0431131274,-0.106817111,0.0936398432,0.0876262784,-0.0671788529,0.196318924,0.0209422112,0.214178532,-0.168416709,-0.0207815226,-0.00951737165,0.339859873,0.0654355064,-0.0690690279,0.105128914,-0.37723881,0.104125872,-0.151014224,0.0857063606]
|
| 10 |
+
}
|
qwen3-random-model/reference/hf-outputs.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bd0c82ac539035bd28f34e75c09950e377db649c7e6a5d76b99846542d7768e7
|
| 3 |
+
size 2720
|
qwen3-random-model/reference/inputs.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"decode_token_id": 17,
|
| 3 |
+
"prefill_token_ids": [
|
| 4 |
+
5,
|
| 5 |
+
7,
|
| 6 |
+
11,
|
| 7 |
+
13
|
| 8 |
+
]
|
| 9 |
+
}
|