Upload trained GitGraph model
Browse files- config.json +31 -0
- model.pt +3 -0
config.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"code_encoder_config": {
|
| 3 |
+
"model_name": "Salesforce/codet5p-220m",
|
| 4 |
+
"max_length": 512,
|
| 5 |
+
"use_lora": true,
|
| 6 |
+
"lora_r": 16,
|
| 7 |
+
"lora_alpha": 32,
|
| 8 |
+
"lora_dropout": 0.1,
|
| 9 |
+
"gradient_checkpointing": false,
|
| 10 |
+
"freeze_encoder": false
|
| 11 |
+
},
|
| 12 |
+
"gnn_config": {
|
| 13 |
+
"input_dim": 768,
|
| 14 |
+
"hidden_dim": 256,
|
| 15 |
+
"output_dim": 256,
|
| 16 |
+
"num_layers": 3,
|
| 17 |
+
"num_heads": 4,
|
| 18 |
+
"dropout": 0.1,
|
| 19 |
+
"use_gatv2": true,
|
| 20 |
+
"use_residual": true,
|
| 21 |
+
"use_layer_norm": true,
|
| 22 |
+
"pooling": "mean"
|
| 23 |
+
},
|
| 24 |
+
"fusion_type": "concat",
|
| 25 |
+
"fusion_hidden_dim": 512,
|
| 26 |
+
"fusion_dropout": 0.1,
|
| 27 |
+
"vocab_size": 32128,
|
| 28 |
+
"num_files": 1000,
|
| 29 |
+
"head_hidden_dim": 256,
|
| 30 |
+
"head_dropout": 0.1
|
| 31 |
+
}
|
model.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ac9bef0ad2bc5795d671d00a861a36cc4720459c2a386738b83ee539eff77b58
|
| 3 |
+
size 482213631
|