m-ric HF staff commited on
Commit
3b58f25
1 Parent(s): d5d3ba6

Upload processor

Browse files
chat_template.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% for message in messages %}<|im_start|>{{ message['role'] }}\n{% if message['content'] is string %}{{ message['content'] }}{% elif message['content'] is iterable %}{% for item in message['content'] %}{% if item['type'] == 'text' %}{{ item['text'] }}{% elif item['type'] == 'image' %}<fim_prefix><|img|><fim_suffix>{% endif %}{% endfor %}{% endif %}<|im_end|>\n{% endfor %}{% if add_generation_prompt %}<|im_start|>assistant\n{% endif %}"
3
+ }
preprocessor_config.json CHANGED
@@ -4,6 +4,8 @@
4
  "AutoImageProcessor": "rhymes-ai/Aria--vision_processor.AriaVisionProcessor",
5
  "AutoProcessor": "rhymes-ai/Aria--processing_aria.AriaProcessor"
6
  },
 
 
7
  "image_mean": [
8
  0.5,
9
  0.5,
@@ -18,82 +20,84 @@
18
  "max_image_size": 980,
19
  "min_image_size": 336,
20
  "processor_class": "AriaProcessor",
21
- "split_ratio": [
 
 
22
  [
23
- 1,
24
- 2
25
  ],
26
  [
27
- 1,
28
- 3
29
  ],
30
  [
31
- 1,
32
- 4
33
  ],
34
  [
35
- 1,
36
- 5
37
  ],
38
  [
39
- 1,
40
- 6
41
  ],
42
  [
43
- 1,
44
- 7
45
  ],
46
  [
47
- 1,
48
- 8
49
  ],
50
  [
51
- 2,
52
- 4
53
  ],
54
  [
55
- 2,
56
- 3
57
  ],
58
  [
59
- 2,
60
- 2
61
  ],
62
  [
63
- 2,
64
- 1
65
  ],
66
  [
67
- 3,
68
- 1
69
  ],
70
  [
71
- 3,
72
- 2
73
  ],
74
  [
75
- 4,
76
- 1
77
  ],
78
  [
79
- 4,
80
- 2
81
  ],
82
  [
83
- 5,
84
- 1
85
  ],
86
  [
87
- 6,
88
- 1
89
  ],
90
  [
91
- 7,
92
- 1
93
  ],
94
  [
95
- 8,
96
- 1
97
  ]
98
  ]
99
  }
 
4
  "AutoImageProcessor": "rhymes-ai/Aria--vision_processor.AriaVisionProcessor",
5
  "AutoProcessor": "rhymes-ai/Aria--processing_aria.AriaProcessor"
6
  },
7
+ "do_convert_rgb": true,
8
+ "do_normalize": true,
9
  "image_mean": [
10
  0.5,
11
  0.5,
 
20
  "max_image_size": 980,
21
  "min_image_size": 336,
22
  "processor_class": "AriaProcessor",
23
+ "resample": 3,
24
+ "split_image": false,
25
+ "split_resolutions": [
26
  [
27
+ 490,
28
+ 980
29
  ],
30
  [
31
+ 490,
32
+ 1470
33
  ],
34
  [
35
+ 490,
36
+ 1960
37
  ],
38
  [
39
+ 490,
40
+ 2450
41
  ],
42
  [
43
+ 490,
44
+ 2940
45
  ],
46
  [
47
+ 490,
48
+ 3430
49
  ],
50
  [
51
+ 490,
52
+ 3920
53
  ],
54
  [
55
+ 980,
56
+ 1960
57
  ],
58
  [
59
+ 980,
60
+ 1470
61
  ],
62
  [
63
+ 980,
64
+ 980
65
  ],
66
  [
67
+ 980,
68
+ 490
69
  ],
70
  [
71
+ 1470,
72
+ 490
73
  ],
74
  [
75
+ 1470,
76
+ 980
77
  ],
78
  [
79
+ 1960,
80
+ 490
81
  ],
82
  [
83
+ 1960,
84
+ 980
85
  ],
86
  [
87
+ 2450,
88
+ 490
89
  ],
90
  [
91
+ 2940,
92
+ 490
93
  ],
94
  [
95
+ 3430,
96
+ 490
97
  ],
98
  [
99
+ 3920,
100
+ 490
101
  ]
102
  ]
103
  }
processor_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "processor_class": "AriaProcessor",
3
+ "size_conversion": {
4
+ "490": 128,
5
+ "980": 256
6
+ }
7
+ }
tokenizer_config.json CHANGED
@@ -4952,6 +4952,7 @@
4952
  "legacy": true,
4953
  "model_max_length": 1000000000000000019884624838656,
4954
  "pad_token": "<pad>",
 
4955
  "sp_model_kwargs": {},
4956
  "spaces_between_special_tokens": false,
4957
  "tokenizer_class": "LlamaTokenizer",
 
4952
  "legacy": true,
4953
  "model_max_length": 1000000000000000019884624838656,
4954
  "pad_token": "<pad>",
4955
+ "processor_class": "AriaProcessor",
4956
  "sp_model_kwargs": {},
4957
  "spaces_between_special_tokens": false,
4958
  "tokenizer_class": "LlamaTokenizer",