Upload architecture.mmd with huggingface_hub
Browse files- architecture.mmd +21 -15
architecture.mmd
CHANGED
|
@@ -1,21 +1,27 @@
|
|
| 1 |
-
flowchart
|
| 2 |
-
INPUT["
|
| 3 |
-
ENCODE["encode_pair
|
| 4 |
-
A["A
|
| 5 |
-
B["B
|
| 6 |
-
DISPATCH
|
| 7 |
-
OUT["BitNetResult<br/>
|
| 8 |
|
| 9 |
INPUT --> ENCODE
|
| 10 |
ENCODE --> A
|
| 11 |
ENCODE --> B
|
| 12 |
-
A --> DISPATCH
|
| 13 |
-
B --> DISPATCH
|
| 14 |
DISPATCH --> OUT
|
| 15 |
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
flowchart LR
|
| 2 |
+
INPUT(["drug_a + drug_b"])
|
| 3 |
+
ENCODE["encode_pair<br/>193 trits"]
|
| 4 |
+
A["<b>A bundle</b><br/>193 β 256 β 5<br/>gate"]
|
| 5 |
+
B["<b>B bundle</b><br/>193 β 64 β 5<br/>specialist"]
|
| 6 |
+
DISPATCH{{"cascade<br/>dispatch"}}
|
| 7 |
+
OUT(["BitNetResult<br/>+ repro_hash"])
|
| 8 |
|
| 9 |
INPUT --> ENCODE
|
| 10 |
ENCODE --> A
|
| 11 |
ENCODE --> B
|
| 12 |
+
A -->|"if contra"| DISPATCH
|
| 13 |
+
B -->|"else argmax"| DISPATCH
|
| 14 |
DISPATCH --> OUT
|
| 15 |
|
| 16 |
+
classDef io fill:#EFF6FF,stroke:#2563eb,color:#1e3a8a,stroke-width:2px
|
| 17 |
+
classDef enc fill:#F0FDFA,stroke:#0F766E,color:#134E4A,stroke-width:2px
|
| 18 |
+
classDef bundleA fill:#FEF2F2,stroke:#dc2626,color:#7f1d1d,stroke-width:2px
|
| 19 |
+
classDef bundleB fill:#EFF6FF,stroke:#2563eb,color:#1e3a8a,stroke-width:2px
|
| 20 |
+
classDef disp fill:#FEF3C7,stroke:#d97706,color:#7c2d12,stroke-width:2px
|
| 21 |
+
classDef result fill:#F0FDF4,stroke:#16a34a,color:#14532d,stroke-width:2px
|
| 22 |
+
|
| 23 |
+
class INPUT,OUT io
|
| 24 |
+
class ENCODE enc
|
| 25 |
+
class A bundleA
|
| 26 |
+
class B bundleB
|
| 27 |
+
class DISPATCH disp
|