fashxp commited on
Commit
536a206
1 Parent(s): 9371add

End of training

Browse files
README.md ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: distilbert/distilbert-base-uncased
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ model-index:
9
+ - name: car-class-classification
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
+ # car-class-classification
17
+
18
+ This model is a fine-tuned version of [distilbert/distilbert-base-uncased](https://huggingface.co/distilbert/distilbert-base-uncased) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 1.0821
21
+ - Accuracy: 0.6957
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: 5e-05
41
+ - train_batch_size: 16
42
+ - eval_batch_size: 16
43
+ - seed: 42
44
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: linear
46
+ - num_epochs: 10
47
+
48
+ ### Training results
49
+
50
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
51
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
52
+ | No log | 1.0 | 6 | 2.0896 | 0.4348 |
53
+ | No log | 2.0 | 12 | 1.8890 | 0.4348 |
54
+ | No log | 3.0 | 18 | 1.7669 | 0.5652 |
55
+ | No log | 4.0 | 24 | 1.5707 | 0.6957 |
56
+ | No log | 5.0 | 30 | 1.4176 | 0.6522 |
57
+ | No log | 6.0 | 36 | 1.2799 | 0.6522 |
58
+ | No log | 7.0 | 42 | 1.1758 | 0.6522 |
59
+ | No log | 8.0 | 48 | 1.1255 | 0.6522 |
60
+ | No log | 9.0 | 54 | 1.0973 | 0.6957 |
61
+ | No log | 10.0 | 60 | 1.0821 | 0.6957 |
62
+
63
+
64
+ ### Framework versions
65
+
66
+ - Transformers 4.42.4
67
+ - Pytorch 2.3.1+cu121
68
+ - Datasets 2.20.0
69
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "distilbert/distilbert-base-uncased",
3
+ "activation": "gelu",
4
+ "architectures": [
5
+ "DistilBertForSequenceClassification"
6
+ ],
7
+ "attention_dropout": 0.1,
8
+ "dim": 768,
9
+ "dropout": 0.1,
10
+ "hidden_dim": 3072,
11
+ "id2label": {
12
+ "0": "sports car",
13
+ "1": "Mid-size luxury",
14
+ "2": "Family car",
15
+ "3": "Full-Size",
16
+ "4": "Personal luxury car",
17
+ "5": "Economy car",
18
+ "6": "Executive car",
19
+ "7": "City Car",
20
+ "8": "Muscle Car",
21
+ "9": "Light commercial vehicle",
22
+ "10": "Grand tourer",
23
+ "11": "Full-size luxury car"
24
+ },
25
+ "initializer_range": 0.02,
26
+ "label2id": {
27
+ "City Car": 7,
28
+ "Economy car": 5,
29
+ "Executive car": 6,
30
+ "Family car": 2,
31
+ "Full-Size": 3,
32
+ "Full-size luxury car": 11,
33
+ "Grand tourer": 10,
34
+ "Light commercial vehicle": 9,
35
+ "Mid-size luxury": 1,
36
+ "Muscle Car": 8,
37
+ "Personal luxury car": 4,
38
+ "sports car": 0
39
+ },
40
+ "max_position_embeddings": 512,
41
+ "model_type": "distilbert",
42
+ "n_heads": 12,
43
+ "n_layers": 6,
44
+ "pad_token_id": 0,
45
+ "problem_type": "single_label_classification",
46
+ "qa_dropout": 0.1,
47
+ "seq_classif_dropout": 0.2,
48
+ "sinusoidal_pos_embds": false,
49
+ "tie_weights_": true,
50
+ "torch_dtype": "float32",
51
+ "transformers_version": "4.42.4",
52
+ "vocab_size": 30522
53
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f53105a6745059a71c42c78d34aebba2a934c620e96dc8121b04bddc60d40ac2
3
+ size 267863328
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_lower_case": true,
47
+ "mask_token": "[MASK]",
48
+ "model_max_length": 512,
49
+ "pad_token": "[PAD]",
50
+ "sep_token": "[SEP]",
51
+ "strip_accents": null,
52
+ "tokenize_chinese_chars": true,
53
+ "tokenizer_class": "DistilBertTokenizer",
54
+ "unk_token": "[UNK]"
55
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4c8fb8ef639763060258ca545c2ec22f22b86850c0b6b94bab93f5d9aa6cdde4
3
+ size 5240
vocab.txt ADDED
The diff for this file is too large to render. See raw diff