SoulPerforms commited on
Commit
f28df01
·
verified ·
1 Parent(s): 3a1ec34

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +14 -21
config.json CHANGED
@@ -1,22 +1,15 @@
1
  {
2
- "architectures": [
3
- "ViTForImageClassification"
4
- ],
5
- "attention_probs_dropout_prob": 0.0,
6
- "encoder_stride": 16,
7
- "hidden_act": "gelu",
8
- "hidden_dropout_prob": 0.0,
9
- "hidden_size": 768,
10
- "image_size": 224,
11
- "initializer_range": 0.02,
12
- "intermediate_size": 3072,
13
- "layer_norm_eps": 1e-12,
14
- "model_type": "vit",
15
- "num_attention_heads": 12,
16
- "num_channels": 3,
17
- "num_hidden_layers": 12,
18
- "patch_size": 16,
19
- "qkv_bias": true,
20
- "torch_dtype": "float32",
21
- "transformers_version": "4.38.1"
22
- }
 
1
  {
2
+ "model_name": "your_model_name",
3
+ "architecture": "resnet18",
4
+ "num_classes": 10,
5
+ "input_size": [3, 224, 224],
6
+ "batch_size": 32,
7
+ "learning_rate": 0.001,
8
+ "epochs": 10,
9
+ "optimizer": "Adam",
10
+ "loss_function": "CrossEntropyLoss",
11
+ "pretrained": true,
12
+ "dropout": 0.5,
13
+ "seed": 42,
14
+ "device": "cuda" // or "cpu"
15
+ }