yaya36095 commited on
Commit
205e3be
·
verified ·
1 Parent(s): a41cd17

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +13 -6
config.json CHANGED
@@ -1,8 +1,15 @@
1
  {
2
- "task": "image-classification",
3
- "framework": "pytorch",
4
- "model_id": "ai-image-detector",
5
- "handler_type": "custom",
6
- "handler_file": "handler.py",
7
- "handler_class": "Handler"
 
 
 
 
 
 
 
8
  }
 
1
  {
2
+ "architectures": ["AIDetectorForImageClassification"],
3
+ "model_type": "vision-encoder-decoder",
4
+ "num_labels": 2,
5
+ "id2label": {
6
+ "0": "real",
7
+ "1": "ai-generated"
8
+ },
9
+ "label2id": {
10
+ "real": 0,
11
+ "ai-generated": 1
12
+ },
13
+ "torch_dtype": "float32",
14
+ "transformers_version": "4.30.0"
15
  }