Update README - Run 20251012_161107
Browse files
README.md
CHANGED
|
@@ -12,7 +12,7 @@ datasets:
|
|
| 12 |
metrics:
|
| 13 |
- accuracy
|
| 14 |
model-index:
|
| 15 |
-
- name: David-partial_shared-
|
| 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 Crystal Classifier
|
|
@@ -32,16 +32,16 @@ as class prototypes with role-weighted similarity computation (Rose Loss).
|
|
| 32 |
## Model Details
|
| 33 |
|
| 34 |
### Architecture
|
| 35 |
-
- **Preset**:
|
| 36 |
- **Sharing Mode**: partial_shared
|
| 37 |
-
- **Fusion Mode**:
|
| 38 |
-
- **Scales**: [
|
| 39 |
-
- **Feature Dim**:
|
| 40 |
-
- **Parameters**:
|
| 41 |
|
| 42 |
### Training Configuration
|
| 43 |
- **Dataset**: AbstractPhil/imagenet-clip-features-orderly
|
| 44 |
-
- **Model Variant**:
|
| 45 |
- **Epochs**: 10
|
| 46 |
- **Batch Size**: 1024
|
| 47 |
- **Learning Rate**: 0.001
|
|
@@ -51,15 +51,19 @@ 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
|
| 60 |
-
- **Scale 512**:
|
| 61 |
-
- **Scale 768**:
|
| 62 |
-
- **Scale 1024**:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 63 |
|
| 64 |
|
| 65 |
## Usage
|
|
@@ -76,19 +80,19 @@ AbstractPhil/gated-david/
|
|
| 76 |
βββ README.md # This file
|
| 77 |
βββ best_model.json # Latest best model info
|
| 78 |
βββ weights/
|
| 79 |
-
β βββ
|
| 80 |
-
β βββ
|
| 81 |
β βββ MODEL_SUMMARY.txt # π― Human-readable performance summary
|
| 82 |
β βββ training_history.json # π Epoch-by-epoch training curve
|
| 83 |
-
β βββ
|
| 84 |
-
β βββ
|
| 85 |
β βββ final_model.safetensors
|
| 86 |
β βββ checkpoint_epoch_X_accYY.YY.safetensors
|
| 87 |
β βββ david_config.json
|
| 88 |
β βββ train_config.json
|
| 89 |
βββ runs/
|
| 90 |
-
βββ
|
| 91 |
-
βββ
|
| 92 |
βββ events.out.tfevents.* # TensorBoard logs
|
| 93 |
```
|
| 94 |
|
|
@@ -101,9 +105,9 @@ from huggingface_hub import hf_hub_download
|
|
| 101 |
# Browse available models in MODELS_INDEX.json first!
|
| 102 |
|
| 103 |
# Specify model variant and run
|
| 104 |
-
model_name = "
|
| 105 |
-
run_id = "
|
| 106 |
-
accuracy = "
|
| 107 |
|
| 108 |
# Download config
|
| 109 |
config_path = hf_hub_download(
|
|
@@ -152,7 +156,7 @@ with torch.no_grad():
|
|
| 152 |
## Architecture Overview
|
| 153 |
|
| 154 |
### Multi-Scale Processing
|
| 155 |
-
David processes inputs at multiple scales (
|
| 156 |
allowing it to capture both coarse and fine-grained features.
|
| 157 |
|
| 158 |
### Crystal Geometry
|
|
@@ -170,7 +174,7 @@ score = w_anchor * sim(z, anchor) + w_need * sim(z, need) + ...
|
|
| 170 |
```
|
| 171 |
|
| 172 |
### Fusion Strategy
|
| 173 |
-
**
|
| 174 |
|
| 175 |
## Training Details
|
| 176 |
|
|
@@ -184,7 +188,7 @@ score = w_anchor * sim(z, anchor) + w_need * sim(z, need) + ...
|
|
| 184 |
- **Weight Decay**: 1e-05
|
| 185 |
- **Scheduler**: cosine_restarts
|
| 186 |
- **Gradient Clip**: 10.0
|
| 187 |
-
- **Mixed Precision**:
|
| 188 |
|
| 189 |
## Citation
|
| 190 |
|
|
@@ -194,7 +198,7 @@ score = w_anchor * sim(z, anchor) + w_need * sim(z, need) + ...
|
|
| 194 |
author = {AbstractPhil},
|
| 195 |
year = {2025},
|
| 196 |
url = {https://huggingface.co/AbstractPhil/gated-david},
|
| 197 |
-
note = {Run ID:
|
| 198 |
}
|
| 199 |
```
|
| 200 |
|
|
@@ -209,4 +213,4 @@ Special thanks to Claude (Anthropic) for debugging assistance.
|
|
| 209 |
|
| 210 |
---
|
| 211 |
|
| 212 |
-
*Generated on 2025-10-12
|
|
|
|
| 12 |
metrics:
|
| 13 |
- accuracy
|
| 14 |
model-index:
|
| 15 |
+
- name: David-partial_shared-deep_efficiency
|
| 16 |
results:
|
| 17 |
- task:
|
| 18 |
type: image-classification
|
|
|
|
| 21 |
type: imagenet-1k
|
| 22 |
metrics:
|
| 23 |
- type: accuracy
|
| 24 |
+
value: 83.71
|
| 25 |
---
|
| 26 |
|
| 27 |
# David: Multi-Scale Crystal Classifier
|
|
|
|
| 32 |
## Model Details
|
| 33 |
|
| 34 |
### Architecture
|
| 35 |
+
- **Preset**: clip_vit_bigg14
|
| 36 |
- **Sharing Mode**: partial_shared
|
| 37 |
+
- **Fusion Mode**: deep_efficiency
|
| 38 |
+
- **Scales**: [384, 512, 768, 1024, 1280, 1536, 1792, 2048]
|
| 39 |
+
- **Feature Dim**: 1280
|
| 40 |
+
- **Parameters**: 60,814,373
|
| 41 |
|
| 42 |
### Training Configuration
|
| 43 |
- **Dataset**: AbstractPhil/imagenet-clip-features-orderly
|
| 44 |
+
- **Model Variant**: clip_vit_laion_bigg14
|
| 45 |
- **Epochs**: 10
|
| 46 |
- **Batch Size**: 1024
|
| 47 |
- **Learning Rate**: 0.001
|
|
|
|
| 51 |
## Performance
|
| 52 |
|
| 53 |
### Best Results
|
| 54 |
+
- **Validation Accuracy**: 83.71%
|
| 55 |
+
- **Best Epoch**: 0
|
| 56 |
+
- **Final Train Accuracy**: 81.03%
|
| 57 |
|
| 58 |
### Per-Scale Performance
|
| 59 |
+
- **Scale 384**: 83.52%
|
| 60 |
+
- **Scale 512**: 83.54%
|
| 61 |
+
- **Scale 768**: 83.71%
|
| 62 |
+
- **Scale 1024**: 83.48%
|
| 63 |
+
- **Scale 1280**: 83.63%
|
| 64 |
+
- **Scale 1536**: 83.59%
|
| 65 |
+
- **Scale 1792**: 83.62%
|
| 66 |
+
- **Scale 2048**: 83.66%
|
| 67 |
|
| 68 |
|
| 69 |
## Usage
|
|
|
|
| 80 |
βββ README.md # This file
|
| 81 |
βββ best_model.json # Latest best model info
|
| 82 |
βββ weights/
|
| 83 |
+
β βββ david_clip_vit_bigg14/
|
| 84 |
+
β βββ 20251012_161107/
|
| 85 |
β βββ MODEL_SUMMARY.txt # π― Human-readable performance summary
|
| 86 |
β βββ training_history.json # π Epoch-by-epoch training curve
|
| 87 |
+
β βββ best_model_acc83.71.safetensors # β Accuracy in filename!
|
| 88 |
+
β βββ best_model_acc83.71_metadata.json
|
| 89 |
β βββ final_model.safetensors
|
| 90 |
β βββ checkpoint_epoch_X_accYY.YY.safetensors
|
| 91 |
β βββ david_config.json
|
| 92 |
β βββ train_config.json
|
| 93 |
βββ runs/
|
| 94 |
+
βββ david_clip_vit_bigg14/
|
| 95 |
+
βββ 20251012_161107/
|
| 96 |
βββ events.out.tfevents.* # TensorBoard logs
|
| 97 |
```
|
| 98 |
|
|
|
|
| 105 |
# Browse available models in MODELS_INDEX.json first!
|
| 106 |
|
| 107 |
# Specify model variant and run
|
| 108 |
+
model_name = "david_clip_vit_bigg14"
|
| 109 |
+
run_id = "20251012_161107"
|
| 110 |
+
accuracy = "83.71" # From MODELS_INDEX.json
|
| 111 |
|
| 112 |
# Download config
|
| 113 |
config_path = hf_hub_download(
|
|
|
|
| 156 |
## Architecture Overview
|
| 157 |
|
| 158 |
### Multi-Scale Processing
|
| 159 |
+
David processes inputs at multiple scales (384, 512, 768, 1024, 1280, 1536, 1792, 2048),
|
| 160 |
allowing it to capture both coarse and fine-grained features.
|
| 161 |
|
| 162 |
### Crystal Geometry
|
|
|
|
| 174 |
```
|
| 175 |
|
| 176 |
### Fusion Strategy
|
| 177 |
+
**deep_efficiency**: Intelligently combines predictions from multiple scales.
|
| 178 |
|
| 179 |
## Training Details
|
| 180 |
|
|
|
|
| 188 |
- **Weight Decay**: 1e-05
|
| 189 |
- **Scheduler**: cosine_restarts
|
| 190 |
- **Gradient Clip**: 10.0
|
| 191 |
+
- **Mixed Precision**: False
|
| 192 |
|
| 193 |
## Citation
|
| 194 |
|
|
|
|
| 198 |
author = {AbstractPhil},
|
| 199 |
year = {2025},
|
| 200 |
url = {https://huggingface.co/AbstractPhil/gated-david},
|
| 201 |
+
note = {Run ID: 20251012_161107}
|
| 202 |
}
|
| 203 |
```
|
| 204 |
|
|
|
|
| 213 |
|
| 214 |
---
|
| 215 |
|
| 216 |
+
*Generated on 2025-10-12 16:14:46*
|