Update README - Run 20251104_152832
Browse files
README.md
CHANGED
|
@@ -12,7 +12,7 @@ datasets:
|
|
| 12 |
metrics:
|
| 13 |
- accuracy
|
| 14 |
model-index:
|
| 15 |
-
- name: David-decoupled-
|
| 16 |
results:
|
| 17 |
- task:
|
| 18 |
type: image-classification
|
|
@@ -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
|
|
@@ -32,12 +32,12 @@ as class prototypes with role-weighted similarity computation (Rose Loss).
|
|
| 32 |
## Model Details
|
| 33 |
|
| 34 |
### Architecture
|
| 35 |
-
- **Preset**:
|
| 36 |
- **Sharing Mode**: decoupled
|
| 37 |
-
- **Fusion Mode**:
|
| 38 |
-
- **Scales**: [256, 512, 768, 1024
|
| 39 |
- **Feature Dim**: 512
|
| 40 |
-
- **Parameters**:
|
| 41 |
|
| 42 |
### Training Configuration
|
| 43 |
- **Dataset**: AbstractPhil/imagenet-clip-features-orderly
|
|
@@ -51,16 +51,15 @@ as class prototypes with role-weighted similarity computation (Rose Loss).
|
|
| 51 |
## Performance
|
| 52 |
|
| 53 |
### Best Results
|
| 54 |
-
- **Validation Accuracy**:
|
| 55 |
-
- **Best Epoch**:
|
| 56 |
-
- **Final Train Accuracy**:
|
| 57 |
|
| 58 |
### Per-Scale Performance
|
| 59 |
-
- **Scale 256**:
|
| 60 |
-
- **Scale 512**:
|
| 61 |
-
- **Scale 768**:
|
| 62 |
-
- **Scale 1024**:
|
| 63 |
-
- **Scale 1280**: 76.00%
|
| 64 |
|
| 65 |
|
| 66 |
## Usage
|
|
@@ -77,19 +76,19 @@ AbstractPhil/gated-david/
|
|
| 77 |
βββ README.md # This file
|
| 78 |
βββ best_model.json # Latest best model info
|
| 79 |
βββ weights/
|
| 80 |
-
β βββ
|
| 81 |
-
β βββ
|
| 82 |
β βββ MODEL_SUMMARY.txt # π― Human-readable performance summary
|
| 83 |
β βββ training_history.json # π Epoch-by-epoch training curve
|
| 84 |
-
β βββ
|
| 85 |
-
β βββ
|
| 86 |
β βββ final_model.safetensors
|
| 87 |
β βββ checkpoint_epoch_X_accYY.YY.safetensors
|
| 88 |
β βββ david_config.json
|
| 89 |
β βββ train_config.json
|
| 90 |
βββ runs/
|
| 91 |
-
βββ
|
| 92 |
-
βββ
|
| 93 |
βββ events.out.tfevents.* # TensorBoard logs
|
| 94 |
```
|
| 95 |
|
|
@@ -102,9 +101,9 @@ from huggingface_hub import hf_hub_download
|
|
| 102 |
# Browse available models in MODELS_INDEX.json first!
|
| 103 |
|
| 104 |
# Specify model variant and run
|
| 105 |
-
model_name = "
|
| 106 |
-
run_id = "
|
| 107 |
-
accuracy = "
|
| 108 |
|
| 109 |
# Download config
|
| 110 |
config_path = hf_hub_download(
|
|
@@ -153,7 +152,7 @@ with torch.no_grad():
|
|
| 153 |
## Architecture Overview
|
| 154 |
|
| 155 |
### Multi-Scale Processing
|
| 156 |
-
David processes inputs at multiple scales (256, 512, 768, 1024
|
| 157 |
allowing it to capture both coarse and fine-grained features.
|
| 158 |
|
| 159 |
### Feature Geometry
|
|
@@ -171,7 +170,7 @@ score = w_anchor * sim(z, anchor) + w_need * sim(z, need) + ...
|
|
| 171 |
```
|
| 172 |
|
| 173 |
### Fusion Strategy
|
| 174 |
-
**
|
| 175 |
|
| 176 |
## Training Details
|
| 177 |
|
|
@@ -195,7 +194,7 @@ score = w_anchor * sim(z, anchor) + w_need * sim(z, need) + ...
|
|
| 195 |
author = {AbstractPhil},
|
| 196 |
year = {2025},
|
| 197 |
url = {https://huggingface.co/AbstractPhil/gated-david},
|
| 198 |
-
note = {Run ID:
|
| 199 |
}
|
| 200 |
```
|
| 201 |
|
|
@@ -210,4 +209,4 @@ Special thanks to Claude (Anthropic) for debugging assistance.
|
|
| 210 |
|
| 211 |
---
|
| 212 |
|
| 213 |
-
*Generated on 2025-11-04 15:
|
|
|
|
| 12 |
metrics:
|
| 13 |
- accuracy
|
| 14 |
model-index:
|
| 15 |
+
- name: David-decoupled-cantor_scale
|
| 16 |
results:
|
| 17 |
- task:
|
| 18 |
type: image-classification
|
|
|
|
| 21 |
type: imagenet-1k
|
| 22 |
metrics:
|
| 23 |
- type: accuracy
|
| 24 |
+
value: 73.93
|
| 25 |
---
|
| 26 |
|
| 27 |
# David: Multi-Scale Feature Classifier
|
|
|
|
| 32 |
## Model Details
|
| 33 |
|
| 34 |
### Architecture
|
| 35 |
+
- **Preset**: clip_vit_b16_cantor
|
| 36 |
- **Sharing Mode**: decoupled
|
| 37 |
+
- **Fusion Mode**: cantor_scale
|
| 38 |
+
- **Scales**: [256, 512, 768, 1024]
|
| 39 |
- **Feature Dim**: 512
|
| 40 |
+
- **Parameters**: 9,057,029
|
| 41 |
|
| 42 |
### Training Configuration
|
| 43 |
- **Dataset**: AbstractPhil/imagenet-clip-features-orderly
|
|
|
|
| 51 |
## Performance
|
| 52 |
|
| 53 |
### Best Results
|
| 54 |
+
- **Validation Accuracy**: 73.93%
|
| 55 |
+
- **Best Epoch**: 0
|
| 56 |
+
- **Final Train Accuracy**: 72.56%
|
| 57 |
|
| 58 |
### Per-Scale Performance
|
| 59 |
+
- **Scale 256**: 68.30%
|
| 60 |
+
- **Scale 512**: 72.27%
|
| 61 |
+
- **Scale 768**: 72.71%
|
| 62 |
+
- **Scale 1024**: 73.27%
|
|
|
|
| 63 |
|
| 64 |
|
| 65 |
## Usage
|
|
|
|
| 76 |
βββ README.md # This file
|
| 77 |
βββ best_model.json # Latest best model info
|
| 78 |
βββ weights/
|
| 79 |
+
β βββ david_clip_vit_b16_cantor/
|
| 80 |
+
β βββ 20251104_152832/
|
| 81 |
β βββ MODEL_SUMMARY.txt # π― Human-readable performance summary
|
| 82 |
β βββ training_history.json # π Epoch-by-epoch training curve
|
| 83 |
+
β βββ best_model_acc73.93.safetensors # β Accuracy in filename!
|
| 84 |
+
β βββ best_model_acc73.93_metadata.json
|
| 85 |
β βββ final_model.safetensors
|
| 86 |
β βββ checkpoint_epoch_X_accYY.YY.safetensors
|
| 87 |
β βββ david_config.json
|
| 88 |
β βββ train_config.json
|
| 89 |
βββ runs/
|
| 90 |
+
βββ david_clip_vit_b16_cantor/
|
| 91 |
+
βββ 20251104_152832/
|
| 92 |
βββ events.out.tfevents.* # TensorBoard logs
|
| 93 |
```
|
| 94 |
|
|
|
|
| 101 |
# Browse available models in MODELS_INDEX.json first!
|
| 102 |
|
| 103 |
# Specify model variant and run
|
| 104 |
+
model_name = "david_clip_vit_b16_cantor"
|
| 105 |
+
run_id = "20251104_152832"
|
| 106 |
+
accuracy = "73.93" # From MODELS_INDEX.json
|
| 107 |
|
| 108 |
# Download config
|
| 109 |
config_path = hf_hub_download(
|
|
|
|
| 152 |
## Architecture Overview
|
| 153 |
|
| 154 |
### Multi-Scale Processing
|
| 155 |
+
David processes inputs at multiple scales (256, 512, 768, 1024),
|
| 156 |
allowing it to capture both coarse and fine-grained features.
|
| 157 |
|
| 158 |
### Feature Geometry
|
|
|
|
| 170 |
```
|
| 171 |
|
| 172 |
### Fusion Strategy
|
| 173 |
+
**cantor_scale**: Intelligently combines predictions from multiple scales.
|
| 174 |
|
| 175 |
## Training Details
|
| 176 |
|
|
|
|
| 194 |
author = {AbstractPhil},
|
| 195 |
year = {2025},
|
| 196 |
url = {https://huggingface.co/AbstractPhil/gated-david},
|
| 197 |
+
note = {Run ID: 20251104_152832}
|
| 198 |
}
|
| 199 |
```
|
| 200 |
|
|
|
|
| 209 |
|
| 210 |
---
|
| 211 |
|
| 212 |
+
*Generated on 2025-11-04 15:30:39*
|