create config.json for nnsight
Browse files- config.json +19 -0
config.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"AutoModel"
|
| 4 |
+
],
|
| 5 |
+
"model_type": "custom",
|
| 6 |
+
"embed_dim": 256,
|
| 7 |
+
"hidden_dim": 64,
|
| 8 |
+
"qkv_dim": 128,
|
| 9 |
+
"num_heads": 8,
|
| 10 |
+
"cond_dim": 64,
|
| 11 |
+
"feed_forward_multiplier": 4,
|
| 12 |
+
"n_blocks": 8,
|
| 13 |
+
"p_self_cond": 0.4,
|
| 14 |
+
"p_mask_cond": 0.8,
|
| 15 |
+
"p_bert": 0.1,
|
| 16 |
+
"masking_range": [0.1, 0.2],
|
| 17 |
+
"max_prefix": 0,
|
| 18 |
+
"default_device": "cuda"
|
| 19 |
+
}
|