Adapters
Safetensors
prediction
File size: 269 Bytes
1b1f699
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import json

config = {
    "input_dim": 13,
    "model_dim": 64,
    "num_heads": 8,
    "num_layers": 2,
    "output_dim": 1,
    "model_type": "custom_transformer"
}

config_save_path = r'setting.json'
with open(config_save_path, 'w') as f:
    json.dump(config, f)