File size: 2,232 Bytes
539df93
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e867105
539df93
 
 
 
 
e867105
 
425f10e
539df93
425f10e
e867105
 
539df93
 
 
 
 
 
 
 
e867105
425f10e
 
539df93
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
---
license: mit
tags:
  - knowledge-graph
  - hypergraph
  - legal-evidence
  - graph-neural-network
  - unicosys
language:
  - en
library_name: transformers
pipeline_tag: graph-ml
---

# Unicosys Hypergraph Knowledge Model

A trainable knowledge graph embedding model encoding the unified evidence
hypergraph for Case 2025-137857.

## Model Description

This model encodes a **unified hypergraph** linking financial transactions,
email communications, legal evidence, and entity relationships into a
single trainable knowledge representation.

### Architecture

| Component | Details |
|---|---|
| Node Embedding | 128-dim structural + 256-dim text |
| Hidden Dimension | 256 |
| Text Encoder | 2-layer Transformer, 4 heads |
| Graph Attention | 2-layer GAT, 4 heads |
| Link Predictor | 2-layer MLP with margin ranking loss |
| Total Parameters | **36,023,937** |

### Knowledge Graph Statistics

| Metric | Count |
|---|---|
| Total Nodes | 299,724 |
| Total Edges | 14,815 |
| Cross-Links | 3,976 |
| Entities | 16 |
| Emails | 199,553 |
| Financial Documents | 12,096 |
| Timeline Events | 59,789 |
| LEX Schemes | 13 |
| Legal Filings | 7 |

### Subsystems

| Subsystem | Nodes |
|---|---|
| Core (Entities) | 16 |
| Fincosys (Financial) | 99,976 |
| Comcosys (Communications) | 199,553 |
| RevStream1 (Evidence) | 146 |
| Ad-Res-J7 (Legal) | 33 |

## Training

The model can be fine-tuned on link prediction tasks:

```python
from model.unicosys_model import UnicosysHypergraphModel, UnicosysConfig

model = UnicosysHypergraphModel.from_pretrained("hyperholmes/unicosys-hypergraph")
# ... prepare training data ...
# model.forward(node_ids, node_type_ids, subsystem_ids, edge_index, edge_type_ids,
#               pos_edge_index=pos, neg_edge_index=neg, labels=labels)
```

## Files

- `model.safetensors` — Model weights
- `config.json` — Model configuration
- `graph_data.safetensors` — Encoded graph tensors (nodes, edges)
- `tokenizer.json` — Character-level tokenizer for node labels
- `node_id_mapping.json` — Node ID string to integer index mapping
- `model_summary.json` — Compact statistics summary

## Source

Generated by the [Unicosys](https://github.com/hyperholmes/unicosys) intelligence pipeline.