silab4/gnn-rel4593-graphsemcom2
08
GraphSemCom GNN (rel4593)
This repo contains:
encoder_best.pt: GNN encoder weightsedge_clf_best.pt: edge relation classifier weightsrel2id.json: mapping of relation string -> class idconfig.json: metadata
How to use (concept)
- Build a graph Data(x, edgeindex, edgetype)
- Run encoder -> h
- Add AWGN to h (optional)
- Predict relations with edge_clf(h[src], h[dst])
Trained with AWGN augmentation (random SNR 0–20 dB).
