Update beatrix-cifar100_20251007_193112 - Epoch 0 - Acc: 0.0570
Browse files
README.md
CHANGED
|
@@ -16,12 +16,13 @@ with geometric simplex features for vision tasks.
|
|
| 16 |
|
| 17 |
## Available Models (Best Checkpoints Only)
|
| 18 |
|
| 19 |
-
| Model Name |
|
| 20 |
-
|------------|----------
|
| 21 |
-
| beatrix-cifar100 | 0.5819 | 42 |
|
|
|
|
| 22 |
|
| 23 |
|
| 24 |
-
## Latest Updated Model: beatrix-cifar100
|
| 25 |
|
| 26 |
### Model Details
|
| 27 |
|
|
@@ -31,18 +32,19 @@ with geometric simplex features for vision tasks.
|
|
| 31 |
- **Depth**: 12 layers
|
| 32 |
- **Patch Size**: 4x4
|
| 33 |
- **PE Levels**: 12
|
| 34 |
-
- **Simplex Dimension**:
|
| 35 |
|
| 36 |
### Training Details
|
| 37 |
|
| 38 |
-
- **
|
| 39 |
-
- **
|
|
|
|
| 40 |
- **Batch Size**: 512
|
| 41 |
-
- **Learning Rate**: 0.
|
| 42 |
|
| 43 |
### Loss Configuration
|
| 44 |
|
| 45 |
-
- Task Loss Weight:
|
| 46 |
- Flow Alignment Weight: 0.5
|
| 47 |
- Coherence Weight: 0.3
|
| 48 |
- Multi-Scale Weight: 0.2
|
|
@@ -53,11 +55,25 @@ with geometric simplex features for vision tasks.
|
|
| 53 |
from geovocab2.train.model.vit_beatrix import SimplifiedGeometricClassifier
|
| 54 |
from safetensors.torch import load_file
|
| 55 |
from huggingface_hub import hf_hub_download
|
|
|
|
| 56 |
|
| 57 |
-
# Download
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
weights_path = hf_hub_download(
|
| 59 |
repo_id="AbstractPhil/vit-beatrix",
|
| 60 |
-
filename="weights/beatrix-cifar100/
|
| 61 |
)
|
| 62 |
|
| 63 |
# Load model
|
|
|
|
| 16 |
|
| 17 |
## Available Models (Best Checkpoints Only)
|
| 18 |
|
| 19 |
+
| Model Name | Training Session | Accuracy | Epoch | Path |
|
| 20 |
+
|------------|------------------|----------|-------|------|
|
| 21 |
+
| beatrix-cifar100 | 20251007_182851 | 0.5819 | 42 | `weights/beatrix-cifar100/20251007_182851` |
|
| 22 |
+
| beatrix-cifar100 | 20251007_193112 | 0.0570 | 0 | `weights/beatrix-cifar100/20251007_193112` |
|
| 23 |
|
| 24 |
|
| 25 |
+
## Latest Updated Model: beatrix-cifar100 (Session: 20251007_193112)
|
| 26 |
|
| 27 |
### Model Details
|
| 28 |
|
|
|
|
| 32 |
- **Depth**: 12 layers
|
| 33 |
- **Patch Size**: 4x4
|
| 34 |
- **PE Levels**: 12
|
| 35 |
+
- **Simplex Dimension**: 4-simplex
|
| 36 |
|
| 37 |
### Training Details
|
| 38 |
|
| 39 |
+
- **Training Session**: 20251007_193112
|
| 40 |
+
- **Best Accuracy**: 0.0570
|
| 41 |
+
- **Epochs Trained**: 0
|
| 42 |
- **Batch Size**: 512
|
| 43 |
+
- **Learning Rate**: 0.0001
|
| 44 |
|
| 45 |
### Loss Configuration
|
| 46 |
|
| 47 |
+
- Task Loss Weight: 0.5
|
| 48 |
- Flow Alignment Weight: 0.5
|
| 49 |
- Coherence Weight: 0.3
|
| 50 |
- Multi-Scale Weight: 0.2
|
|
|
|
| 55 |
from geovocab2.train.model.vit_beatrix import SimplifiedGeometricClassifier
|
| 56 |
from safetensors.torch import load_file
|
| 57 |
from huggingface_hub import hf_hub_download
|
| 58 |
+
import json
|
| 59 |
|
| 60 |
+
# Download and view manifest to see all available models
|
| 61 |
+
manifest_path = hf_hub_download(
|
| 62 |
+
repo_id="AbstractPhil/vit-beatrix",
|
| 63 |
+
filename="manifest.json"
|
| 64 |
+
)
|
| 65 |
+
|
| 66 |
+
with open(manifest_path, 'r') as f:
|
| 67 |
+
manifest = json.load(f)
|
| 68 |
+
|
| 69 |
+
# List all available models sorted by accuracy
|
| 70 |
+
for key, info in sorted(manifest.items(), key=lambda x: x[1]['accuracy'], reverse=True):
|
| 71 |
+
print(f"{info['model_name']} ({info['timestamp']}): {info['accuracy']:.4f}")
|
| 72 |
+
|
| 73 |
+
# Download weights for the latest training session of beatrix-cifar100
|
| 74 |
weights_path = hf_hub_download(
|
| 75 |
repo_id="AbstractPhil/vit-beatrix",
|
| 76 |
+
filename="weights/beatrix-cifar100/20251007_193112/model.safetensors"
|
| 77 |
)
|
| 78 |
|
| 79 |
# Load model
|
manifest.json
CHANGED
|
@@ -8,5 +8,16 @@
|
|
| 8 |
"depth": 12,
|
| 9 |
"batch_size": 512,
|
| 10 |
"learning_rate": 0.001
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
}
|
| 12 |
}
|
|
|
|
| 8 |
"depth": 12,
|
| 9 |
"batch_size": 512,
|
| 10 |
"learning_rate": 0.001
|
| 11 |
+
},
|
| 12 |
+
"beatrix-cifar100_20251007_193112": {
|
| 13 |
+
"accuracy": 0.0569967832416296,
|
| 14 |
+
"epoch": 0,
|
| 15 |
+
"timestamp": "20251007_193112",
|
| 16 |
+
"model_name": "beatrix-cifar100",
|
| 17 |
+
"path": "weights/beatrix-cifar100/20251007_193112",
|
| 18 |
+
"embed_dim": 256,
|
| 19 |
+
"depth": 12,
|
| 20 |
+
"batch_size": 512,
|
| 21 |
+
"learning_rate": 0.0001
|
| 22 |
}
|
| 23 |
}
|
weights/beatrix-cifar100/20251007_193112/config.json
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"num_classes": 100,
|
| 3 |
+
"img_size": 32,
|
| 4 |
+
"patch_size": 4,
|
| 5 |
+
"embed_dim": 256,
|
| 6 |
+
"k_simplex": 4,
|
| 7 |
+
"depth": 12,
|
| 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.5,
|
| 15 |
+
"batch_size": 512,
|
| 16 |
+
"num_epochs": 50,
|
| 17 |
+
"learning_rate": 0.0001,
|
| 18 |
+
"weight_decay": 0.005,
|
| 19 |
+
"warmup_epochs": 10,
|
| 20 |
+
"task_loss_weight": 0.5,
|
| 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": false,
|
| 26 |
+
"mixup_alpha": 0.2,
|
| 27 |
+
"cutmix_alpha": 1.0,
|
| 28 |
+
"device": "cuda",
|
| 29 |
+
"num_workers": 4,
|
| 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 |
+
"hub_upload_every_n_epochs": 10,
|
| 40 |
+
"use_tensorboard": true,
|
| 41 |
+
"log_dir": "./logs",
|
| 42 |
+
"log_every": 50,
|
| 43 |
+
"train_baseline": false
|
| 44 |
+
}
|
weights/beatrix-cifar100/20251007_193112/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e956e12777e842f38d6d8e1c5a2724ed95d58ae3b89b895c2250bfb7704e47aa
|
| 3 |
+
size 38116128
|