Add BWSK model card
Browse files
README.md
CHANGED
|
@@ -167,9 +167,12 @@ BWSK is a framework that classifies every neural network operation as **S-type**
|
|
| 167 |
Load a specific variant:
|
| 168 |
|
| 169 |
```python
|
| 170 |
-
import
|
|
|
|
| 171 |
# Load fine-tuned conventional variant
|
| 172 |
-
|
|
|
|
|
|
|
| 173 |
```
|
| 174 |
|
| 175 |
## Training Configuration
|
|
@@ -177,13 +180,13 @@ import torch
|
|
| 177 |
| Setting | Value |
|
| 178 |
|---------|-------|
|
| 179 |
| **Optimizer** | AdamW |
|
| 180 |
-
| **LR (fine-tune)** |
|
| 181 |
-
| **LR (from-scratch)** |
|
| 182 |
| **LR Schedule** | Cosine with warmup |
|
| 183 |
| **Max Grad Norm** | 1.0 |
|
| 184 |
| **Mixed Precision** | AMP (float16) |
|
| 185 |
| **Early Stopping** | Patience 3 |
|
| 186 |
-
| **Batch Size** |
|
| 187 |
|
| 188 |
## Links
|
| 189 |
|
|
|
|
| 167 |
Load a specific variant:
|
| 168 |
|
| 169 |
```python
|
| 170 |
+
from transformers import AutoModelForImageClassification, AutoFeatureExtractor
|
| 171 |
+
|
| 172 |
# Load fine-tuned conventional variant
|
| 173 |
+
model = AutoModelForImageClassification.from_pretrained(
|
| 174 |
+
"tzervas/bwsk-vit-base", subfolder="finetune-conventional"
|
| 175 |
+
)
|
| 176 |
```
|
| 177 |
|
| 178 |
## Training Configuration
|
|
|
|
| 180 |
| Setting | Value |
|
| 181 |
|---------|-------|
|
| 182 |
| **Optimizer** | AdamW |
|
| 183 |
+
| **LR (fine-tune)** | 5e-05 |
|
| 184 |
+
| **LR (from-scratch)** | 3e-04 |
|
| 185 |
| **LR Schedule** | Cosine with warmup |
|
| 186 |
| **Max Grad Norm** | 1.0 |
|
| 187 |
| **Mixed Precision** | AMP (float16) |
|
| 188 |
| **Early Stopping** | Patience 3 |
|
| 189 |
+
| **Batch Size** | 16 |
|
| 190 |
|
| 191 |
## Links
|
| 192 |
|