Upload folder using huggingface_hub
Browse files- preprocessor_config.json +29 -0
- tokenizer.json +1 -1
- tokenizer_config.json +1 -0
preprocessor_config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"crop_size": {
|
3 |
+
"height": 224,
|
4 |
+
"width": 224
|
5 |
+
},
|
6 |
+
"do_center_crop": true,
|
7 |
+
"do_convert_rgb": true,
|
8 |
+
"do_normalize": true,
|
9 |
+
"do_rescale": true,
|
10 |
+
"do_resize": true,
|
11 |
+
"feature_extractor_type": "CLIPFeatureExtractor",
|
12 |
+
"image_mean": [
|
13 |
+
0.48145466,
|
14 |
+
0.4578275,
|
15 |
+
0.40821073
|
16 |
+
],
|
17 |
+
"image_processor_type": "CLIPImageProcessor",
|
18 |
+
"image_std": [
|
19 |
+
0.26862954,
|
20 |
+
0.26130258,
|
21 |
+
0.27577711
|
22 |
+
],
|
23 |
+
"processor_class": "CLIPProcessor",
|
24 |
+
"resample": 3,
|
25 |
+
"rescale_factor": 0.00392156862745098,
|
26 |
+
"size": {
|
27 |
+
"shortest_edge": 224
|
28 |
+
}
|
29 |
+
}
|
tokenizer.json
CHANGED
@@ -46,7 +46,7 @@
|
|
46 |
{
|
47 |
"type": "Split",
|
48 |
"pattern": {
|
49 |
-
"Regex": "'s|'t|'re|'ve|'m|'ll|'d|[\\p{L}]+|[\\p{N}]|[^\\s\\p{L}\\p{N}]+"
|
50 |
},
|
51 |
"behavior": "Removed",
|
52 |
"invert": true
|
|
|
46 |
{
|
47 |
"type": "Split",
|
48 |
"pattern": {
|
49 |
+
"Regex": "<\\|startoftext\\|>|<\\|endoftext\\|>|'s|'t|'re|'ve|'m|'ll|'d|[\\p{L}]+|[\\p{N}]|[^\\s\\p{L}\\p{N}]+"
|
50 |
},
|
51 |
"behavior": "Removed",
|
52 |
"invert": true
|
tokenizer_config.json
CHANGED
@@ -21,6 +21,7 @@
|
|
21 |
"errors": "replace",
|
22 |
"model_max_length": 77,
|
23 |
"pad_token": "<|endoftext|>",
|
|
|
24 |
"tokenizer_class": "CLIPTokenizer",
|
25 |
"unk_token": {
|
26 |
"__type": "AddedToken",
|
|
|
21 |
"errors": "replace",
|
22 |
"model_max_length": 77,
|
23 |
"pad_token": "<|endoftext|>",
|
24 |
+
"processor_class": "CLIPProcessor",
|
25 |
"tokenizer_class": "CLIPTokenizer",
|
26 |
"unk_token": {
|
27 |
"__type": "AddedToken",
|