AbstractPhil commited on
Commit
0bb2aa5
Β·
verified Β·
1 Parent(s): 70deaeb

Update README - Run 20251104_133602

Browse files
Files changed (1) hide show
  1. README.md +29 -28
README.md CHANGED
@@ -12,7 +12,7 @@ datasets:
12
  metrics:
13
  - accuracy
14
  model-index:
15
- - name: David-decoupled-cantor_scale
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: 78.87
25
  ---
26
 
27
  # David: Multi-Scale Feature Classifier
@@ -32,18 +32,18 @@ as class prototypes with role-weighted similarity computation (Rose Loss).
32
  ## Model Details
33
 
34
  ### Architecture
35
- - **Preset**: clip_vit_b16_cantor_decoupled_massive
36
- - **Sharing Mode**: decoupled
37
  - **Fusion Mode**: cantor_scale
38
- - **Scales**: [512, 4096, 8192, 16384]
39
- - **Feature Dim**: 512
40
- - **Parameters**: 751,239,941
41
 
42
  ### Training Configuration
43
  - **Dataset**: AbstractPhil/imagenet-clip-features-orderly
44
- - **Model Variant**: clip_vit_b16
45
  - **Epochs**: 5
46
- - **Batch Size**: 256
47
  - **Learning Rate**: 0.001
48
  - **Rose Loss Weight**: 0.1 β†’ 0.5
49
  - **Cayley Loss**: False
@@ -51,15 +51,16 @@ as class prototypes with role-weighted similarity computation (Rose Loss).
51
  ## Performance
52
 
53
  ### Best Results
54
- - **Validation Accuracy**: 78.87%
55
- - **Best Epoch**: 4
56
- - **Final Train Accuracy**: 87.75%
57
 
58
  ### Per-Scale Performance
59
- - **Scale 512**: 77.27%
60
- - **Scale 4096**: 78.43%
61
- - **Scale 8192**: 78.03%
62
- - **Scale 16384**: 78.34%
 
63
 
64
 
65
  ## Usage
@@ -76,19 +77,19 @@ AbstractPhil/gated-david/
76
  β”œβ”€β”€ README.md # This file
77
  β”œβ”€β”€ best_model.json # Latest best model info
78
  β”œβ”€β”€ weights/
79
- β”‚ └── david_clip_vit_b16_cantor_decoupled_massive/
80
- β”‚ └── 20251104_125328/
81
  β”‚ β”œβ”€β”€ MODEL_SUMMARY.txt # 🎯 Human-readable performance summary
82
  β”‚ β”œβ”€β”€ training_history.json # πŸ“ˆ Epoch-by-epoch training curve
83
- β”‚ β”œβ”€β”€ best_model_acc78.87.safetensors # ⭐ Accuracy in filename!
84
- β”‚ β”œβ”€β”€ best_model_acc78.87_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_decoupled_massive/
91
- └── 20251104_125328/
92
  └── events.out.tfevents.* # TensorBoard logs
93
  ```
94
 
@@ -101,9 +102,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 = "david_clip_vit_b16_cantor_decoupled_massive"
105
- run_id = "20251104_125328"
106
- accuracy = "78.87" # From MODELS_INDEX.json
107
 
108
  # Download config
109
  config_path = hf_hub_download(
@@ -152,7 +153,7 @@ with torch.no_grad():
152
  ## Architecture Overview
153
 
154
  ### Multi-Scale Processing
155
- David processes inputs at multiple scales (512, 4096, 8192, 16384),
156
  allowing it to capture both coarse and fine-grained features.
157
 
158
  ### Feature Geometry
@@ -194,7 +195,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: 20251104_125328}
198
  }
199
  ```
200
 
@@ -209,4 +210,4 @@ Special thanks to Claude (Anthropic) for debugging assistance.
209
 
210
  ---
211
 
212
- *Generated on 2025-11-04 13:32:59*
 
12
  metrics:
13
  - accuracy
14
  model-index:
15
+ - name: David-partial_shared-cantor_scale
16
  results:
17
  - task:
18
  type: image-classification
 
21
  type: imagenet-1k
22
  metrics:
23
  - type: accuracy
24
+ value: 81.28
25
  ---
26
 
27
  # David: Multi-Scale Feature Classifier
 
32
  ## Model Details
33
 
34
  ### Architecture
35
+ - **Preset**: clip_vit_l14_cantor
36
+ - **Sharing Mode**: partial_shared
37
  - **Fusion Mode**: cantor_scale
38
+ - **Scales**: [384, 768, 1024, 1280, 1536]
39
+ - **Feature Dim**: 768
40
+ - **Parameters**: 32,436,998
41
 
42
  ### Training Configuration
43
  - **Dataset**: AbstractPhil/imagenet-clip-features-orderly
44
+ - **Model Variant**: clip_vit_l14
45
  - **Epochs**: 5
46
+ - **Batch Size**: 1024
47
  - **Learning Rate**: 0.001
48
  - **Rose Loss Weight**: 0.1 β†’ 0.5
49
  - **Cayley Loss**: False
 
51
  ## Performance
52
 
53
  ### Best Results
54
+ - **Validation Accuracy**: 81.28%
55
+ - **Best Epoch**: 0
56
+ - **Final Train Accuracy**: 77.89%
57
 
58
  ### Per-Scale Performance
59
+ - **Scale 384**: 80.39%
60
+ - **Scale 768**: 80.90%
61
+ - **Scale 1024**: 80.75%
62
+ - **Scale 1280**: 80.57%
63
+ - **Scale 1536**: 80.98%
64
 
65
 
66
  ## Usage
 
77
  β”œβ”€β”€ README.md # This file
78
  β”œβ”€β”€ best_model.json # Latest best model info
79
  β”œβ”€β”€ weights/
80
+ β”‚ └── david_clip_vit_l14_cantor/
81
+ β”‚ └── 20251104_133602/
82
  β”‚ β”œβ”€β”€ MODEL_SUMMARY.txt # 🎯 Human-readable performance summary
83
  β”‚ β”œβ”€β”€ training_history.json # πŸ“ˆ Epoch-by-epoch training curve
84
+ β”‚ β”œβ”€β”€ best_model_acc81.28.safetensors # ⭐ Accuracy in filename!
85
+ β”‚ β”œβ”€β”€ best_model_acc81.28_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_clip_vit_l14_cantor/
92
+ └── 20251104_133602/
93
  └── events.out.tfevents.* # TensorBoard logs
94
  ```
95
 
 
102
  # Browse available models in MODELS_INDEX.json first!
103
 
104
  # Specify model variant and run
105
+ model_name = "david_clip_vit_l14_cantor"
106
+ run_id = "20251104_133602"
107
+ accuracy = "81.28" # From MODELS_INDEX.json
108
 
109
  # Download config
110
  config_path = hf_hub_download(
 
153
  ## Architecture Overview
154
 
155
  ### Multi-Scale Processing
156
+ David processes inputs at multiple scales (384, 768, 1024, 1280, 1536),
157
  allowing it to capture both coarse and fine-grained features.
158
 
159
  ### Feature Geometry
 
195
  author = {AbstractPhil},
196
  year = {2025},
197
  url = {https://huggingface.co/AbstractPhil/gated-david},
198
+ note = {Run ID: 20251104_133602}
199
  }
200
  ```
201
 
 
210
 
211
  ---
212
 
213
+ *Generated on 2025-11-04 13:41:01*