Commit ·
234de35
1
Parent(s): 1c49e18
update model card README.md
Browse files
README.md
CHANGED
|
@@ -1,12 +1,27 @@
|
|
| 1 |
---
|
| 2 |
-
license:
|
| 3 |
tags:
|
| 4 |
- generated_from_trainer
|
| 5 |
datasets:
|
| 6 |
-
-
|
|
|
|
|
|
|
| 7 |
model-index:
|
| 8 |
- name: histo_train_segformer
|
| 9 |
-
results:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
---
|
| 11 |
|
| 12 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
@@ -14,7 +29,10 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 14 |
|
| 15 |
# histo_train_segformer
|
| 16 |
|
| 17 |
-
This model is a fine-tuned version of [
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
## Model description
|
| 20 |
|
|
@@ -33,22 +51,25 @@ More information needed
|
|
| 33 |
### Training hyperparameters
|
| 34 |
|
| 35 |
The following hyperparameters were used during training:
|
| 36 |
-
- learning_rate: 0.
|
| 37 |
- train_batch_size: 64
|
| 38 |
- eval_batch_size: 8
|
| 39 |
- seed: 42
|
| 40 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 41 |
- lr_scheduler_type: linear
|
| 42 |
-
- num_epochs:
|
| 43 |
- mixed_precision_training: Native AMP
|
| 44 |
|
| 45 |
### Training results
|
| 46 |
|
|
|
|
|
|
|
|
|
|
| 47 |
|
| 48 |
|
| 49 |
### Framework versions
|
| 50 |
|
| 51 |
-
- Transformers 4.
|
| 52 |
-
- Pytorch 1.13.
|
| 53 |
-
- Datasets 2.
|
| 54 |
- Tokenizers 0.13.2
|
|
|
|
| 1 |
---
|
| 2 |
+
license: other
|
| 3 |
tags:
|
| 4 |
- generated_from_trainer
|
| 5 |
datasets:
|
| 6 |
+
- imagefolder
|
| 7 |
+
metrics:
|
| 8 |
+
- accuracy
|
| 9 |
model-index:
|
| 10 |
- name: histo_train_segformer
|
| 11 |
+
results:
|
| 12 |
+
- task:
|
| 13 |
+
name: Image Classification
|
| 14 |
+
type: image-classification
|
| 15 |
+
dataset:
|
| 16 |
+
name: imagefolder
|
| 17 |
+
type: imagefolder
|
| 18 |
+
config: default
|
| 19 |
+
split: train
|
| 20 |
+
args: default
|
| 21 |
+
metrics:
|
| 22 |
+
- name: Accuracy
|
| 23 |
+
type: accuracy
|
| 24 |
+
value: 0.875
|
| 25 |
---
|
| 26 |
|
| 27 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 29 |
|
| 30 |
# histo_train_segformer
|
| 31 |
|
| 32 |
+
This model is a fine-tuned version of [nvidia/mit-b0](https://huggingface.co/nvidia/mit-b0) on the imagefolder dataset.
|
| 33 |
+
It achieves the following results on the evaluation set:
|
| 34 |
+
- Loss: 0.3830
|
| 35 |
+
- Accuracy: 0.875
|
| 36 |
|
| 37 |
## Model description
|
| 38 |
|
|
|
|
| 51 |
### Training hyperparameters
|
| 52 |
|
| 53 |
The following hyperparameters were used during training:
|
| 54 |
+
- learning_rate: 0.0002
|
| 55 |
- train_batch_size: 64
|
| 56 |
- eval_batch_size: 8
|
| 57 |
- seed: 42
|
| 58 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 59 |
- lr_scheduler_type: linear
|
| 60 |
+
- num_epochs: 20
|
| 61 |
- mixed_precision_training: Native AMP
|
| 62 |
|
| 63 |
### Training results
|
| 64 |
|
| 65 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 66 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 67 |
+
| 0.2234 | 16.67 | 100 | 0.3830 | 0.875 |
|
| 68 |
|
| 69 |
|
| 70 |
### Framework versions
|
| 71 |
|
| 72 |
+
- Transformers 4.27.3
|
| 73 |
+
- Pytorch 1.13.1+cu116
|
| 74 |
+
- Datasets 2.10.1
|
| 75 |
- Tokenizers 0.13.2
|