Graph Machine Learning
Transformers
Safetensors
English
unicosys_hypergraph
knowledge-graph
hypergraph
legal-evidence
graph-neural-network
unicosys
Instructions to use drzo/unicosys-hypergraph with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use drzo/unicosys-hypergraph with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("drzo/unicosys-hypergraph", device_map="auto") - Notebooks
- Google Colab
- Kaggle
chore: update unicosys hypergraph model from CI pipeline
Browse files- README.md +3 -3
- config.json +2 -2
- graph_data.safetensors +2 -2
- model.safetensors +2 -2
- model_summary.json +4 -4
- node_id_mapping.json +0 -0
- tokenizer.json +25 -26
README.md
CHANGED
|
@@ -32,15 +32,15 @@ single trainable knowledge representation.
|
|
| 32 |
| Text Encoder | 2-layer Transformer, 4 heads |
|
| 33 |
| Graph Attention | 2-layer GAT, 4 heads |
|
| 34 |
| Link Predictor | 2-layer MLP with margin ranking loss |
|
| 35 |
-
| Total Parameters | **34,770,
|
| 36 |
|
| 37 |
### Knowledge Graph Statistics
|
| 38 |
|
| 39 |
| Metric | Count |
|
| 40 |
|---|---|
|
| 41 |
| Total Nodes | 197,938 |
|
| 42 |
-
| Total Edges | 13,
|
| 43 |
-
| Cross-Links | 3,
|
| 44 |
| Entities | 16 |
|
| 45 |
| Emails | 197,912 |
|
| 46 |
| Financial Documents | 0 |
|
|
|
|
| 32 |
| Text Encoder | 2-layer Transformer, 4 heads |
|
| 33 |
| Graph Attention | 2-layer GAT, 4 heads |
|
| 34 |
| Link Predictor | 2-layer MLP with margin ranking loss |
|
| 35 |
+
| Total Parameters | **34,770,177** |
|
| 36 |
|
| 37 |
### Knowledge Graph Statistics
|
| 38 |
|
| 39 |
| Metric | Count |
|
| 40 |
|---|---|
|
| 41 |
| Total Nodes | 197,938 |
|
| 42 |
+
| Total Edges | 13,915 |
|
| 43 |
+
| Cross-Links | 3,540 |
|
| 44 |
| Entities | 16 |
|
| 45 |
| Emails | 197,912 |
|
| 46 |
| Financial Documents | 0 |
|
config.json
CHANGED
|
@@ -26,7 +26,7 @@
|
|
| 26 |
"entity": 3,
|
| 27 |
"timeline_event": 4
|
| 28 |
},
|
| 29 |
-
"num_cross_links":
|
| 30 |
"num_edge_types": 4,
|
| 31 |
"num_entities": 16,
|
| 32 |
"num_evidence": 197938,
|
|
@@ -43,6 +43,6 @@
|
|
| 43 |
"text_max_length": 128,
|
| 44 |
"text_num_heads": 4,
|
| 45 |
"text_num_layers": 2,
|
| 46 |
-
"text_vocab_size":
|
| 47 |
"transformers_version": "5.12.1"
|
| 48 |
}
|
|
|
|
| 26 |
"entity": 3,
|
| 27 |
"timeline_event": 4
|
| 28 |
},
|
| 29 |
+
"num_cross_links": 3540,
|
| 30 |
"num_edge_types": 4,
|
| 31 |
"num_entities": 16,
|
| 32 |
"num_evidence": 197938,
|
|
|
|
| 43 |
"text_max_length": 128,
|
| 44 |
"text_num_heads": 4,
|
| 45 |
"text_num_layers": 2,
|
| 46 |
+
"text_vocab_size": 267,
|
| 47 |
"transformers_version": "5.12.1"
|
| 48 |
}
|
graph_data.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7b93211d22b87824685db7200a001ed6eb24a3b81c148e18842e27aaa7da6a74
|
| 3 |
+
size 5106192
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3d7556f591312b8c677be66c53eb40da05e7f0ab44f24f43fd63768f354d49cc
|
| 3 |
+
size 139087556
|
model_summary.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
| 1 |
{
|
| 2 |
"case_number": "2025-137857",
|
| 3 |
"total_nodes": 197938,
|
| 4 |
-
"total_edges":
|
| 5 |
-
"total_cross_links":
|
| 6 |
"node_types": {
|
| 7 |
"entity": 16,
|
| 8 |
"email": 197912,
|
| 9 |
"timeline_event": 10
|
| 10 |
},
|
| 11 |
"edge_types": {
|
| 12 |
-
"proves":
|
| 13 |
"transaction_evidenced_by": 1
|
| 14 |
},
|
| 15 |
"subsystems": {
|
|
@@ -17,7 +17,7 @@
|
|
| 17 |
"comcosys": 197912,
|
| 18 |
"ad_res_j7": 10
|
| 19 |
},
|
| 20 |
-
"model_params":
|
| 21 |
"model_architecture": {
|
| 22 |
"node_embed_dim": 128,
|
| 23 |
"text_embed_dim": 256,
|
|
|
|
| 1 |
{
|
| 2 |
"case_number": "2025-137857",
|
| 3 |
"total_nodes": 197938,
|
| 4 |
+
"total_edges": 14803,
|
| 5 |
+
"total_cross_links": 3540,
|
| 6 |
"node_types": {
|
| 7 |
"entity": 16,
|
| 8 |
"email": 197912,
|
| 9 |
"timeline_event": 10
|
| 10 |
},
|
| 11 |
"edge_types": {
|
| 12 |
+
"proves": 13914,
|
| 13 |
"transaction_evidenced_by": 1
|
| 14 |
},
|
| 15 |
"subsystems": {
|
|
|
|
| 17 |
"comcosys": 197912,
|
| 18 |
"ad_res_j7": 10
|
| 19 |
},
|
| 20 |
+
"model_params": 34770177,
|
| 21 |
"model_architecture": {
|
| 22 |
"node_embed_dim": 128,
|
| 23 |
"text_embed_dim": 256,
|
node_id_mapping.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer.json
CHANGED
|
@@ -33,29 +33,29 @@
|
|
| 33 |
"z": 32,
|
| 34 |
":": 33,
|
| 35 |
"x": 34,
|
| 36 |
-
"
|
| 37 |
-
"
|
| 38 |
-
"
|
| 39 |
-
"
|
| 40 |
-
"\
|
| 41 |
-
"
|
| 42 |
-
"
|
| 43 |
-
"
|
| 44 |
-
"
|
| 45 |
-
"
|
| 46 |
-
"
|
| 47 |
-
"
|
| 48 |
-
"
|
| 49 |
-
"
|
| 50 |
-
"
|
| 51 |
-
"
|
| 52 |
-
"
|
| 53 |
-
"
|
| 54 |
-
"
|
| 55 |
-
"
|
| 56 |
-
"
|
| 57 |
-
"
|
| 58 |
-
"
|
| 59 |
"\ud83d\udd52": 58,
|
| 60 |
"8": 59,
|
| 61 |
"\ud83d\udd17": 60,
|
|
@@ -164,8 +164,7 @@
|
|
| 164 |
"\ud83e\udd57": 163,
|
| 165 |
"\uff1a": 164,
|
| 166 |
"\ud83e\udebb": 165,
|
| 167 |
-
"\u261d": 166
|
| 168 |
-
"\ud83d\udd34": 167
|
| 169 |
},
|
| 170 |
-
"next_id":
|
| 171 |
}
|
|
|
|
| 33 |
"z": 32,
|
| 34 |
":": 33,
|
| 35 |
"x": 34,
|
| 36 |
+
"3": 35,
|
| 37 |
+
"1": 36,
|
| 38 |
+
".": 37,
|
| 39 |
+
"?": 38,
|
| 40 |
+
"\u2019": 39,
|
| 41 |
+
"'": 40,
|
| 42 |
+
"@": 41,
|
| 43 |
+
"&": 42,
|
| 44 |
+
"\u00a3": 43,
|
| 45 |
+
"4": 44,
|
| 46 |
+
"9": 45,
|
| 47 |
+
"5": 46,
|
| 48 |
+
"0": 47,
|
| 49 |
+
",": 48,
|
| 50 |
+
"#": 49,
|
| 51 |
+
"7": 50,
|
| 52 |
+
"6": 51,
|
| 53 |
+
"|": 52,
|
| 54 |
+
"2": 53,
|
| 55 |
+
"[": 54,
|
| 56 |
+
"/": 55,
|
| 57 |
+
"]": 56,
|
| 58 |
+
"-": 57,
|
| 59 |
"\ud83d\udd52": 58,
|
| 60 |
"8": 59,
|
| 61 |
"\ud83d\udd17": 60,
|
|
|
|
| 164 |
"\ud83e\udd57": 163,
|
| 165 |
"\uff1a": 164,
|
| 166 |
"\ud83e\udebb": 165,
|
| 167 |
+
"\u261d": 166
|
|
|
|
| 168 |
},
|
| 169 |
+
"next_id": 167
|
| 170 |
}
|