Upload 2 files
Browse files- preprocessor_config.json +27 -0
- processor_config.json +13 -0
preprocessor_config.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"crop_to_patches": false,
|
| 3 |
+
"do_convert_rgb": true,
|
| 4 |
+
"do_normalize": true,
|
| 5 |
+
"do_rescale": true,
|
| 6 |
+
"do_resize": true,
|
| 7 |
+
"image_mean": [
|
| 8 |
+
0.5,
|
| 9 |
+
0.5,
|
| 10 |
+
0.5
|
| 11 |
+
],
|
| 12 |
+
"image_processor_type": "GotOcr2ImageProcessor",
|
| 13 |
+
"image_std": [
|
| 14 |
+
0.5,
|
| 15 |
+
0.5,
|
| 16 |
+
0.5
|
| 17 |
+
],
|
| 18 |
+
"max_patches": 12,
|
| 19 |
+
"min_patches": 1,
|
| 20 |
+
"processor_class": "AyaVisionProcessor",
|
| 21 |
+
"resample": 3,
|
| 22 |
+
"rescale_factor": 0.00392156862745098,
|
| 23 |
+
"size": {
|
| 24 |
+
"height": 364,
|
| 25 |
+
"width": 364
|
| 26 |
+
}
|
| 27 |
+
}
|
processor_config.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"end_of_img_token": "<|END_OF_IMG|>",
|
| 3 |
+
"image_token": "<image>",
|
| 4 |
+
"img_line_break_token": "<|IMG_LINE_BREAK|>",
|
| 5 |
+
"img_patch_token": "<|IMG_PATCH|>",
|
| 6 |
+
"img_size": 364,
|
| 7 |
+
"patch_size": 28,
|
| 8 |
+
"processor_class": "AyaVisionProcessor",
|
| 9 |
+
"start_of_img_token": "<|START_OF_IMG|>",
|
| 10 |
+
"tile_global_token": "TILE_GLOBAL",
|
| 11 |
+
"tile_token": "TILE",
|
| 12 |
+
"vision_feature_select_strategy": "full"
|
| 13 |
+
}
|