Model save
Browse files- README.md +3 -27
- config.json +24 -22
- model.safetensors +2 -2
- runs/Mar29_18-42-22_X5C922065N/events.out.tfevents.1711734147.X5C922065N.53009.6 +3 -0
- training_args.bin +1 -1
README.md
CHANGED
@@ -1,30 +1,12 @@
|
|
1 |
---
|
2 |
base_model: d071696/vit-finetune-scrap
|
3 |
tags:
|
4 |
-
- image-classification
|
5 |
-
- image-feature-extraction
|
6 |
-
- image-to-text
|
7 |
- generated_from_trainer
|
8 |
datasets:
|
9 |
-
-
|
10 |
-
metrics:
|
11 |
-
- accuracy
|
12 |
model-index:
|
13 |
- name: vit-finetune-scrap
|
14 |
-
results:
|
15 |
-
- task:
|
16 |
-
name: Image Classification
|
17 |
-
type: image-classification
|
18 |
-
dataset:
|
19 |
-
name: d071696/scraps1
|
20 |
-
type: arrow
|
21 |
-
config: default
|
22 |
-
split: train
|
23 |
-
args: default
|
24 |
-
metrics:
|
25 |
-
- name: Accuracy
|
26 |
-
type: accuracy
|
27 |
-
value: 0.9963782696177063
|
28 |
---
|
29 |
|
30 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -32,10 +14,7 @@ should probably proofread and complete it, then remove this comment. -->
|
|
32 |
|
33 |
# vit-finetune-scrap
|
34 |
|
35 |
-
This model is a fine-tuned version of [d071696/vit-finetune-scrap](https://huggingface.co/d071696/vit-finetune-scrap) on the
|
36 |
-
It achieves the following results on the evaluation set:
|
37 |
-
- Loss: 0.0129
|
38 |
-
- Accuracy: 0.9964
|
39 |
|
40 |
## Model description
|
41 |
|
@@ -64,9 +43,6 @@ The following hyperparameters were used during training:
|
|
64 |
|
65 |
### Training results
|
66 |
|
67 |
-
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
68 |
-
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
69 |
-
| 0.0035 | 3.22 | 1000 | 0.2143 | 0.9486 |
|
70 |
|
71 |
|
72 |
### Framework versions
|
|
|
1 |
---
|
2 |
base_model: d071696/vit-finetune-scrap
|
3 |
tags:
|
|
|
|
|
|
|
4 |
- generated_from_trainer
|
5 |
datasets:
|
6 |
+
- imagefolder
|
|
|
|
|
7 |
model-index:
|
8 |
- name: vit-finetune-scrap
|
9 |
+
results: []
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
---
|
11 |
|
12 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
14 |
|
15 |
# vit-finetune-scrap
|
16 |
|
17 |
+
This model is a fine-tuned version of [d071696/vit-finetune-scrap](https://huggingface.co/d071696/vit-finetune-scrap) on the imagefolder dataset.
|
|
|
|
|
|
|
18 |
|
19 |
## Model description
|
20 |
|
|
|
43 |
|
44 |
### Training results
|
45 |
|
|
|
|
|
|
|
46 |
|
47 |
|
48 |
### Framework versions
|
config.json
CHANGED
@@ -9,33 +9,35 @@
|
|
9 |
"hidden_dropout_prob": 0.0,
|
10 |
"hidden_size": 768,
|
11 |
"id2label": {
|
12 |
-
"0": "
|
13 |
-
"1": "
|
14 |
-
"10": "
|
15 |
-
"
|
16 |
-
"
|
17 |
-
"
|
18 |
-
"
|
19 |
-
"
|
20 |
-
"
|
21 |
-
"
|
22 |
-
"
|
|
|
23 |
},
|
24 |
"image_size": 224,
|
25 |
"initializer_range": 0.02,
|
26 |
"intermediate_size": 3072,
|
27 |
"label2id": {
|
28 |
-
"
|
29 |
-
"
|
30 |
-
"
|
31 |
-
"
|
32 |
-
"
|
33 |
-
"
|
34 |
-
"paper": "6",
|
35 |
-
"
|
36 |
-
"
|
37 |
-
"
|
38 |
-
"
|
|
|
39 |
},
|
40 |
"layer_norm_eps": 1e-12,
|
41 |
"model_type": "vit",
|
|
|
9 |
"hidden_dropout_prob": 0.0,
|
10 |
"hidden_size": 768,
|
11 |
"id2label": {
|
12 |
+
"0": "carton boxes",
|
13 |
+
"1": "old newspapers",
|
14 |
+
"10": "used juice box",
|
15 |
+
"11": "used plastic bottles labels",
|
16 |
+
"2": "old newspapers with plastic bottles and plastic garbage",
|
17 |
+
"3": "paper boxes and plastic trash bags",
|
18 |
+
"4": "paper waste",
|
19 |
+
"5": "plastic bottles",
|
20 |
+
"6": "plastic bottles and plastic bags with paper boxes",
|
21 |
+
"7": "plastic bottles and plastic garbage",
|
22 |
+
"8": "plastic garbage",
|
23 |
+
"9": "plastic garbage and paper garbage"
|
24 |
},
|
25 |
"image_size": 224,
|
26 |
"initializer_range": 0.02,
|
27 |
"intermediate_size": 3072,
|
28 |
"label2id": {
|
29 |
+
"carton boxes": "0",
|
30 |
+
"old newspapers": "1",
|
31 |
+
"old newspapers with plastic bottles and plastic garbage": "2",
|
32 |
+
"paper boxes and plastic trash bags": "3",
|
33 |
+
"paper waste": "4",
|
34 |
+
"plastic bottles": "5",
|
35 |
+
"plastic bottles and plastic bags with paper boxes": "6",
|
36 |
+
"plastic bottles and plastic garbage": "7",
|
37 |
+
"plastic garbage": "8",
|
38 |
+
"plastic garbage and paper garbage": "9",
|
39 |
+
"used juice box": "10",
|
40 |
+
"used plastic bottles labels": "11"
|
41 |
},
|
42 |
"layer_norm_eps": 1e-12,
|
43 |
"model_type": "vit",
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9b61cb4e03c9bfcb4d59e04874ddb0628ad12043bcb2d77be6e778249886b256
|
3 |
+
size 343254736
|
runs/Mar29_18-42-22_X5C922065N/events.out.tfevents.1711734147.X5C922065N.53009.6
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4810560ff653082ad5673c08aa8290117a11a73694a1a6c9ae6c5bdf632333cc
|
3 |
+
size 6106
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4920
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:72eb25d1bd046d95141d050a7046c0b70c3fb9f17a91b9b38a15dbfa48b5b07c
|
3 |
size 4920
|