Update README - Run 20251012_065325
Browse files
README.md
CHANGED
|
@@ -12,7 +12,7 @@ datasets:
|
|
| 12 |
metrics:
|
| 13 |
- accuracy
|
| 14 |
model-index:
|
| 15 |
-
- name: David-
|
| 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.
|
| 25 |
---
|
| 26 |
|
| 27 |
# David: Multi-Scale Crystal Classifier
|
|
@@ -32,10 +32,10 @@ as class prototypes with role-weighted similarity computation (Rose Loss).
|
|
| 32 |
## Model Details
|
| 33 |
|
| 34 |
### Architecture
|
| 35 |
-
- **Preset**:
|
| 36 |
-
- **Sharing Mode**:
|
| 37 |
-
- **Fusion Mode**:
|
| 38 |
-
- **Scales**: [256, 512, 768, 1024
|
| 39 |
- **Feature Dim**: 512
|
| 40 |
- **Parameters**: ~8.8M
|
| 41 |
|
|
@@ -51,12 +51,12 @@ as class prototypes with role-weighted similarity computation (Rose Loss).
|
|
| 51 |
## Performance
|
| 52 |
|
| 53 |
### Best Results
|
| 54 |
-
- **Validation Accuracy**: 71.
|
| 55 |
-
- **Best Epoch**:
|
| 56 |
-
- **Final Train Accuracy**:
|
| 57 |
|
| 58 |
### Per-Scale Performance
|
| 59 |
-
- **Scale 256**: 71.
|
| 60 |
|
| 61 |
|
| 62 |
## Usage
|
|
@@ -66,7 +66,7 @@ as class prototypes with role-weighted similarity computation (Rose Loss).
|
|
| 66 |
```
|
| 67 |
AbstractPhil/gated-david/
|
| 68 |
βββ weights/
|
| 69 |
-
β βββ
|
| 70 |
β βββ 20251012_065325/
|
| 71 |
β βββ best_model.safetensors
|
| 72 |
β βββ best_model_metadata.json
|
|
@@ -75,7 +75,7 @@ AbstractPhil/gated-david/
|
|
| 75 |
β βββ david_config.json
|
| 76 |
β βββ train_config.json
|
| 77 |
βββ runs/
|
| 78 |
-
β βββ
|
| 79 |
β βββ 20251012_065325/
|
| 80 |
β βββ events.out.tfevents.*
|
| 81 |
βββ README.md
|
|
@@ -89,7 +89,7 @@ from geovocab2.train.model.core.david import David, DavidArchitectureConfig
|
|
| 89 |
from huggingface_hub import hf_hub_download
|
| 90 |
|
| 91 |
# Specify model variant and run
|
| 92 |
-
model_name = "
|
| 93 |
run_id = "20251012_065325"
|
| 94 |
|
| 95 |
# Download config
|
|
@@ -133,7 +133,7 @@ with torch.no_grad():
|
|
| 133 |
## Architecture Overview
|
| 134 |
|
| 135 |
### Multi-Scale Processing
|
| 136 |
-
David processes inputs at multiple scales (256, 512, 768, 1024
|
| 137 |
allowing it to capture both coarse and fine-grained features.
|
| 138 |
|
| 139 |
### Crystal Geometry
|
|
@@ -151,7 +151,7 @@ score = w_anchor * sim(z, anchor) + w_need * sim(z, need) + ...
|
|
| 151 |
```
|
| 152 |
|
| 153 |
### Fusion Strategy
|
| 154 |
-
**
|
| 155 |
|
| 156 |
## Training Details
|
| 157 |
|
|
@@ -190,4 +190,4 @@ Special thanks to Claude (Anthropic) for debugging assistance.
|
|
| 190 |
|
| 191 |
---
|
| 192 |
|
| 193 |
-
*Generated on 2025-10-12 07:
|
|
|
|
| 12 |
metrics:
|
| 13 |
- accuracy
|
| 14 |
model-index:
|
| 15 |
+
- name: David-partial_shared-hierarchical_tree
|
| 16 |
results:
|
| 17 |
- task:
|
| 18 |
type: image-classification
|
|
|
|
| 21 |
type: imagenet-1k
|
| 22 |
metrics:
|
| 23 |
- type: accuracy
|
| 24 |
+
value: 71.37
|
| 25 |
---
|
| 26 |
|
| 27 |
# David: Multi-Scale Crystal Classifier
|
|
|
|
| 32 |
## Model Details
|
| 33 |
|
| 34 |
### Architecture
|
| 35 |
+
- **Preset**: balanced
|
| 36 |
+
- **Sharing Mode**: partial_shared
|
| 37 |
+
- **Fusion Mode**: hierarchical_tree
|
| 38 |
+
- **Scales**: [256, 512, 768, 1024]
|
| 39 |
- **Feature Dim**: 512
|
| 40 |
- **Parameters**: ~8.8M
|
| 41 |
|
|
|
|
| 51 |
## Performance
|
| 52 |
|
| 53 |
### Best Results
|
| 54 |
+
- **Validation Accuracy**: 71.37%
|
| 55 |
+
- **Best Epoch**: 0
|
| 56 |
+
- **Final Train Accuracy**: 67.08%
|
| 57 |
|
| 58 |
### Per-Scale Performance
|
| 59 |
+
- **Scale 256**: 71.37%
|
| 60 |
|
| 61 |
|
| 62 |
## Usage
|
|
|
|
| 66 |
```
|
| 67 |
AbstractPhil/gated-david/
|
| 68 |
βββ weights/
|
| 69 |
+
β βββ david_balanced/
|
| 70 |
β βββ 20251012_065325/
|
| 71 |
β βββ best_model.safetensors
|
| 72 |
β βββ best_model_metadata.json
|
|
|
|
| 75 |
β βββ david_config.json
|
| 76 |
β βββ train_config.json
|
| 77 |
βββ runs/
|
| 78 |
+
β βββ david_balanced/
|
| 79 |
β βββ 20251012_065325/
|
| 80 |
β βββ events.out.tfevents.*
|
| 81 |
βββ README.md
|
|
|
|
| 89 |
from huggingface_hub import hf_hub_download
|
| 90 |
|
| 91 |
# Specify model variant and run
|
| 92 |
+
model_name = "david_balanced"
|
| 93 |
run_id = "20251012_065325"
|
| 94 |
|
| 95 |
# Download config
|
|
|
|
| 133 |
## Architecture Overview
|
| 134 |
|
| 135 |
### Multi-Scale Processing
|
| 136 |
+
David processes inputs at multiple scales (256, 512, 768, 1024),
|
| 137 |
allowing it to capture both coarse and fine-grained features.
|
| 138 |
|
| 139 |
### Crystal Geometry
|
|
|
|
| 151 |
```
|
| 152 |
|
| 153 |
### Fusion Strategy
|
| 154 |
+
**hierarchical_tree**: Intelligently combines predictions from multiple scales.
|
| 155 |
|
| 156 |
## Training Details
|
| 157 |
|
|
|
|
| 190 |
|
| 191 |
---
|
| 192 |
|
| 193 |
+
*Generated on 2025-10-12 07:04:34*
|