VishnuPJ commited on
Commit
b6ff7c8
1 Parent(s): f2728fb

Upload folder using huggingface_hub

Browse files
.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
config.json ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/paligemma-3b-pt-224",
3
+ "architectures": [
4
+ "PaliGemmaForConditionalGeneration"
5
+ ],
6
+ "bos_token_id": 2,
7
+ "eos_token_id": 1,
8
+ "hidden_size": 2048,
9
+ "image_token_index": 257152,
10
+ "model_type": "paligemma",
11
+ "pad_token_id": 0,
12
+ "projection_dim": 2048,
13
+ "quantization_config": {
14
+ "_load_in_4bit": true,
15
+ "_load_in_8bit": false,
16
+ "bnb_4bit_compute_dtype": "float32",
17
+ "bnb_4bit_quant_storage": "uint8",
18
+ "bnb_4bit_quant_type": "nf4",
19
+ "bnb_4bit_use_double_quant": false,
20
+ "llm_int8_enable_fp32_cpu_offload": false,
21
+ "llm_int8_has_fp16_weight": false,
22
+ "llm_int8_skip_modules": null,
23
+ "llm_int8_threshold": 6.0,
24
+ "load_in_4bit": true,
25
+ "load_in_8bit": false,
26
+ "quant_method": "bitsandbytes"
27
+ },
28
+ "text_config": {
29
+ "hidden_size": 2048,
30
+ "intermediate_size": 16384,
31
+ "model_type": "gemma",
32
+ "num_attention_heads": 8,
33
+ "num_hidden_layers": 18,
34
+ "num_image_tokens": 256,
35
+ "num_key_value_heads": 1,
36
+ "torch_dtype": "float32",
37
+ "vocab_size": 257216
38
+ },
39
+ "torch_dtype": "float16",
40
+ "transformers_version": "4.45.0.dev0",
41
+ "vision_config": {
42
+ "hidden_size": 1152,
43
+ "intermediate_size": 4304,
44
+ "model_type": "siglip_vision_model",
45
+ "num_attention_heads": 16,
46
+ "num_hidden_layers": 27,
47
+ "num_image_tokens": 256,
48
+ "patch_size": 14,
49
+ "projection_dim": 2048,
50
+ "projector_hidden_act": "gelu_fast",
51
+ "vision_use_head": false
52
+ }
53
+ }
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.45.0.dev0"
7
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b2ea62b3c7172139caac90519a053930dbd5b01abdcd8fef650471d006c9a042
3
+ size 2404510763
preprocessor_config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_convert_rgb": null,
3
+ "do_normalize": true,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "image_mean": [
7
+ 0.5,
8
+ 0.5,
9
+ 0.5
10
+ ],
11
+ "image_processor_type": "SiglipImageProcessor",
12
+ "image_seq_length": 256,
13
+ "image_std": [
14
+ 0.5,
15
+ 0.5,
16
+ 0.5
17
+ ],
18
+ "processor_class": "PaliGemmaProcessor",
19
+ "resample": 3,
20
+ "rescale_factor": 0.00392156862745098,
21
+ "size": {
22
+ "height": 224,
23
+ "width": 224
24
+ }
25
+ }
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:1df2ab04780faccf51a881d7c5a7026cc6f979083af2eebf709d051b8d47134b
3
+ size 17763458
tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff