emre159 commited on
Commit
5689aba
·
verified ·
1 Parent(s): a4c4ead

Upload GraphSemCom GNN encoder + edge relation classifier

Browse files
Files changed (5) hide show
  1. README.md +24 -0
  2. config.json +11 -0
  3. edge_clf_best.pt +3 -0
  4. encoder_best.pt +3 -0
  5. rel2id.json +0 -0
README.md ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ tags:
4
+ - graph-neural-network
5
+ - semantic-communication
6
+ - webnlg
7
+ - dart
8
+ ---
9
+
10
+ # GraphSemCom GNN (rel4593)
11
+
12
+ This repo contains:
13
+ - `encoder_best.pt`: GNN encoder weights
14
+ - `edge_clf_best.pt`: edge relation classifier weights
15
+ - `rel2id.json`: mapping of relation string -> class id
16
+ - `config.json`: metadata
17
+
18
+ ## How to use (concept)
19
+ 1. Build a graph Data(x, edge_index, edge_type)
20
+ 2. Run encoder -> h
21
+ 3. Add AWGN to h (optional)
22
+ 4. Predict relations with edge_clf(h[src], h[dst])
23
+
24
+ Trained with AWGN augmentation (random SNR 0–20 dB).
config.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "graphsemcom-gnn",
3
+ "embedding_dim": 384,
4
+ "num_relations": 4593,
5
+ "files": [
6
+ "encoder_best.pt",
7
+ "edge_clf_best.pt",
8
+ "rel2id.json"
9
+ ],
10
+ "notes": "GNN encoder + relation classifier trained on GEM/web_nlg(en) + Yale-LILY/dart. AWGN augmentation during training."
11
+ }
edge_clf_best.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:52d2ebfcf4e419c65439d5c574d6195aeb9d03a1dccd40d30fc71873ab005a25
3
+ size 12575257
encoder_best.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a9fd18189e31b583904372a0670c1526b83ef03562d823cea6f79232242ddfa
3
+ size 17663709
rel2id.json ADDED
The diff for this file is too large to render. See raw diff