kevinbjoseph commited on
Commit
a88afe7
·
verified ·
1 Parent(s): 031e66c

End of training

Browse files
Files changed (4) hide show
  1. README.md +14 -8
  2. config.json +9 -9
  3. model.safetensors +1 -1
  4. training_args.bin +1 -1
README.md CHANGED
@@ -1,5 +1,7 @@
1
  ---
2
  library_name: transformers
 
 
3
  tags:
4
  - generated_from_trainer
5
  datasets:
@@ -14,14 +16,9 @@ should probably proofread and complete it, then remove this comment. -->
14
 
15
  # convnext_model
16
 
17
- This model was trained from scratch on the imagefolder dataset.
18
  It achieves the following results on the evaluation set:
19
- - eval_loss: 0.2166
20
- - eval_model_preparation_time: 0.002
21
- - eval_runtime: 34.083
22
- - eval_samples_per_second: 11.736
23
- - eval_steps_per_second: 0.734
24
- - step: 0
25
 
26
  ## Model description
27
 
@@ -48,9 +45,18 @@ The following hyperparameters were used during training:
48
  - lr_scheduler_type: linear
49
  - num_epochs: 3
50
 
 
 
 
 
 
 
 
 
 
51
  ### Framework versions
52
 
53
  - Transformers 4.46.3
54
- - Pytorch 2.5.1+cpu
55
  - Datasets 3.1.0
56
  - Tokenizers 0.20.3
 
1
  ---
2
  library_name: transformers
3
+ license: apache-2.0
4
+ base_model: facebook/convnext-base-224
5
  tags:
6
  - generated_from_trainer
7
  datasets:
 
16
 
17
  # convnext_model
18
 
19
+ This model is a fine-tuned version of [facebook/convnext-base-224](https://huggingface.co/facebook/convnext-base-224) on the imagefolder dataset.
20
  It achieves the following results on the evaluation set:
21
+ - Loss: 0.0713
 
 
 
 
 
22
 
23
  ## Model description
24
 
 
45
  - lr_scheduler_type: linear
46
  - num_epochs: 3
47
 
48
+ ### Training results
49
+
50
+ | Training Loss | Epoch | Step | Validation Loss |
51
+ |:-------------:|:-----:|:----:|:---------------:|
52
+ | 0.1274 | 1.0 | 100 | 0.1036 |
53
+ | 0.0302 | 2.0 | 200 | 0.0760 |
54
+ | 0.0117 | 3.0 | 300 | 0.0713 |
55
+
56
+
57
  ### Framework versions
58
 
59
  - Transformers 4.46.3
60
+ - Pytorch 2.5.1+cu124
61
  - Datasets 3.1.0
62
  - Tokenizers 0.20.3
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "./saved_convnext_model/",
3
  "architectures": [
4
  "ConvNextForImageClassification"
5
  ],
@@ -18,18 +18,18 @@
18
  1024
19
  ],
20
  "id2label": {
21
- "0": "cyclone",
22
- "1": "earthquake",
23
- "2": "flood",
24
- "3": "wildfire"
25
  },
26
  "image_size": 224,
27
  "initializer_range": 0.02,
28
  "label2id": {
29
- "cyclone": 0,
30
- "earthquake": 1,
31
- "flood": 2,
32
- "wildfire": 3
33
  },
34
  "layer_norm_eps": 1e-12,
35
  "layer_scale_init_value": 1e-06,
 
1
  {
2
+ "_name_or_path": "facebook/convnext-base-224",
3
  "architectures": [
4
  "ConvNextForImageClassification"
5
  ],
 
18
  1024
19
  ],
20
  "id2label": {
21
+ "0": "LABEL_0",
22
+ "1": "LABEL_1",
23
+ "2": "LABEL_2",
24
+ "3": "LABEL_3"
25
  },
26
  "image_size": 224,
27
  "initializer_range": 0.02,
28
  "label2id": {
29
+ "LABEL_0": 0,
30
+ "LABEL_1": 1,
31
+ "LABEL_2": 2,
32
+ "LABEL_3": 3
33
  },
34
  "layer_norm_eps": 1e-12,
35
  "layer_scale_init_value": 1e-06,
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:251b2fdbfddef72aae4760dfab6086784821febaca54c198d4e9472934aa9367
3
  size 350323416
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8382e1d8690eb91008ab0a54271146fa0e1d5667ec713df8459ceae703b94b54
3
  size 350323416
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:00c128e7cea18823884425e4cc03894288fc30bea6a37e8cd7046ae89c1dd958
3
  size 5240
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c0ccb75cc167f00b48f9293b0c5f7516cac2fca6c70bfe3437060d466c9ebe1
3
  size 5240