jiechau commited on
Commit
fc124a7
1 Parent(s): 3afa1b4

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +7 -7
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "/home/rundeck/_ai_bulk_files/Colab_Notebooks/_saved_model/_saved_model_friDay/friDay_adult_sexy/google-vit-base-patch16-224-in21k-pt-trainer",
3
  "architectures": [
4
  "ViTForImageClassification"
5
  ],
@@ -9,17 +9,17 @@
9
  "hidden_dropout_prob": 0.0,
10
  "hidden_size": 768,
11
  "id2label": {
12
- "0": "default",
13
- "1": "adult",
14
- "2": "regular"
15
  },
16
  "image_size": 224,
17
  "initializer_range": 0.02,
18
  "intermediate_size": 3072,
19
  "label2id": {
20
- "adult": "1",
21
- "default": "0",
22
- "regular": "2"
23
  },
24
  "layer_norm_eps": 1e-12,
25
  "model_type": "vit",
 
1
  {
2
+ "_name_or_path": "/home/jiechau/model/adult-content-identify-image",
3
  "architectures": [
4
  "ViTForImageClassification"
5
  ],
 
9
  "hidden_dropout_prob": 0.0,
10
  "hidden_size": 768,
11
  "id2label": {
12
+ "0": "unknown",
13
+ "1": "adult_成人商品",
14
+ "2": "regular_一般商品"
15
  },
16
  "image_size": 224,
17
  "initializer_range": 0.02,
18
  "intermediate_size": 3072,
19
  "label2id": {
20
+ "unknown": 0,
21
+ "adult_成人商品": 1,
22
+ "regular_一般商品": 2
23
  },
24
  "layer_norm_eps": 1e-12,
25
  "model_type": "vit",