Update trainer.py
Browse files- trainer.py +11 -1
trainer.py
CHANGED
|
@@ -1,10 +1,20 @@
|
|
| 1 |
# =====================================================================================
|
| 2 |
# SD1.5 Flow-Matching Trainer — David-Driven Block Penalties (HF-loaded)
|
| 3 |
-
#
|
|
|
|
| 4 |
# - BaseConfig at top
|
| 5 |
# - Functionality (teacher/student/david/assessor/fusion/trainer)
|
| 6 |
# - Activations at bottom
|
| 7 |
# =====================================================================================
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
from __future__ import annotations
|
| 9 |
import os, json, math, random, re
|
| 10 |
from dataclasses import dataclass, asdict
|
|
|
|
| 1 |
# =====================================================================================
|
| 2 |
# SD1.5 Flow-Matching Trainer — David-Driven Block Penalties (HF-loaded)
|
| 3 |
+
# Author: AbstractPhil
|
| 4 |
+
# Assistant: Claude Sonnet 4.5 + GPT 4o
|
| 5 |
# - BaseConfig at top
|
| 6 |
# - Functionality (teacher/student/david/assessor/fusion/trainer)
|
| 7 |
# - Activations at bottom
|
| 8 |
# =====================================================================================
|
| 9 |
+
# try:
|
| 10 |
+
# !pip uninstall -qy geometricvocab
|
| 11 |
+
# except:
|
| 12 |
+
# pass
|
| 13 |
+
#
|
| 14 |
+
# !pip install -q git+https://github.com/AbstractEyes/lattice_vocabulary.git
|
| 15 |
+
#
|
| 16 |
+
# =====================================================================================
|
| 17 |
+
|
| 18 |
from __future__ import annotations
|
| 19 |
import os, json, math, random, re
|
| 20 |
from dataclasses import dataclass, asdict
|