LearnWaterFlow commited on
Commit
edc07ea
·
verified ·
1 Parent(s): b434903

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +41 -4
config.json CHANGED
@@ -1,9 +1,46 @@
1
  {
 
 
 
 
 
2
  "architectures": [
3
  "ResNet"
4
  ],
5
- "dtype": "float32",
6
- "model_type": "custom_resnet",
7
  "num_classes": 10,
8
- "transformers_version": "4.57.1"
9
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  {
2
+ "model_type": "custom_resnet",
3
+ "auto_map": {
4
+ "AutoConfig": "modeling_resnet.ResNetConfig",
5
+ "AutoModel": "modeling_resnet.ResNet"
6
+ },
7
  "architectures": [
8
  "ResNet"
9
  ],
 
 
10
  "num_classes": 10,
11
+ "input_channels": 3,
12
+ "image_size": 64,
13
+ "activation_function": "relu",
14
+ "block_type": "resnet",
15
+ "layers": [3, 4, 6, 3],
16
+ "hidden_sizes": [64, 128, 256, 512],
17
+ "classifier_dropout": 0.0,
18
+ "label_smoothing": 0.1,
19
+ "problem_type": "image_classification",
20
+ "id2label": {
21
+ "0": "0",
22
+ "1": "1",
23
+ "2": "2",
24
+ "3": "3",
25
+ "4": "4",
26
+ "5": "5",
27
+ "6": "6",
28
+ "7": "7",
29
+ "8": "8",
30
+ "9": "9"
31
+ },
32
+ "label2id": {
33
+ "0": 0,
34
+ "1": 1,
35
+ "2": 2,
36
+ "3": 3,
37
+ "4": 4,
38
+ "5": 5,
39
+ "6": 6,
40
+ "7": 7,
41
+ "8": 8,
42
+ "9": 9
43
+ },
44
+ "torch_dtype": "float32",
45
+ "transformers_version": "4.47.1"
46
+ }