Update beatrix-simplex4-patch4-512d-flow_20251008_115206 - Epoch 0 - Acc: 0.0713
Browse files- README.md +16 -15
- logs/beatrix-simplex4-patch4-512d-flow/20251008_115206/events.out.tfevents.1759924387.1dcca07fa61e.5968.0 +3 -0
- manifest.json +12 -0
- weights/beatrix-simplex4-patch4-512d-flow/20251008_115206/config.json +47 -0
- weights/beatrix-simplex4-patch4-512d-flow/20251008_115206/model.safetensors +3 -0
README.md
CHANGED
|
@@ -62,34 +62,35 @@ When train accuracy exceeds validation accuracy by 2% or more, the system automa
|
|
| 62 |
| beatrix-4simplex-45d | 20251007_231008 | 0.2916 | 85 | `weights/beatrix-4simplex-45d/20251007_231008` | `logs/beatrix-4simplex-45d/20251007_231008` |
|
| 63 |
| beatrix-cifar100 | 20251007_193112 | 0.2802 | 10 | `weights/beatrix-cifar100/20251007_193112` | `N/A` |
|
| 64 |
| beatrix-4simplex-45d | 20251008_001147 | 0.1382 | 10 | `weights/beatrix-4simplex-45d/20251008_001147` | `logs/beatrix-4simplex-45d/20251008_001147` |
|
|
|
|
| 65 |
|
| 66 |
|
| 67 |
-
## Latest Updated Model: beatrix-
|
| 68 |
|
| 69 |
### Model Details
|
| 70 |
|
| 71 |
- **Architecture**: Vision Transformer with fractal positional encoding
|
| 72 |
- **Dataset**: CIFAR-100 (100 classes)
|
| 73 |
-
- **Embedding Dimension**:
|
| 74 |
-
- **Depth**:
|
| 75 |
- **Patch Size**: 4x4
|
| 76 |
- **PE Levels**: 12
|
| 77 |
-
- **Simplex Dimension**:
|
| 78 |
- **Simplex Initialization**: regular (scale=1.0)
|
| 79 |
|
| 80 |
### Training Details
|
| 81 |
|
| 82 |
-
- **Training Session**:
|
| 83 |
-
- **Best Accuracy**: 0.
|
| 84 |
-
- **Epochs Trained**:
|
| 85 |
- **Batch Size**: 512
|
| 86 |
- **Learning Rate**: 0.0001
|
| 87 |
- **Adaptive Augmentation**: Enabled
|
| 88 |
|
| 89 |
### Loss Configuration
|
| 90 |
|
| 91 |
-
- Task Loss Weight:
|
| 92 |
-
- Flow Alignment Weight: 0
|
| 93 |
- Coherence Weight: 0.3
|
| 94 |
- Multi-Scale Weight: 0.2
|
| 95 |
|
|
@@ -97,7 +98,7 @@ When train accuracy exceeds validation accuracy by 2% or more, the system automa
|
|
| 97 |
|
| 98 |
Training logs are available in the repository at:
|
| 99 |
```
|
| 100 |
-
logs/beatrix-
|
| 101 |
```
|
| 102 |
|
| 103 |
To view them locally:
|
|
@@ -106,7 +107,7 @@ To view them locally:
|
|
| 106 |
git clone https://huggingface.co/AbstractPhil/vit-beatrix
|
| 107 |
|
| 108 |
# View logs in TensorBoard
|
| 109 |
-
tensorboard --logdir vit-beatrix/logs/beatrix-
|
| 110 |
```
|
| 111 |
|
| 112 |
## Usage
|
|
@@ -151,18 +152,18 @@ with open(manifest_path, 'r') as f:
|
|
| 151 |
for key, info in sorted(manifest.items(), key=lambda x: x[1]['accuracy'], reverse=True):
|
| 152 |
print(f"{info['model_name']} ({info['timestamp']}): {info['accuracy']:.4f}")
|
| 153 |
|
| 154 |
-
# Download weights for the latest training session of beatrix-
|
| 155 |
weights_path = hf_hub_download(
|
| 156 |
repo_id="AbstractPhil/vit-beatrix",
|
| 157 |
-
filename="weights/beatrix-
|
| 158 |
)
|
| 159 |
|
| 160 |
# Load model
|
| 161 |
model = SimplifiedGeometricClassifier(
|
| 162 |
num_classes=100,
|
| 163 |
img_size=32,
|
| 164 |
-
embed_dim=
|
| 165 |
-
depth=
|
| 166 |
)
|
| 167 |
|
| 168 |
# Load weights
|
|
|
|
| 62 |
| beatrix-4simplex-45d | 20251007_231008 | 0.2916 | 85 | `weights/beatrix-4simplex-45d/20251007_231008` | `logs/beatrix-4simplex-45d/20251007_231008` |
|
| 63 |
| beatrix-cifar100 | 20251007_193112 | 0.2802 | 10 | `weights/beatrix-cifar100/20251007_193112` | `N/A` |
|
| 64 |
| beatrix-4simplex-45d | 20251008_001147 | 0.1382 | 10 | `weights/beatrix-4simplex-45d/20251008_001147` | `logs/beatrix-4simplex-45d/20251008_001147` |
|
| 65 |
+
| beatrix-simplex4-patch4-512d-flow | 20251008_115206 | 0.0713 | 0 | `weights/beatrix-simplex4-patch4-512d-flow/20251008_115206` | `logs/beatrix-simplex4-patch4-512d-flow/20251008_115206` |
|
| 66 |
|
| 67 |
|
| 68 |
+
## Latest Updated Model: beatrix-simplex4-patch4-512d-flow (Session: 20251008_115206)
|
| 69 |
|
| 70 |
### Model Details
|
| 71 |
|
| 72 |
- **Architecture**: Vision Transformer with fractal positional encoding
|
| 73 |
- **Dataset**: CIFAR-100 (100 classes)
|
| 74 |
+
- **Embedding Dimension**: 512
|
| 75 |
+
- **Depth**: 8 layers
|
| 76 |
- **Patch Size**: 4x4
|
| 77 |
- **PE Levels**: 12
|
| 78 |
+
- **Simplex Dimension**: 4-simplex
|
| 79 |
- **Simplex Initialization**: regular (scale=1.0)
|
| 80 |
|
| 81 |
### Training Details
|
| 82 |
|
| 83 |
+
- **Training Session**: 20251008_115206
|
| 84 |
+
- **Best Accuracy**: 0.0713
|
| 85 |
+
- **Epochs Trained**: 0
|
| 86 |
- **Batch Size**: 512
|
| 87 |
- **Learning Rate**: 0.0001
|
| 88 |
- **Adaptive Augmentation**: Enabled
|
| 89 |
|
| 90 |
### Loss Configuration
|
| 91 |
|
| 92 |
+
- Task Loss Weight: 0.5
|
| 93 |
+
- Flow Alignment Weight: 1.0
|
| 94 |
- Coherence Weight: 0.3
|
| 95 |
- Multi-Scale Weight: 0.2
|
| 96 |
|
|
|
|
| 98 |
|
| 99 |
Training logs are available in the repository at:
|
| 100 |
```
|
| 101 |
+
logs/beatrix-simplex4-patch4-512d-flow/20251008_115206
|
| 102 |
```
|
| 103 |
|
| 104 |
To view them locally:
|
|
|
|
| 107 |
git clone https://huggingface.co/AbstractPhil/vit-beatrix
|
| 108 |
|
| 109 |
# View logs in TensorBoard
|
| 110 |
+
tensorboard --logdir vit-beatrix/logs/beatrix-simplex4-patch4-512d-flow/20251008_115206
|
| 111 |
```
|
| 112 |
|
| 113 |
## Usage
|
|
|
|
| 152 |
for key, info in sorted(manifest.items(), key=lambda x: x[1]['accuracy'], reverse=True):
|
| 153 |
print(f"{info['model_name']} ({info['timestamp']}): {info['accuracy']:.4f}")
|
| 154 |
|
| 155 |
+
# Download weights for the latest training session of beatrix-simplex4-patch4-512d-flow
|
| 156 |
weights_path = hf_hub_download(
|
| 157 |
repo_id="AbstractPhil/vit-beatrix",
|
| 158 |
+
filename="weights/beatrix-simplex4-patch4-512d-flow/20251008_115206/model.safetensors"
|
| 159 |
)
|
| 160 |
|
| 161 |
# Load model
|
| 162 |
model = SimplifiedGeometricClassifier(
|
| 163 |
num_classes=100,
|
| 164 |
img_size=32,
|
| 165 |
+
embed_dim=512,
|
| 166 |
+
depth=8
|
| 167 |
)
|
| 168 |
|
| 169 |
# Load weights
|
logs/beatrix-simplex4-patch4-512d-flow/20251008_115206/events.out.tfevents.1759924387.1dcca07fa61e.5968.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5c034f5621e3455e518579f1d969a09f3852fb218e98a4362e4b718d5ee939f5
|
| 3 |
+
size 88
|
manifest.json
CHANGED
|
@@ -127,5 +127,17 @@
|
|
| 127 |
"depth": 22,
|
| 128 |
"batch_size": 512,
|
| 129 |
"learning_rate": 0.0001
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 130 |
}
|
| 131 |
}
|
|
|
|
| 127 |
"depth": 22,
|
| 128 |
"batch_size": 512,
|
| 129 |
"learning_rate": 0.0001
|
| 130 |
+
},
|
| 131 |
+
"beatrix-simplex4-patch4-512d-flow_20251008_115206": {
|
| 132 |
+
"accuracy": 0.07134076282382011,
|
| 133 |
+
"epoch": 0,
|
| 134 |
+
"timestamp": "20251008_115206",
|
| 135 |
+
"model_name": "beatrix-simplex4-patch4-512d-flow",
|
| 136 |
+
"path": "weights/beatrix-simplex4-patch4-512d-flow/20251008_115206",
|
| 137 |
+
"logs_path": "logs/beatrix-simplex4-patch4-512d-flow/20251008_115206",
|
| 138 |
+
"embed_dim": 512,
|
| 139 |
+
"depth": 8,
|
| 140 |
+
"batch_size": 512,
|
| 141 |
+
"learning_rate": 0.0001
|
| 142 |
}
|
| 143 |
}
|
weights/beatrix-simplex4-patch4-512d-flow/20251008_115206/config.json
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"num_classes": 100,
|
| 3 |
+
"img_size": 32,
|
| 4 |
+
"patch_size": 4,
|
| 5 |
+
"embed_dim": 512,
|
| 6 |
+
"k_simplex": 4,
|
| 7 |
+
"depth": 8,
|
| 8 |
+
"num_heads": 8,
|
| 9 |
+
"mlp_ratio": 4.0,
|
| 10 |
+
"dropout": 0.0,
|
| 11 |
+
"pe_levels": 12,
|
| 12 |
+
"pe_features_per_level": 2,
|
| 13 |
+
"pe_smooth_tau": 0.25,
|
| 14 |
+
"simplex_feature_weight": 0.1,
|
| 15 |
+
"simplex_init_method": "regular",
|
| 16 |
+
"simplex_init_scale": 1.0,
|
| 17 |
+
"batch_size": 512,
|
| 18 |
+
"num_epochs": 100,
|
| 19 |
+
"learning_rate": 0.0001,
|
| 20 |
+
"weight_decay": 0.005,
|
| 21 |
+
"warmup_epochs": 10,
|
| 22 |
+
"task_loss_weight": 0.5,
|
| 23 |
+
"flow_loss_weight": 1.0,
|
| 24 |
+
"coherence_loss_weight": 0.3,
|
| 25 |
+
"multiscale_loss_weight": 0.2,
|
| 26 |
+
"volume_reg_weight": 0.1,
|
| 27 |
+
"use_adaptive_augmentation": true,
|
| 28 |
+
"overfit_threshold": 0.015,
|
| 29 |
+
"mixup_alpha": 0.2,
|
| 30 |
+
"cutmix_alpha": 1.0,
|
| 31 |
+
"device": "cuda",
|
| 32 |
+
"num_workers": 4,
|
| 33 |
+
"pin_memory": true,
|
| 34 |
+
"save_dir": "./checkpoints",
|
| 35 |
+
"save_every": 10,
|
| 36 |
+
"use_safetensors": true,
|
| 37 |
+
"timestamp_dirs": true,
|
| 38 |
+
"push_to_hub": true,
|
| 39 |
+
"hub_model_id": "AbstractPhil/vit-beatrix",
|
| 40 |
+
"hub_model_name": "beatrix-simplex4-patch4-512d-flow",
|
| 41 |
+
"hub_upload_best_only": true,
|
| 42 |
+
"hub_upload_every_n_epochs": 10,
|
| 43 |
+
"use_tensorboard": true,
|
| 44 |
+
"log_dir": "./logs",
|
| 45 |
+
"log_every": 50,
|
| 46 |
+
"train_baseline": false
|
| 47 |
+
}
|
weights/beatrix-simplex4-patch4-512d-flow/20251008_115206/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:640b45e9b76f6349cca2dfdd1a132294d224d740b69c523faafa9b820e3b7177
|
| 3 |
+
size 101272120
|