Final finetuned model
Browse files- .gitattributes +1 -0
- added_tokens.json +3 -0
- config.json +54 -0
- generation_config.json +7 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +39 -0
- tokenizer.json +3 -0
- tokenizer.model +3 -0
- tokenizer_config.json +0 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ 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
|
added_tokens.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<image>": 257152
|
3 |
+
}
|
config.json
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/paligemma-3b-pt-224",
|
3 |
+
"_vocab_size": 257216,
|
4 |
+
"architectures": [
|
5 |
+
"PaliGemmaForConditionalGeneration"
|
6 |
+
],
|
7 |
+
"bos_token_id": 2,
|
8 |
+
"eos_token_id": 1,
|
9 |
+
"hidden_size": 2048,
|
10 |
+
"image_token_index": 257152,
|
11 |
+
"model_type": "paligemma",
|
12 |
+
"pad_token_id": 0,
|
13 |
+
"projection_dim": 2048,
|
14 |
+
"quantization_config": {
|
15 |
+
"_load_in_4bit": true,
|
16 |
+
"_load_in_8bit": false,
|
17 |
+
"bnb_4bit_compute_dtype": "float32",
|
18 |
+
"bnb_4bit_quant_storage": "uint8",
|
19 |
+
"bnb_4bit_quant_type": "nf4",
|
20 |
+
"bnb_4bit_use_double_quant": true,
|
21 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
22 |
+
"llm_int8_has_fp16_weight": false,
|
23 |
+
"llm_int8_skip_modules": null,
|
24 |
+
"llm_int8_threshold": 6.0,
|
25 |
+
"load_in_4bit": true,
|
26 |
+
"load_in_8bit": false,
|
27 |
+
"quant_method": "bitsandbytes"
|
28 |
+
},
|
29 |
+
"text_config": {
|
30 |
+
"hidden_size": 2048,
|
31 |
+
"intermediate_size": 16384,
|
32 |
+
"model_type": "gemma",
|
33 |
+
"num_attention_heads": 8,
|
34 |
+
"num_hidden_layers": 18,
|
35 |
+
"num_image_tokens": 256,
|
36 |
+
"num_key_value_heads": 1,
|
37 |
+
"torch_dtype": "float32",
|
38 |
+
"vocab_size": 257216
|
39 |
+
},
|
40 |
+
"torch_dtype": "bfloat16",
|
41 |
+
"transformers_version": "4.46.0.dev0",
|
42 |
+
"vision_config": {
|
43 |
+
"hidden_size": 1152,
|
44 |
+
"intermediate_size": 4304,
|
45 |
+
"model_type": "siglip_vision_model",
|
46 |
+
"num_attention_heads": 16,
|
47 |
+
"num_hidden_layers": 27,
|
48 |
+
"num_image_tokens": 256,
|
49 |
+
"patch_size": 14,
|
50 |
+
"projection_dim": 2048,
|
51 |
+
"projector_hidden_act": "gelu_fast",
|
52 |
+
"vision_use_head": false
|
53 |
+
}
|
54 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 2,
|
4 |
+
"eos_token_id": 1,
|
5 |
+
"pad_token_id": 0,
|
6 |
+
"transformers_version": "4.46.0.dev0"
|
7 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b1446b296cbd416f9b3c20e3f654cde525bb80cb16f7ffffe689448737a40165
|
3 |
+
size 2293179426
|
special_tokens_map.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
{
|
4 |
+
"content": "<image>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false
|
9 |
+
}
|
10 |
+
],
|
11 |
+
"bos_token": {
|
12 |
+
"content": "<bos>",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false
|
17 |
+
},
|
18 |
+
"eos_token": {
|
19 |
+
"content": "<eos>",
|
20 |
+
"lstrip": false,
|
21 |
+
"normalized": false,
|
22 |
+
"rstrip": false,
|
23 |
+
"single_word": false
|
24 |
+
},
|
25 |
+
"pad_token": {
|
26 |
+
"content": "<pad>",
|
27 |
+
"lstrip": false,
|
28 |
+
"normalized": false,
|
29 |
+
"rstrip": false,
|
30 |
+
"single_word": false
|
31 |
+
},
|
32 |
+
"unk_token": {
|
33 |
+
"content": "<unk>",
|
34 |
+
"lstrip": false,
|
35 |
+
"normalized": false,
|
36 |
+
"rstrip": false,
|
37 |
+
"single_word": false
|
38 |
+
}
|
39 |
+
}
|
tokenizer.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b648d11e0879b11659e6b4051f691752c0cef597a865c6fde5b318b9f68c1d05
|
3 |
+
size 34600974
|
tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8986bb4f423f07f8c7f70d0dbe3526fb2316056c17bae71b1ea975e77a168fc6
|
3 |
+
size 4264023
|
tokenizer_config.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|