mecha2019 commited on
Commit
5bd64d5
1 Parent(s): 7a0217f

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +15 -2
config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "model_name": "ViT-B/32",
3
  "fine_tuned": true,
4
- "tokenizer": "clip",
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
  }