Shubhra Pandit
commited on
Commit
·
24b86ed
1
Parent(s):
4eb22f9
Upload model files
Browse files- .gitattributes +2 -0
- added_tokens.json +3 -0
- config.json +79 -0
- generation_config.json +13 -0
- model.safetensors +3 -0
- recipe.yaml +12 -0
- special_tokens_map.json +33 -0
- tokenizer.json +3 -0
- tokenizer.model +3 -0
- tokenizer_config.json +0 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
|
added_tokens.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"<image_soft_token>": 262144
|
| 3 |
+
}
|
config.json
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Gemma3ForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_bias": false,
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"attn_logit_softcapping": null,
|
| 8 |
+
"bos_token_id": 2,
|
| 9 |
+
"cache_implementation": "hybrid",
|
| 10 |
+
"eos_token_id": [
|
| 11 |
+
1,
|
| 12 |
+
106
|
| 13 |
+
],
|
| 14 |
+
"final_logit_softcapping": null,
|
| 15 |
+
"head_dim": 256,
|
| 16 |
+
"hidden_activation": "gelu_pytorch_tanh",
|
| 17 |
+
"hidden_size": 1152,
|
| 18 |
+
"initializer_range": 0.02,
|
| 19 |
+
"intermediate_size": 6912,
|
| 20 |
+
"max_position_embeddings": 32768,
|
| 21 |
+
"model_type": "gemma3_text",
|
| 22 |
+
"num_attention_heads": 4,
|
| 23 |
+
"num_hidden_layers": 26,
|
| 24 |
+
"num_key_value_heads": 1,
|
| 25 |
+
"pad_token_id": 0,
|
| 26 |
+
"quantization_config": {
|
| 27 |
+
"config_groups": {
|
| 28 |
+
"group_0": {
|
| 29 |
+
"input_activations": {
|
| 30 |
+
"actorder": null,
|
| 31 |
+
"block_structure": null,
|
| 32 |
+
"dynamic": true,
|
| 33 |
+
"group_size": null,
|
| 34 |
+
"num_bits": 8,
|
| 35 |
+
"observer": null,
|
| 36 |
+
"observer_kwargs": {},
|
| 37 |
+
"strategy": "token",
|
| 38 |
+
"symmetric": true,
|
| 39 |
+
"type": "int"
|
| 40 |
+
},
|
| 41 |
+
"output_activations": null,
|
| 42 |
+
"targets": [
|
| 43 |
+
"Linear"
|
| 44 |
+
],
|
| 45 |
+
"weights": {
|
| 46 |
+
"actorder": null,
|
| 47 |
+
"block_structure": null,
|
| 48 |
+
"dynamic": false,
|
| 49 |
+
"group_size": null,
|
| 50 |
+
"num_bits": 8,
|
| 51 |
+
"observer": "mse",
|
| 52 |
+
"observer_kwargs": {},
|
| 53 |
+
"strategy": "channel",
|
| 54 |
+
"symmetric": true,
|
| 55 |
+
"type": "int"
|
| 56 |
+
}
|
| 57 |
+
}
|
| 58 |
+
},
|
| 59 |
+
"format": "int-quantized",
|
| 60 |
+
"global_compression_ratio": null,
|
| 61 |
+
"ignore": [
|
| 62 |
+
"lm_head"
|
| 63 |
+
],
|
| 64 |
+
"kv_cache_scheme": null,
|
| 65 |
+
"quant_method": "compressed-tensors",
|
| 66 |
+
"quantization_status": "compressed"
|
| 67 |
+
},
|
| 68 |
+
"query_pre_attn_scalar": 256,
|
| 69 |
+
"rms_norm_eps": 1e-06,
|
| 70 |
+
"rope_local_base_freq": 10000,
|
| 71 |
+
"rope_scaling": null,
|
| 72 |
+
"rope_theta": 1000000,
|
| 73 |
+
"sliding_window": 512,
|
| 74 |
+
"sliding_window_pattern": 6,
|
| 75 |
+
"torch_dtype": "bfloat16",
|
| 76 |
+
"transformers_version": "4.51.3",
|
| 77 |
+
"use_cache": true,
|
| 78 |
+
"vocab_size": 262144
|
| 79 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 2,
|
| 3 |
+
"cache_implementation": "hybrid",
|
| 4 |
+
"do_sample": true,
|
| 5 |
+
"eos_token_id": [
|
| 6 |
+
1,
|
| 7 |
+
106
|
| 8 |
+
],
|
| 9 |
+
"pad_token_id": 0,
|
| 10 |
+
"top_k": 64,
|
| 11 |
+
"top_p": 0.95,
|
| 12 |
+
"transformers_version": "4.51.3"
|
| 13 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8cc0227db20ae63a50c9c1edd6dda3fa0b92a4efca9ad9ca7dbb396b35cae5c1
|
| 3 |
+
size 1906969248
|
recipe.yaml
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
quant_stage:
|
| 2 |
+
quant_modifiers:
|
| 3 |
+
GPTQModifier:
|
| 4 |
+
dampening_frac: 0.01
|
| 5 |
+
ignore: ['re:.*lm_head.*', 're:.*embed_tokens.*', 're:vision_tower.*', 're:multi_modal_projector.*']
|
| 6 |
+
sequential_update: true
|
| 7 |
+
config_groups:
|
| 8 |
+
group_0:
|
| 9 |
+
targets: [Linear]
|
| 10 |
+
weights: {num_bits: 8, type: int, symmetric: true, strategy: channel, observer: mse}
|
| 11 |
+
input_activations: {num_bits: 8, type: int, symmetric: true, strategy: token, dynamic: true,
|
| 12 |
+
observer: memoryless}
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"boi_token": "<start_of_image>",
|
| 3 |
+
"bos_token": {
|
| 4 |
+
"content": "<bos>",
|
| 5 |
+
"lstrip": false,
|
| 6 |
+
"normalized": false,
|
| 7 |
+
"rstrip": false,
|
| 8 |
+
"single_word": false
|
| 9 |
+
},
|
| 10 |
+
"eoi_token": "<end_of_image>",
|
| 11 |
+
"eos_token": {
|
| 12 |
+
"content": "<eos>",
|
| 13 |
+
"lstrip": false,
|
| 14 |
+
"normalized": false,
|
| 15 |
+
"rstrip": false,
|
| 16 |
+
"single_word": false
|
| 17 |
+
},
|
| 18 |
+
"image_token": "<image_soft_token>",
|
| 19 |
+
"pad_token": {
|
| 20 |
+
"content": "<pad>",
|
| 21 |
+
"lstrip": false,
|
| 22 |
+
"normalized": false,
|
| 23 |
+
"rstrip": false,
|
| 24 |
+
"single_word": false
|
| 25 |
+
},
|
| 26 |
+
"unk_token": {
|
| 27 |
+
"content": "<unk>",
|
| 28 |
+
"lstrip": false,
|
| 29 |
+
"normalized": false,
|
| 30 |
+
"rstrip": false,
|
| 31 |
+
"single_word": false
|
| 32 |
+
}
|
| 33 |
+
}
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4667f2089529e8e7657cfb6d1c19910ae71ff5f28aa7ab2ff2763330affad795
|
| 3 |
+
size 33384568
|
tokenizer.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1299c11d7cf632ef3b4e11937501358ada021bbdf7c47638d13c0ee982f2e79c
|
| 3 |
+
size 4689074
|
tokenizer_config.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|