Image Classification
Transformers
JAX
ntlm_class25
imagenet-1k
tpu
muon
convnext
hybrid
custom_code
notokenlm
Instructions to use VeroLM/NoTokenLM-ImageGen-Class-2.5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use VeroLM/NoTokenLM-ImageGen-Class-2.5 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="VeroLM/NoTokenLM-ImageGen-Class-2.5", trust_remote_code=True) pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForImageClassification model = AutoModelForImageClassification.from_pretrained("VeroLM/NoTokenLM-ImageGen-Class-2.5", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload README.md
Browse files
README.md
CHANGED
|
@@ -114,11 +114,13 @@ ImageNet-1k validation set (50,000 images), EMA weights, single centre view, no
|
|
| 114 |
|
| 115 |
## Training
|
| 116 |
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
|
|
| 120 |
-
|
|
| 121 |
-
| `
|
|
|
|
|
|
|
| 122 |
|
| 123 |
* **Optimizer:** Muon (Newton-Schulz, 5 iterations, Nesterov, momentum 0.95) for all 2-D weight matrices except the classifier; AdamW-style updates for everything else (biases, norms, layer-scales, convolution kernels, classifier). Weight decay 0.05, global gradient-norm clip 1.0.
|
| 124 |
* **Schedule:** peak LR 2e-3, 2-epoch warm-up, cosine decay over `A_64` + `B_128`. `C_128` restarts with its own short warm-up (300 steps) to a peak LR of 5e-4.
|
|
|
|
| 114 |
|
| 115 |
## Training
|
| 116 |
|
| 117 |
+
The run totals **112,097 optimizer steps**, in three phases:
|
| 118 |
+
|
| 119 |
+
| Phase | Resolution | Data | Batch |
|
| 120 |
+
|---|---|---|---|
|
| 121 |
+
| `A_64` | 64 px | full ImageNet-1k train set (1,281,167 images) | 512 |
|
| 122 |
+
| `B_128` | 128 px | class-balanced subset, 300 images per class (300,000) | 256 |
|
| 123 |
+
| `C_128` | 128 px | the remaining training images | 256 |
|
| 124 |
|
| 125 |
* **Optimizer:** Muon (Newton-Schulz, 5 iterations, Nesterov, momentum 0.95) for all 2-D weight matrices except the classifier; AdamW-style updates for everything else (biases, norms, layer-scales, convolution kernels, classifier). Weight decay 0.05, global gradient-norm clip 1.0.
|
| 126 |
* **Schedule:** peak LR 2e-3, 2-epoch warm-up, cosine decay over `A_64` + `B_128`. `C_128` restarts with its own short warm-up (300 steps) to a peak LR of 5e-4.
|