Xenova HF staff commited on
Commit
91b079e
1 Parent(s): ee81169

Upload processor

Browse files
Files changed (3) hide show
  1. README.md +1 -1
  2. preprocessor_config.json +40 -0
  3. special_tokens_map.json +7 -1
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
- library_name: transformers
3
  license: gemma
 
4
  pipeline_tag: image-text-to-text
5
  ---
6
 
 
1
  ---
 
2
  license: gemma
3
+ library_name: transformers
4
  pipeline_tag: image-text-to-text
5
  ---
6
 
preprocessor_config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_valid_processor_keys": [
3
+ "images",
4
+ "do_resize",
5
+ "size",
6
+ "resample",
7
+ "do_rescale",
8
+ "rescale_factor",
9
+ "do_normalize",
10
+ "image_mean",
11
+ "image_std",
12
+ "return_tensors",
13
+ "data_format",
14
+ "input_data_format",
15
+ "do_convert_rgb"
16
+ ],
17
+ "do_convert_rgb": null,
18
+ "do_normalize": true,
19
+ "do_rescale": true,
20
+ "do_resize": true,
21
+ "image_mean": [
22
+ 0.5,
23
+ 0.5,
24
+ 0.5
25
+ ],
26
+ "image_processor_type": "SiglipImageProcessor",
27
+ "image_seq_length": 256,
28
+ "image_std": [
29
+ 0.5,
30
+ 0.5,
31
+ 0.5
32
+ ],
33
+ "processor_class": "PaliGemmaProcessor",
34
+ "resample": 3,
35
+ "rescale_factor": 0.00392156862745098,
36
+ "size": {
37
+ "height": 224,
38
+ "width": 224
39
+ }
40
+ }
special_tokens_map.json CHANGED
@@ -1,6 +1,12 @@
1
  {
2
  "additional_special_tokens": [
3
- "<image>"
 
 
 
 
 
 
4
  ],
5
  "bos_token": {
6
  "content": "<bos>",
 
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>",