vuongnhathien
commited on
Commit
•
caf515a
1
Parent(s):
9c6a47e
Model save
Browse files- README.md +50 -0
- config.json +106 -0
- model.safetensors +3 -0
- preprocessor_config.json +37 -0
- runs/May21_05-14-30_afcb6ddf64bd/events.out.tfevents.1716268829.afcb6ddf64bd.34.0 +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: facebook/convnextv2-base-22k-384
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- imagefolder
|
8 |
+
model-index:
|
9 |
+
- name: ConvnextV2-base
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# ConvnextV2-base
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [facebook/convnextv2-base-22k-384](https://huggingface.co/facebook/convnextv2-base-22k-384) on the imagefolder dataset.
|
19 |
+
|
20 |
+
## Model description
|
21 |
+
|
22 |
+
More information needed
|
23 |
+
|
24 |
+
## Intended uses & limitations
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Training and evaluation data
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training procedure
|
33 |
+
|
34 |
+
### Training hyperparameters
|
35 |
+
|
36 |
+
The following hyperparameters were used during training:
|
37 |
+
- learning_rate: 0.0003
|
38 |
+
- train_batch_size: 32
|
39 |
+
- eval_batch_size: 8
|
40 |
+
- seed: 42
|
41 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
42 |
+
- lr_scheduler_type: linear
|
43 |
+
- num_epochs: 10
|
44 |
+
|
45 |
+
### Framework versions
|
46 |
+
|
47 |
+
- Transformers 4.39.3
|
48 |
+
- Pytorch 2.1.2
|
49 |
+
- Datasets 2.18.0
|
50 |
+
- Tokenizers 0.15.2
|
config.json
ADDED
@@ -0,0 +1,106 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/convnextv2-base-22k-384",
|
3 |
+
"architectures": [
|
4 |
+
"ConvNextV2ForImageClassification"
|
5 |
+
],
|
6 |
+
"depths": [
|
7 |
+
3,
|
8 |
+
3,
|
9 |
+
27,
|
10 |
+
3
|
11 |
+
],
|
12 |
+
"drop_path_rate": 0.0,
|
13 |
+
"hidden_act": "gelu",
|
14 |
+
"hidden_sizes": [
|
15 |
+
128,
|
16 |
+
256,
|
17 |
+
512,
|
18 |
+
1024
|
19 |
+
],
|
20 |
+
"id2label": {
|
21 |
+
"0": 0,
|
22 |
+
"1": 1,
|
23 |
+
"2": 2,
|
24 |
+
"3": 3,
|
25 |
+
"4": 4,
|
26 |
+
"5": 5,
|
27 |
+
"6": 6,
|
28 |
+
"7": 7,
|
29 |
+
"8": 8,
|
30 |
+
"9": 9,
|
31 |
+
"10": 10,
|
32 |
+
"11": 11,
|
33 |
+
"12": 12,
|
34 |
+
"13": 13,
|
35 |
+
"14": 14,
|
36 |
+
"15": 15,
|
37 |
+
"16": 16,
|
38 |
+
"17": 17,
|
39 |
+
"18": 18,
|
40 |
+
"19": 19,
|
41 |
+
"20": 20,
|
42 |
+
"21": 21,
|
43 |
+
"22": 22,
|
44 |
+
"23": 23,
|
45 |
+
"24": 24,
|
46 |
+
"25": 25,
|
47 |
+
"26": 26,
|
48 |
+
"27": 27,
|
49 |
+
"28": 28,
|
50 |
+
"29": 29
|
51 |
+
},
|
52 |
+
"image_size": 224,
|
53 |
+
"initializer_range": 0.02,
|
54 |
+
"label2id": {
|
55 |
+
"0": 0,
|
56 |
+
"1": 1,
|
57 |
+
"2": 2,
|
58 |
+
"3": 3,
|
59 |
+
"4": 4,
|
60 |
+
"5": 5,
|
61 |
+
"6": 6,
|
62 |
+
"7": 7,
|
63 |
+
"8": 8,
|
64 |
+
"9": 9,
|
65 |
+
"10": 10,
|
66 |
+
"11": 11,
|
67 |
+
"12": 12,
|
68 |
+
"13": 13,
|
69 |
+
"14": 14,
|
70 |
+
"15": 15,
|
71 |
+
"16": 16,
|
72 |
+
"17": 17,
|
73 |
+
"18": 18,
|
74 |
+
"19": 19,
|
75 |
+
"20": 20,
|
76 |
+
"21": 21,
|
77 |
+
"22": 22,
|
78 |
+
"23": 23,
|
79 |
+
"24": 24,
|
80 |
+
"25": 25,
|
81 |
+
"26": 26,
|
82 |
+
"27": 27,
|
83 |
+
"28": 28,
|
84 |
+
"29": 29
|
85 |
+
},
|
86 |
+
"layer_norm_eps": 1e-12,
|
87 |
+
"model_type": "convnextv2",
|
88 |
+
"num_channels": 3,
|
89 |
+
"num_stages": 4,
|
90 |
+
"out_features": [
|
91 |
+
"stage4"
|
92 |
+
],
|
93 |
+
"out_indices": [
|
94 |
+
4
|
95 |
+
],
|
96 |
+
"patch_size": 4,
|
97 |
+
"stage_names": [
|
98 |
+
"stem",
|
99 |
+
"stage1",
|
100 |
+
"stage2",
|
101 |
+
"stage3",
|
102 |
+
"stage4"
|
103 |
+
],
|
104 |
+
"torch_dtype": "float32",
|
105 |
+
"transformers_version": "4.39.3"
|
106 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cca3ac839f27908ee1fda750ed34ba6110d80de6fd522703d384cfc5b589f6a5
|
3 |
+
size 350940280
|
preprocessor_config.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_valid_processor_keys": [
|
3 |
+
"images",
|
4 |
+
"do_resize",
|
5 |
+
"size",
|
6 |
+
"crop_pct",
|
7 |
+
"resample",
|
8 |
+
"do_rescale",
|
9 |
+
"rescale_factor",
|
10 |
+
"do_normalize",
|
11 |
+
"image_mean",
|
12 |
+
"image_std",
|
13 |
+
"return_tensors",
|
14 |
+
"data_format",
|
15 |
+
"input_data_format"
|
16 |
+
],
|
17 |
+
"crop_pct": 0.875,
|
18 |
+
"do_normalize": true,
|
19 |
+
"do_rescale": true,
|
20 |
+
"do_resize": true,
|
21 |
+
"image_mean": [
|
22 |
+
0.485,
|
23 |
+
0.456,
|
24 |
+
0.406
|
25 |
+
],
|
26 |
+
"image_processor_type": "ConvNextImageProcessor",
|
27 |
+
"image_std": [
|
28 |
+
0.229,
|
29 |
+
0.224,
|
30 |
+
0.225
|
31 |
+
],
|
32 |
+
"resample": 3,
|
33 |
+
"rescale_factor": 0.00392156862745098,
|
34 |
+
"size": {
|
35 |
+
"shortest_edge": 384
|
36 |
+
}
|
37 |
+
}
|
runs/May21_05-14-30_afcb6ddf64bd/events.out.tfevents.1716268829.afcb6ddf64bd.34.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:92278b448c3a88c0d631fc5c6621430040d560c7089644509a6113ad79d2dfd3
|
3 |
+
size 4184
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cff65adf34603bc15d0660b2e573fbead17b4936225517156263c9ef6f9eb493
|
3 |
+
size 4920
|