Kevin99z commited on
Commit
91320f6
1 Parent(s): 2fc6260

Upload UnicrsRec

Browse files
Files changed (2) hide show
  1. config.json +37 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "WEIGHT_DIMENSIONS": {
3
+ "edge_index.dtype": "torch.int64",
4
+ "edge_index.shape": [
5
+ 2,
6
+ 186685
7
+ ],
8
+ "edge_type.dtype": "torch.int64",
9
+ "edge_type.shape": [
10
+ 186685
11
+ ]
12
+ },
13
+ "_name_or_path": "./save/unicrs_rec/redial/model_best",
14
+ "architectures": [
15
+ "UnicrsRec"
16
+ ],
17
+ "kgprompt_config": {
18
+ "hidden_size": 768,
19
+ "kg_info": {
20
+ "num_entities": 31162,
21
+ "num_relations": 25,
22
+ "pad_entity_id": 31161
23
+ },
24
+ "n_block": 2,
25
+ "n_head": 12,
26
+ "n_layer": 12,
27
+ "n_prefix_rec": 10,
28
+ "num_bases": 8,
29
+ "num_tokens": 50266,
30
+ "token_hidden_size": 768
31
+ },
32
+ "num_tokens": 50259,
33
+ "pad_token_id": 50257,
34
+ "pretrained_model": "microsoft/DialoGPT-small",
35
+ "torch_dtype": "float32",
36
+ "transformers_version": "4.29.2"
37
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:22a382346eefb6f1d2b12dd600dc053629a017648889c57d8cb4e0fb4b8838ff
3
+ size 127981070