Upload folder using huggingface_hub
Browse files
README.md
CHANGED
|
@@ -37,13 +37,24 @@ It prints the five nearest of the 12,965 prime knots up to 13 crossings, guesses
|
|
| 37 |
|
| 38 |
A diagram becomes its Gauss sequence: walk the knot and, at each crossing, record whether the strand passes over or under and the crossing's sign. Crossings are named by first visit and the walk starts at a random edge. A transformer encodes the sequence, and a contrastive loss pulls two scrambles of the same knot together against the rest of the batch. Small heads predict signature, determinant and volume.
|
| 39 |
|
| 40 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
|
| 42 |
## 📊 Results
|
| 43 |
|
| 44 |
-
Each test diagram is a fresh scramble. The model names it by the nearest canonical KnotInfo diagram among all
|
| 45 |
|
| 46 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
|
| 48 |
## ⚠️ Limitations
|
| 49 |
|
|
|
|
| 37 |
|
| 38 |
A diagram becomes its Gauss sequence: walk the knot and, at each crossing, record whether the strand passes over or under and the crossing's sign. Crossings are named by first visit and the walk starts at a random edge. A transformer encodes the sequence, and a contrastive loss pulls two scrambles of the same knot together against the rest of the batch. Small heads predict signature, determinant and volume.
|
| 39 |
|
| 40 |
+
| | |
|
| 41 |
+
|---|---|
|
| 42 |
+
| Parameters | 4,924,943 (6 layers, width 256) |
|
| 43 |
+
| Steps | 20000, 512 knots (two diagrams each) per step |
|
| 44 |
+
| Learning rate | 0.0003, cosine; temperature 0.05 |
|
| 45 |
+
| Final loss | 0.2043 (contrastive 0.1145) |
|
| 46 |
+
| Hardware | NVIDIA A10G, 102 min |
|
| 47 |
|
| 48 |
## 📊 Results
|
| 49 |
|
| 50 |
+
Each test diagram is a fresh scramble. The model names it by the nearest canonical KnotInfo diagram among all 12965 knots. *Seen* knots were in training, as other diagrams; *unseen* knots never were.
|
| 51 |
|
| 52 |
+
| Knots | n | Top-1 | Top-5 | Signature | Determinant ±10% | Volume MAE |
|
| 53 |
+
|---|---|---|---|---|---|---|
|
| 54 |
+
| seen | 46676 | 0.849 | 0.973 | 0.794 | 0.199 | 1.507 |
|
| 55 |
+
| unseen | 5184 | 0.856 | 0.969 | 0.781 | 0.207 | 1.583 |
|
| 56 |
+
|
| 57 |
+
Chance top-1 is 7.7e-05. For an exact answer, use SnapPy's `identify()`.
|
| 58 |
|
| 59 |
## ⚠️ Limitations
|
| 60 |
|