Upload UnicrsGen
Browse files- config.json +39 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"WEIGHT_DIMENSIONS": {
|
3 |
+
"edge_index.dtype": "torch.int64",
|
4 |
+
"edge_index.shape": [
|
5 |
+
2,
|
6 |
+
69125
|
7 |
+
],
|
8 |
+
"edge_type.dtype": "torch.int64",
|
9 |
+
"edge_type.shape": [
|
10 |
+
69125
|
11 |
+
]
|
12 |
+
},
|
13 |
+
"_name_or_path": "./save/unicrs_conv/inspired/model_best",
|
14 |
+
"architectures": [
|
15 |
+
"UnicrsGen"
|
16 |
+
],
|
17 |
+
"kgprompt_config": {
|
18 |
+
"hidden_size": 768,
|
19 |
+
"kg_info": {
|
20 |
+
"num_entities": 17321,
|
21 |
+
"num_relations": 13,
|
22 |
+
"pad_entity_id": 17320
|
23 |
+
},
|
24 |
+
"n_block": 2,
|
25 |
+
"n_head": 12,
|
26 |
+
"n_layer": 12,
|
27 |
+
"n_prefix_conv": 20,
|
28 |
+
"n_prefix_rec": null,
|
29 |
+
"num_bases": 8,
|
30 |
+
"num_tokens": 50266,
|
31 |
+
"token_hidden_size": 768
|
32 |
+
},
|
33 |
+
"max_gen_len": 50,
|
34 |
+
"num_tokens": 50259,
|
35 |
+
"pad_token_id": 50257,
|
36 |
+
"pretrained_model": "microsoft/DialoGPT-small",
|
37 |
+
"torch_dtype": "float32",
|
38 |
+
"transformers_version": "4.29.2"
|
39 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:661dae2c86a205ed6cd2ba3818180731709395e724f0a2180667a1420e19abf1
|
3 |
+
size 103930190
|