Update README - Run 20251012_210041
Browse files
README.md
CHANGED
|
@@ -21,7 +21,7 @@ model-index:
|
|
| 21 |
type: imagenet-1k
|
| 22 |
metrics:
|
| 23 |
- type: accuracy
|
| 24 |
-
value:
|
| 25 |
---
|
| 26 |
|
| 27 |
# David: Multi-Scale Feature Classifier
|
|
@@ -45,25 +45,22 @@ exist simultaneously in the same shared space with the correct checks and spacin
|
|
| 45 |
|
| 46 |
### Training Configuration
|
| 47 |
- **Dataset**: AbstractPhil/imagenet-clip-features-orderly
|
| 48 |
-
- **Model Variant**: ['clip_vit_b16', 'clip_vit_laion_b32']
|
| 49 |
- **Epochs**: 10
|
| 50 |
- **Batch Size**: 1024
|
| 51 |
- **Learning Rate**: 0.01
|
| 52 |
- **Rose Loss Weight**: 0.2 β 0.8
|
| 53 |
-
- **Cayley Loss**:
|
| 54 |
|
| 55 |
## Performance
|
| 56 |
|
| 57 |
### Best Results
|
| 58 |
-
- **Validation Accuracy**:
|
| 59 |
-
- **Best Epoch**:
|
| 60 |
-
- **Final Train Accuracy**:
|
| 61 |
|
| 62 |
### Per-Scale Performance
|
| 63 |
-
- **Scale 256**:
|
| 64 |
-
- **Scale 512**: 75.73%
|
| 65 |
-
- **Scale 768**: 76.05%
|
| 66 |
-
- **Scale 1024**: 76.08%
|
| 67 |
|
| 68 |
|
| 69 |
## Usage
|
|
@@ -81,18 +78,18 @@ AbstractPhil/david-shared-space/
|
|
| 81 |
βββ best_model.json # Latest best model info
|
| 82 |
βββ weights/
|
| 83 |
β βββ david_balanced/
|
| 84 |
-
β βββ
|
| 85 |
β βββ MODEL_SUMMARY.txt # π― Human-readable performance summary
|
| 86 |
β βββ training_history.json # π Epoch-by-epoch training curve
|
| 87 |
-
β βββ
|
| 88 |
-
β βββ
|
| 89 |
β βββ final_model.safetensors
|
| 90 |
β βββ checkpoint_epoch_X_accYY.YY.safetensors
|
| 91 |
β βββ david_config.json
|
| 92 |
β βββ train_config.json
|
| 93 |
βββ runs/
|
| 94 |
βββ david_balanced/
|
| 95 |
-
βββ
|
| 96 |
βββ events.out.tfevents.* # TensorBoard logs
|
| 97 |
```
|
| 98 |
|
|
@@ -106,8 +103,8 @@ from huggingface_hub import hf_hub_download
|
|
| 106 |
|
| 107 |
# Specify model variant and run
|
| 108 |
model_name = "david_balanced"
|
| 109 |
-
run_id = "
|
| 110 |
-
accuracy = "
|
| 111 |
|
| 112 |
# Download config
|
| 113 |
config_path = hf_hub_download(
|
|
@@ -184,7 +181,7 @@ score = w_anchor * sim(z, anchor) + w_need * sim(z, need) + ...
|
|
| 184 |
### Loss Components
|
| 185 |
- **Cross-Entropy**: Standard classification loss
|
| 186 |
- **Rose Loss**: Pentachora role-weighted margin loss (weight: 0.2β0.8)
|
| 187 |
-
- **Cayley Loss**: Geometric regularization (
|
| 188 |
|
| 189 |
### Optimization
|
| 190 |
- **Optimizer**: AdamW
|
|
@@ -201,7 +198,7 @@ score = w_anchor * sim(z, anchor) + w_need * sim(z, need) + ...
|
|
| 201 |
author = {AbstractPhil},
|
| 202 |
year = {2025},
|
| 203 |
url = {https://huggingface.co/AbstractPhil/david-shared-space},
|
| 204 |
-
note = {Run ID:
|
| 205 |
}
|
| 206 |
```
|
| 207 |
|
|
@@ -216,4 +213,4 @@ Special thanks to Claude (Anthropic) for debugging assistance.
|
|
| 216 |
|
| 217 |
---
|
| 218 |
|
| 219 |
-
*Generated on 2025-10-12
|
|
|
|
| 21 |
type: imagenet-1k
|
| 22 |
metrics:
|
| 23 |
- type: accuracy
|
| 24 |
+
value: 66.43
|
| 25 |
---
|
| 26 |
|
| 27 |
# David: Multi-Scale Feature Classifier
|
|
|
|
| 45 |
|
| 46 |
### Training Configuration
|
| 47 |
- **Dataset**: AbstractPhil/imagenet-clip-features-orderly
|
| 48 |
+
- **Model Variant**: ['clip_vit_b16', 'clip_vit_laion_b32', 'clip_vit_b32']
|
| 49 |
- **Epochs**: 10
|
| 50 |
- **Batch Size**: 1024
|
| 51 |
- **Learning Rate**: 0.01
|
| 52 |
- **Rose Loss Weight**: 0.2 β 0.8
|
| 53 |
+
- **Cayley Loss**: False
|
| 54 |
|
| 55 |
## Performance
|
| 56 |
|
| 57 |
### Best Results
|
| 58 |
+
- **Validation Accuracy**: 66.43%
|
| 59 |
+
- **Best Epoch**: 0
|
| 60 |
+
- **Final Train Accuracy**: 56.12%
|
| 61 |
|
| 62 |
### Per-Scale Performance
|
| 63 |
+
- **Scale 256**: 66.43%
|
|
|
|
|
|
|
|
|
|
| 64 |
|
| 65 |
|
| 66 |
## Usage
|
|
|
|
| 78 |
βββ best_model.json # Latest best model info
|
| 79 |
βββ weights/
|
| 80 |
β βββ david_balanced/
|
| 81 |
+
β βββ 20251012_210041/
|
| 82 |
β βββ MODEL_SUMMARY.txt # π― Human-readable performance summary
|
| 83 |
β βββ training_history.json # π Epoch-by-epoch training curve
|
| 84 |
+
β βββ best_model_acc66.43.safetensors # β Accuracy in filename!
|
| 85 |
+
β βββ best_model_acc66.43_metadata.json
|
| 86 |
β βββ final_model.safetensors
|
| 87 |
β βββ checkpoint_epoch_X_accYY.YY.safetensors
|
| 88 |
β βββ david_config.json
|
| 89 |
β βββ train_config.json
|
| 90 |
βββ runs/
|
| 91 |
βββ david_balanced/
|
| 92 |
+
βββ 20251012_210041/
|
| 93 |
βββ events.out.tfevents.* # TensorBoard logs
|
| 94 |
```
|
| 95 |
|
|
|
|
| 103 |
|
| 104 |
# Specify model variant and run
|
| 105 |
model_name = "david_balanced"
|
| 106 |
+
run_id = "20251012_210041"
|
| 107 |
+
accuracy = "66.43" # From MODELS_INDEX.json
|
| 108 |
|
| 109 |
# Download config
|
| 110 |
config_path = hf_hub_download(
|
|
|
|
| 181 |
### Loss Components
|
| 182 |
- **Cross-Entropy**: Standard classification loss
|
| 183 |
- **Rose Loss**: Pentachora role-weighted margin loss (weight: 0.2β0.8)
|
| 184 |
+
- **Cayley Loss**: Geometric regularization (disabled)
|
| 185 |
|
| 186 |
### Optimization
|
| 187 |
- **Optimizer**: AdamW
|
|
|
|
| 198 |
author = {AbstractPhil},
|
| 199 |
year = {2025},
|
| 200 |
url = {https://huggingface.co/AbstractPhil/david-shared-space},
|
| 201 |
+
note = {Run ID: 20251012_210041}
|
| 202 |
}
|
| 203 |
```
|
| 204 |
|
|
|
|
| 213 |
|
| 214 |
---
|
| 215 |
|
| 216 |
+
*Generated on 2025-10-12 21:05:14*
|