Akram-AI commited on
Commit
e21d249
1 Parent(s): 2caee24

Model save

Browse files
README.md ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: facebook/convnext-tiny-224
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ model-index:
9
+ - name: akram-convNeXt-flipkarts
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
+ # akram-convNeXt-flipkarts
17
+
18
+ This model is a fine-tuned version of [facebook/convnext-tiny-224](https://huggingface.co/facebook/convnext-tiny-224) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.4617
21
+ - Accuracy: 0.8734
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 0.0002
41
+ - train_batch_size: 16
42
+ - eval_batch_size: 8
43
+ - seed: 42
44
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: linear
46
+ - num_epochs: 4
47
+
48
+ ### Training results
49
+
50
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
51
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
52
+ | 0.3777 | 0.57 | 32 | 0.5409 | 0.8228 |
53
+ | 0.131 | 1.14 | 64 | 0.5633 | 0.8418 |
54
+ | 0.1426 | 1.71 | 96 | 0.5171 | 0.8291 |
55
+ | 0.2413 | 2.29 | 128 | 0.4775 | 0.8608 |
56
+ | 0.1852 | 2.86 | 160 | 0.4648 | 0.8608 |
57
+ | 0.2165 | 3.43 | 192 | 0.4581 | 0.8734 |
58
+ | 0.1529 | 4.0 | 224 | 0.4617 | 0.8734 |
59
+
60
+
61
+ ### Framework versions
62
+
63
+ - Transformers 4.38.2
64
+ - Pytorch 2.2.1+cu121
65
+ - Datasets 2.18.0
66
+ - Tokenizers 0.15.2
config.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "facebook/convnext-tiny-224",
3
+ "architectures": [
4
+ "ConvNextForImageClassification"
5
+ ],
6
+ "depths": [
7
+ 3,
8
+ 3,
9
+ 9,
10
+ 3
11
+ ],
12
+ "drop_path_rate": 0.0,
13
+ "hidden_act": "gelu",
14
+ "hidden_sizes": [
15
+ 96,
16
+ 192,
17
+ 384,
18
+ 768
19
+ ],
20
+ "id2label": {
21
+ "0": "Baby Care",
22
+ "1": "Beauty and Personal Care",
23
+ "2": "Computers",
24
+ "3": "Home Decor & Festive Needs",
25
+ "4": "Home Furnishing",
26
+ "5": "Kitchen & Dining",
27
+ "6": "Watches"
28
+ },
29
+ "image_size": 224,
30
+ "initializer_range": 0.02,
31
+ "label2id": {
32
+ "Baby Care": 0,
33
+ "Beauty and Personal Care": 1,
34
+ "Computers": 2,
35
+ "Home Decor & Festive Needs": 3,
36
+ "Home Furnishing": 4,
37
+ "Kitchen & Dining": 5,
38
+ "Watches": 6
39
+ },
40
+ "layer_norm_eps": 1e-12,
41
+ "layer_scale_init_value": 1e-06,
42
+ "model_type": "convnext",
43
+ "num_channels": 3,
44
+ "num_stages": 4,
45
+ "out_features": [
46
+ "stage4"
47
+ ],
48
+ "out_indices": [
49
+ 4
50
+ ],
51
+ "patch_size": 4,
52
+ "problem_type": "single_label_classification",
53
+ "stage_names": [
54
+ "stem",
55
+ "stage1",
56
+ "stage2",
57
+ "stage3",
58
+ "stage4"
59
+ ],
60
+ "torch_dtype": "float32",
61
+ "transformers_version": "4.38.2"
62
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ddb630fbd54e1114d320dab8cdf151304a038888212c33ea21ba0499a934c30
3
+ size 111323316
preprocessor_config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_pct": 0.875,
3
+ "do_normalize": true,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "image_mean": [
7
+ 0.485,
8
+ 0.456,
9
+ 0.406
10
+ ],
11
+ "image_processor_type": "ConvNextFeatureExtractor",
12
+ "image_std": [
13
+ 0.229,
14
+ 0.224,
15
+ 0.225
16
+ ],
17
+ "resample": 3,
18
+ "rescale_factor": 0.00392156862745098,
19
+ "size": {
20
+ "shortest_edge": 224
21
+ }
22
+ }
runs/Mar29_22-22-11_46bea10b934f/events.out.tfevents.1711750949.46bea10b934f.8755.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:999582d76f21d02c371d46129aa016ba7689b1a77fadf5505877f74872bc9c89
3
+ size 12282
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:621940e4ba7f2386faa34a312c8d84c72c7d92569933a8af440903919dd3833a
3
+ size 4856