Update beatrix-cifar100 - Epoch 0 - Acc: 0.1074
Browse files
README.md
CHANGED
|
@@ -12,14 +12,14 @@ license: mit
|
|
| 12 |
# ViT-Beatrix: Fractal PE + Geometric Simplex Vision Transformer
|
| 13 |
|
| 14 |
This model integrates Devil's Staircase positional encoding with geometric simplex features
|
| 15 |
-
for vision tasks. Trained on CIFAR-
|
| 16 |
|
| 17 |
## Model Details
|
| 18 |
|
| 19 |
- **Architecture**: Vision Transformer with fractal positional encoding
|
| 20 |
- **Dataset**: CIFAR-100 (100 classes)
|
| 21 |
-
- **Embedding Dimension**:
|
| 22 |
-
- **Depth**:
|
| 23 |
- **Patch Size**: 4x4
|
| 24 |
- **PE Levels**: 12
|
| 25 |
- **Simplex Dimension**: 5-simplex
|
|
@@ -28,7 +28,7 @@ for vision tasks. Trained on CIFAR-10.
|
|
| 28 |
|
| 29 |
- **Dataset**: CIFAR-100
|
| 30 |
- **Epochs**: 0
|
| 31 |
-
- **Best Accuracy**: 0.
|
| 32 |
- **Batch Size**: 512
|
| 33 |
- **Learning Rate**: 0.001
|
| 34 |
|
|
@@ -49,15 +49,15 @@ from huggingface_hub import hf_hub_download
|
|
| 49 |
# Download weights from Hub
|
| 50 |
weights_path = hf_hub_download(
|
| 51 |
repo_id="AbstractPhil/vit-beatrix",
|
| 52 |
-
filename="weights/beatrix-cifar100/
|
| 53 |
)
|
| 54 |
|
| 55 |
# Load model
|
| 56 |
model = SimplifiedGeometricClassifier(
|
| 57 |
-
num_classes=100,
|
| 58 |
img_size=32,
|
| 59 |
-
embed_dim=
|
| 60 |
-
depth=
|
| 61 |
)
|
| 62 |
|
| 63 |
# Load weights
|
|
|
|
| 12 |
# ViT-Beatrix: Fractal PE + Geometric Simplex Vision Transformer
|
| 13 |
|
| 14 |
This model integrates Devil's Staircase positional encoding with geometric simplex features
|
| 15 |
+
for vision tasks. Trained on CIFAR-100.
|
| 16 |
|
| 17 |
## Model Details
|
| 18 |
|
| 19 |
- **Architecture**: Vision Transformer with fractal positional encoding
|
| 20 |
- **Dataset**: CIFAR-100 (100 classes)
|
| 21 |
+
- **Embedding Dimension**: 512
|
| 22 |
+
- **Depth**: 4 layers
|
| 23 |
- **Patch Size**: 4x4
|
| 24 |
- **PE Levels**: 12
|
| 25 |
- **Simplex Dimension**: 5-simplex
|
|
|
|
| 28 |
|
| 29 |
- **Dataset**: CIFAR-100
|
| 30 |
- **Epochs**: 0
|
| 31 |
+
- **Best Accuracy**: 0.1074
|
| 32 |
- **Batch Size**: 512
|
| 33 |
- **Learning Rate**: 0.001
|
| 34 |
|
|
|
|
| 49 |
# Download weights from Hub
|
| 50 |
weights_path = hf_hub_download(
|
| 51 |
repo_id="AbstractPhil/vit-beatrix",
|
| 52 |
+
filename="weights/beatrix-cifar100/20251007_181852/model.safetensors"
|
| 53 |
)
|
| 54 |
|
| 55 |
# Load model
|
| 56 |
model = SimplifiedGeometricClassifier(
|
| 57 |
+
num_classes=100,
|
| 58 |
img_size=32,
|
| 59 |
+
embed_dim=512,
|
| 60 |
+
depth=4
|
| 61 |
)
|
| 62 |
|
| 63 |
# Load weights
|
weights/beatrix-cifar100/20251007_181852/config.json
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"num_classes": 100,
|
| 3 |
+
"img_size": 32,
|
| 4 |
+
"patch_size": 4,
|
| 5 |
+
"embed_dim": 512,
|
| 6 |
+
"k_simplex": 5,
|
| 7 |
+
"depth": 4,
|
| 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.2,
|
| 15 |
+
"batch_size": 512,
|
| 16 |
+
"num_epochs": 50,
|
| 17 |
+
"learning_rate": 0.001,
|
| 18 |
+
"weight_decay": 0.005,
|
| 19 |
+
"warmup_epochs": 10,
|
| 20 |
+
"task_loss_weight": 1.0,
|
| 21 |
+
"flow_loss_weight": 0.5,
|
| 22 |
+
"coherence_loss_weight": 0.3,
|
| 23 |
+
"multiscale_loss_weight": 0.2,
|
| 24 |
+
"volume_reg_weight": 0.1,
|
| 25 |
+
"use_augmentation": true,
|
| 26 |
+
"mixup_alpha": 0.2,
|
| 27 |
+
"cutmix_alpha": 1.0,
|
| 28 |
+
"device": "cuda",
|
| 29 |
+
"num_workers": 2,
|
| 30 |
+
"pin_memory": true,
|
| 31 |
+
"save_dir": "./checkpoints",
|
| 32 |
+
"save_every": 10,
|
| 33 |
+
"use_safetensors": true,
|
| 34 |
+
"timestamp_dirs": true,
|
| 35 |
+
"push_to_hub": true,
|
| 36 |
+
"hub_model_id": "AbstractPhil/vit-beatrix",
|
| 37 |
+
"hub_model_name": "beatrix-cifar100",
|
| 38 |
+
"hub_upload_best_only": true,
|
| 39 |
+
"use_tensorboard": true,
|
| 40 |
+
"log_dir": "./logs",
|
| 41 |
+
"log_every": 50,
|
| 42 |
+
"train_baseline": false
|
| 43 |
+
}
|
weights/beatrix-cifar100/20251007_181852/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bac2aa619f8043deb184307abb828d7f50d90e9b0723f008a074e26e72c5cbea
|
| 3 |
+
size 50831604
|