AbstractPhil commited on
Commit
7873cbc
Β·
verified Β·
1 Parent(s): b8c9b0c

Update README - Run 20251012_145649

Browse files
Files changed (1) hide show
  1. README.md +27 -25
README.md CHANGED
@@ -12,7 +12,7 @@ datasets:
12
  metrics:
13
  - accuracy
14
  model-index:
15
- - name: David-fully_shared-weighted_sum
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: 71.73
25
  ---
26
 
27
  # David: Multi-Scale Crystal Classifier
@@ -32,12 +32,12 @@ as class prototypes with role-weighted similarity computation (Rose Loss).
32
  ## Model Details
33
 
34
  ### Architecture
35
- - **Preset**: small_fast
36
- - **Sharing Mode**: fully_shared
37
- - **Fusion Mode**: weighted_sum
38
- - **Scales**: [256, 512]
39
  - **Feature Dim**: 512
40
- - **Parameters**: 656,898
41
 
42
  ### Training Configuration
43
  - **Dataset**: AbstractPhil/imagenet-clip-features-orderly
@@ -51,13 +51,15 @@ as class prototypes with role-weighted similarity computation (Rose Loss).
51
  ## Performance
52
 
53
  ### Best Results
54
- - **Validation Accuracy**: 71.73%
55
- - **Best Epoch**: 9
56
- - **Final Train Accuracy**: 73.18%
57
 
58
  ### Per-Scale Performance
59
- - **Scale 256**: 71.26%
60
- - **Scale 512**: 71.69%
 
 
61
 
62
 
63
  ## Usage
@@ -74,19 +76,19 @@ AbstractPhil/gated-david/
74
  β”œβ”€β”€ README.md # This file
75
  β”œβ”€β”€ best_model.json # Latest best model info
76
  β”œβ”€β”€ weights/
77
- β”‚ └── david_small_fast/
78
- β”‚ └── 20251012_141246/
79
  β”‚ β”œβ”€β”€ MODEL_SUMMARY.txt # 🎯 Human-readable performance summary
80
  β”‚ β”œβ”€β”€ training_history.json # πŸ“ˆ Epoch-by-epoch training curve
81
- β”‚ β”œβ”€β”€ best_model_acc71.73.safetensors # ⭐ Accuracy in filename!
82
- β”‚ β”œβ”€β”€ best_model_acc71.73_metadata.json
83
  β”‚ β”œβ”€β”€ final_model.safetensors
84
  β”‚ β”œβ”€β”€ checkpoint_epoch_X_accYY.YY.safetensors
85
  β”‚ β”œβ”€β”€ david_config.json
86
  β”‚ └── train_config.json
87
  └── runs/
88
- └── david_small_fast/
89
- └── 20251012_141246/
90
  └── events.out.tfevents.* # TensorBoard logs
91
  ```
92
 
@@ -99,9 +101,9 @@ from huggingface_hub import hf_hub_download
99
  # Browse available models in MODELS_INDEX.json first!
100
 
101
  # Specify model variant and run
102
- model_name = "david_small_fast"
103
- run_id = "20251012_141246"
104
- accuracy = "71.73" # From MODELS_INDEX.json
105
 
106
  # Download config
107
  config_path = hf_hub_download(
@@ -150,7 +152,7 @@ with torch.no_grad():
150
  ## Architecture Overview
151
 
152
  ### Multi-Scale Processing
153
- David processes inputs at multiple scales (256, 512),
154
  allowing it to capture both coarse and fine-grained features.
155
 
156
  ### Crystal Geometry
@@ -168,7 +170,7 @@ score = w_anchor * sim(z, anchor) + w_need * sim(z, need) + ...
168
  ```
169
 
170
  ### Fusion Strategy
171
- **weighted_sum**: Intelligently combines predictions from multiple scales.
172
 
173
  ## Training Details
174
 
@@ -192,7 +194,7 @@ score = w_anchor * sim(z, anchor) + w_need * sim(z, need) + ...
192
  author = {AbstractPhil},
193
  year = {2025},
194
  url = {https://huggingface.co/AbstractPhil/gated-david},
195
- note = {Run ID: 20251012_141246}
196
  }
197
  ```
198
 
@@ -207,4 +209,4 @@ Special thanks to Claude (Anthropic) for debugging assistance.
207
 
208
  ---
209
 
210
- *Generated on 2025-10-12 14:29:35*
 
12
  metrics:
13
  - accuracy
14
  model-index:
15
+ - name: David-hierarchical-progressive
16
  results:
17
  - task:
18
  type: image-classification
 
21
  type: imagenet-1k
22
  metrics:
23
  - type: accuracy
24
+ value: 72.33
25
  ---
26
 
27
  # David: Multi-Scale Crystal Classifier
 
32
  ## Model Details
33
 
34
  ### Architecture
35
+ - **Preset**: hierarchical_refinement
36
+ - **Sharing Mode**: hierarchical
37
+ - **Fusion Mode**: progressive
38
+ - **Scales**: [256, 512, 768, 1024]
39
  - **Feature Dim**: 512
40
+ - **Parameters**: 10,493,184
41
 
42
  ### Training Configuration
43
  - **Dataset**: AbstractPhil/imagenet-clip-features-orderly
 
51
  ## Performance
52
 
53
  ### Best Results
54
+ - **Validation Accuracy**: 72.33%
55
+ - **Best Epoch**: 0
56
+ - **Final Train Accuracy**: 68.34%
57
 
58
  ### Per-Scale Performance
59
+ - **Scale 256**: 65.92%
60
+ - **Scale 512**: 70.01%
61
+ - **Scale 768**: 71.31%
62
+ - **Scale 1024**: 71.29%
63
 
64
 
65
  ## Usage
 
76
  β”œβ”€β”€ README.md # This file
77
  β”œβ”€β”€ best_model.json # Latest best model info
78
  β”œβ”€β”€ weights/
79
+ β”‚ └── david_hierarchical/
80
+ β”‚ └── 20251012_145649/
81
  β”‚ β”œβ”€β”€ MODEL_SUMMARY.txt # 🎯 Human-readable performance summary
82
  β”‚ β”œβ”€β”€ training_history.json # πŸ“ˆ Epoch-by-epoch training curve
83
+ β”‚ β”œβ”€β”€ best_model_acc72.33.safetensors # ⭐ Accuracy in filename!
84
+ β”‚ β”œβ”€β”€ best_model_acc72.33_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_hierarchical/
91
+ └── 20251012_145649/
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_hierarchical"
105
+ run_id = "20251012_145649"
106
+ accuracy = "72.33" # 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
  ### Crystal Geometry
 
170
  ```
171
 
172
  ### Fusion Strategy
173
+ **progressive**: 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: 20251012_145649}
198
  }
199
  ```
200
 
 
209
 
210
  ---
211
 
212
+ *Generated on 2025-10-12 14:58:46*