Transformers
PyTorch
flava
pretraining
Inference Endpoints
aps commited on
Commit
ba70dbe
1 Parent(s): 2e705b4

Add processor files

Browse files
preprocessor_config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": 224,
3
+ "do_center_crop": true,
4
+ "do_normalize": true,
5
+ "do_resize": true,
6
+ "feature_extractor_type": "FLAVAFeatureExtractor",
7
+ "image_mean": [
8
+ 0.48145466,
9
+ 0.4578275,
10
+ 0.40821073
11
+ ],
12
+ "image_std": [
13
+ 0.26862954,
14
+ 0.26130258,
15
+ 0.27577711
16
+ ],
17
+ "input_size_patches": 14,
18
+ "mask_group_max_aspect_ratio": null,
19
+ "mask_group_max_patches": null,
20
+ "mask_group_min_aspect_ratio": 0.3,
21
+ "mask_group_min_patches": 16,
22
+ "processor_class": "FLAVAProcessor",
23
+ "resample": 3,
24
+ "size": 224,
25
+ "total_mask_patches": 75
26
+ }
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"do_lower_case": true, "do_basic_tokenize": true, "never_split": null, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "bert-base-uncased", "tokenizer_class": "BertTokenizer", "processor_class": "FLAVAProcessor"}
vocab.txt ADDED
The diff for this file is too large to render. See raw diff