Update config.json
Browse files- config.json +15 -2
config.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
"model_name": "ViT-B/32",
|
3 |
"fine_tuned": true,
|
4 |
-
"
|
5 |
"pretrained_weights_path": "./pytorch_model.bin",
|
6 |
"optimizer": {
|
7 |
"type": "Adam",
|
@@ -13,5 +13,18 @@
|
|
13 |
"loss_function": "CrossEntropyLoss",
|
14 |
"num_epochs": 10,
|
15 |
"batch_size": 16,
|
16 |
-
"device": "cpu"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
}
|
|
|
1 |
{
|
2 |
"model_name": "ViT-B/32",
|
3 |
"fine_tuned": true,
|
4 |
+
"tokenizer_class": "CLIPTokenizer",
|
5 |
"pretrained_weights_path": "./pytorch_model.bin",
|
6 |
"optimizer": {
|
7 |
"type": "Adam",
|
|
|
13 |
"loss_function": "CrossEntropyLoss",
|
14 |
"num_epochs": 10,
|
15 |
"batch_size": 16,
|
16 |
+
"device": "cpu",
|
17 |
+
"training_config": {
|
18 |
+
"optimizer": {
|
19 |
+
"type": "Adam",
|
20 |
+
"learning_rate": 1e-5,
|
21 |
+
"betas": [0.9, 0.98],
|
22 |
+
"eps": 1e-6,
|
23 |
+
"weight_decay": 0.2
|
24 |
+
},
|
25 |
+
"loss_function": "CrossEntropyLoss",
|
26 |
+
"num_epochs": 10,
|
27 |
+
"batch_size": 16,
|
28 |
+
"device": "cpu"
|
29 |
+
}
|
30 |
}
|