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 +6 -6
- config.json +4 -4
- graph_data.safetensors +2 -2
- model.safetensors +2 -2
- model_summary.json +7 -7
- node_id_mapping.json +0 -0
- tokenizer.json +32 -33
README.md
CHANGED
|
@@ -32,17 +32,17 @@ 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,767,
|
| 36 |
|
| 37 |
### Knowledge Graph Statistics
|
| 38 |
|
| 39 |
| Metric | Count |
|
| 40 |
|---|---|
|
| 41 |
-
| Total Nodes | 197,
|
| 42 |
-
| Total Edges | 13,
|
| 43 |
-
| Cross-Links | 3,
|
| 44 |
| Entities | 16 |
|
| 45 |
-
| Emails | 197,
|
| 46 |
| Financial Documents | 0 |
|
| 47 |
| Timeline Events | 10 |
|
| 48 |
| LEX Schemes | 0 |
|
|
@@ -54,7 +54,7 @@ single trainable knowledge representation.
|
|
| 54 |
|---|---|
|
| 55 |
| Core (Entities) | 16 |
|
| 56 |
| Fincosys (Financial) | 0 |
|
| 57 |
-
| Comcosys (Communications) | 197,
|
| 58 |
| RevStream1 (Evidence) | 0 |
|
| 59 |
| Ad-Res-J7 (Legal) | 10 |
|
| 60 |
|
|
|
|
| 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,767,361** |
|
| 36 |
|
| 37 |
### Knowledge Graph Statistics
|
| 38 |
|
| 39 |
| Metric | Count |
|
| 40 |
|---|---|
|
| 41 |
+
| Total Nodes | 197,898 |
|
| 42 |
+
| Total Edges | 13,260 |
|
| 43 |
+
| Cross-Links | 3,804 |
|
| 44 |
| Entities | 16 |
|
| 45 |
+
| Emails | 197,872 |
|
| 46 |
| Financial Documents | 0 |
|
| 47 |
| Timeline Events | 10 |
|
| 48 |
| LEX Schemes | 0 |
|
|
|
|
| 54 |
|---|---|
|
| 55 |
| Core (Entities) | 16 |
|
| 56 |
| Fincosys (Financial) | 0 |
|
| 57 |
+
| Comcosys (Communications) | 197,872 |
|
| 58 |
| RevStream1 (Evidence) | 0 |
|
| 59 |
| Ad-Res-J7 (Legal) | 10 |
|
| 60 |
|
config.json
CHANGED
|
@@ -26,10 +26,10 @@
|
|
| 26 |
"entity": 3,
|
| 27 |
"timeline_event": 4
|
| 28 |
},
|
| 29 |
-
"num_cross_links":
|
| 30 |
"num_edge_types": 4,
|
| 31 |
"num_entities": 16,
|
| 32 |
-
"num_evidence":
|
| 33 |
"num_node_types": 5,
|
| 34 |
"num_subsystems": 5,
|
| 35 |
"subsystem_vocab": {
|
|
@@ -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.
|
| 48 |
}
|
|
|
|
| 26 |
"entity": 3,
|
| 27 |
"timeline_event": 4
|
| 28 |
},
|
| 29 |
+
"num_cross_links": 3804,
|
| 30 |
"num_edge_types": 4,
|
| 31 |
"num_entities": 16,
|
| 32 |
+
"num_evidence": 197898,
|
| 33 |
"num_node_types": 5,
|
| 34 |
"num_subsystems": 5,
|
| 35 |
"subsystem_vocab": {
|
|
|
|
| 43 |
"text_max_length": 128,
|
| 44 |
"text_num_heads": 4,
|
| 45 |
"text_num_layers": 2,
|
| 46 |
+
"text_vocab_size": 256,
|
| 47 |
+
"transformers_version": "5.11.0"
|
| 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:e09a3ca8757b0640dff702bd057c6db03eaed472a5af6c430d817e07797d26e5
|
| 3 |
+
size 5091096
|
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:7e973f2c9ab860246653cc18968719c0f58e4c10922ad881d3ccf6e984060488
|
| 3 |
+
size 139076292
|
model_summary.json
CHANGED
|
@@ -1,23 +1,23 @@
|
|
| 1 |
{
|
| 2 |
"case_number": "2025-137857",
|
| 3 |
-
"total_nodes":
|
| 4 |
-
"total_edges":
|
| 5 |
-
"total_cross_links":
|
| 6 |
"node_types": {
|
| 7 |
"entity": 16,
|
| 8 |
-
"email":
|
| 9 |
"timeline_event": 10
|
| 10 |
},
|
| 11 |
"edge_types": {
|
| 12 |
-
"proves":
|
| 13 |
"transaction_evidenced_by": 1
|
| 14 |
},
|
| 15 |
"subsystems": {
|
| 16 |
"core": 16,
|
| 17 |
-
"comcosys":
|
| 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": 197898,
|
| 4 |
+
"total_edges": 14214,
|
| 5 |
+
"total_cross_links": 3804,
|
| 6 |
"node_types": {
|
| 7 |
"entity": 16,
|
| 8 |
+
"email": 197872,
|
| 9 |
"timeline_event": 10
|
| 10 |
},
|
| 11 |
"edge_types": {
|
| 12 |
+
"proves": 13259,
|
| 13 |
"transaction_evidenced_by": 1
|
| 14 |
},
|
| 15 |
"subsystems": {
|
| 16 |
"core": 16,
|
| 17 |
+
"comcosys": 197872,
|
| 18 |
"ad_res_j7": 10
|
| 19 |
},
|
| 20 |
+
"model_params": 34767361,
|
| 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,36 +33,36 @@
|
|
| 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 |
-
"
|
| 60 |
-
"
|
| 61 |
-
"
|
| 62 |
-
"\ud83d\
|
| 63 |
-
"
|
| 64 |
-
"
|
| 65 |
-
"
|
| 66 |
"\"": 65,
|
| 67 |
"\ud83d\udc4b": 66,
|
| 68 |
"\u00a3": 67,
|
|
@@ -153,8 +153,7 @@
|
|
| 153 |
"\u2615": 152,
|
| 154 |
"\ud83d\udd52": 153,
|
| 155 |
"\u2011": 154,
|
| 156 |
-
"\ud83d\udcac": 155
|
| 157 |
-
"\ud83d\udc51": 156
|
| 158 |
},
|
| 159 |
-
"next_id":
|
| 160 |
}
|
|
|
|
| 33 |
"z": 32,
|
| 34 |
":": 33,
|
| 35 |
"x": 34,
|
| 36 |
+
"2": 35,
|
| 37 |
+
"0": 36,
|
| 38 |
+
"5": 37,
|
| 39 |
+
"|": 38,
|
| 40 |
+
"6": 39,
|
| 41 |
+
"7": 40,
|
| 42 |
+
"3": 41,
|
| 43 |
+
"4": 42,
|
| 44 |
+
"9": 43,
|
| 45 |
+
"#": 44,
|
| 46 |
+
"1": 45,
|
| 47 |
+
"8": 46,
|
| 48 |
+
",": 47,
|
| 49 |
+
"-": 48,
|
| 50 |
+
"[": 49,
|
| 51 |
+
"]": 50,
|
| 52 |
+
"!": 51,
|
| 53 |
+
"&": 52,
|
| 54 |
+
"\u26a1": 53,
|
| 55 |
+
"\ufe0f": 54,
|
| 56 |
+
".": 55,
|
| 57 |
+
"?": 56,
|
| 58 |
+
"\u2014": 57,
|
| 59 |
+
"\u26bd": 58,
|
| 60 |
+
"@": 59,
|
| 61 |
+
"'": 60,
|
| 62 |
+
"\ud83d\udc8c": 61,
|
| 63 |
+
"\u2019": 62,
|
| 64 |
+
"\ud83d\udfe2": 63,
|
| 65 |
+
"%": 64,
|
| 66 |
"\"": 65,
|
| 67 |
"\ud83d\udc4b": 66,
|
| 68 |
"\u00a3": 67,
|
|
|
|
| 153 |
"\u2615": 152,
|
| 154 |
"\ud83d\udd52": 153,
|
| 155 |
"\u2011": 154,
|
| 156 |
+
"\ud83d\udcac": 155
|
|
|
|
| 157 |
},
|
| 158 |
+
"next_id": 156
|
| 159 |
}
|