Commit
•
ddce5af
1
Parent(s):
332c375
Upload 3 files
Browse files- config.json +1 -0
- model.safetensors +3 -0
- preprocessor_config.json +36 -0
config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"model_type": "vit", "id2label": {"0": "Addiction", "1": "Harassment,Exploitation and Bullying", "2": "Hentai_Nudity", "3": "Neutral", "4": "Religious_Political", "5": "Sports and Entertainment", "6": "Suicides_Accidents", "7": "Terrorism"}, "label2id": {"Addiction": 0, "Harassment,Exploitation and Bullying": 1, "Hentai_Nudity": 2, "Neutral": 3, "Religious_Political": 4, "Sports and Entertainment": 5, "Suicides_Accidents": 6, "Terrorism": 7}, "num_labels": 8, "architectures": ["ViTForImageClassification"]}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:eaf72af080cb1ab55bb68402a2d1374fedb8a5be26fa376383b4bf5a2396ede8
|
3 |
+
size 343242432
|
preprocessor_config.json
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_valid_processor_keys": [
|
3 |
+
"images",
|
4 |
+
"do_resize",
|
5 |
+
"size",
|
6 |
+
"resample",
|
7 |
+
"do_rescale",
|
8 |
+
"rescale_factor",
|
9 |
+
"do_normalize",
|
10 |
+
"image_mean",
|
11 |
+
"image_std",
|
12 |
+
"return_tensors",
|
13 |
+
"data_format",
|
14 |
+
"input_data_format"
|
15 |
+
],
|
16 |
+
"do_normalize": true,
|
17 |
+
"do_rescale": true,
|
18 |
+
"do_resize": true,
|
19 |
+
"image_mean": [
|
20 |
+
0.5,
|
21 |
+
0.5,
|
22 |
+
0.5
|
23 |
+
],
|
24 |
+
"image_processor_type": "ViTImageProcessor",
|
25 |
+
"image_std": [
|
26 |
+
0.5,
|
27 |
+
0.5,
|
28 |
+
0.5
|
29 |
+
],
|
30 |
+
"resample": 2,
|
31 |
+
"rescale_factor": 0.00392156862745098,
|
32 |
+
"size": {
|
33 |
+
"height": 224,
|
34 |
+
"width": 224
|
35 |
+
}
|
36 |
+
}
|