rogerpolo commited on
Commit
5272ece
·
verified ·
1 Parent(s): 50990c6

Training complete

Browse files
README.md ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: distilbert/distilbert-base-uncased
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ - precision
10
+ - recall
11
+ - f1
12
+ model-index:
13
+ - name: results
14
+ results: []
15
+ ---
16
+
17
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
18
+ should probably proofread and complete it, then remove this comment. -->
19
+
20
+ # results
21
+
22
+ This model is a fine-tuned version of [distilbert/distilbert-base-uncased](https://huggingface.co/distilbert/distilbert-base-uncased) on an unknown dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.1795
25
+ - Accuracy: 0.9418
26
+ - Precision: 0.9421
27
+ - Recall: 0.9418
28
+ - F1: 0.9419
29
+
30
+ ## Model description
31
+
32
+ More information needed
33
+
34
+ ## Intended uses & limitations
35
+
36
+ More information needed
37
+
38
+ ## Training and evaluation data
39
+
40
+ More information needed
41
+
42
+ ## Training procedure
43
+
44
+ ### Training hyperparameters
45
+
46
+ The following hyperparameters were used during training:
47
+ - learning_rate: 2e-05
48
+ - train_batch_size: 8
49
+ - eval_batch_size: 8
50
+ - seed: 42
51
+ - gradient_accumulation_steps: 2
52
+ - total_train_batch_size: 16
53
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
54
+ - lr_scheduler_type: linear
55
+ - num_epochs: 3
56
+ - mixed_precision_training: Native AMP
57
+
58
+ ### Training results
59
+
60
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
61
+ |:-------------:|:------:|:-----:|:---------------:|:--------:|:---------:|:------:|:------:|
62
+ | 0.4176 | 0.0667 | 500 | 0.3007 | 0.9030 | 0.9031 | 0.9030 | 0.9027 |
63
+ | 0.265 | 0.1333 | 1000 | 0.2526 | 0.9161 | 0.9161 | 0.9161 | 0.9159 |
64
+ | 0.2408 | 0.2 | 1500 | 0.2476 | 0.9226 | 0.9245 | 0.9226 | 0.9224 |
65
+ | 0.231 | 0.2667 | 2000 | 0.2341 | 0.9297 | 0.9311 | 0.9297 | 0.9295 |
66
+ | 0.2335 | 0.3333 | 2500 | 0.2143 | 0.9297 | 0.9296 | 0.9297 | 0.9297 |
67
+ | 0.2417 | 0.4 | 3000 | 0.2000 | 0.9325 | 0.9338 | 0.9325 | 0.9327 |
68
+ | 0.208 | 0.4667 | 3500 | 0.2060 | 0.9314 | 0.9323 | 0.9314 | 0.9315 |
69
+ | 0.2133 | 0.5333 | 4000 | 0.2011 | 0.9346 | 0.9349 | 0.9346 | 0.9347 |
70
+ | 0.2042 | 0.6 | 4500 | 0.2035 | 0.9345 | 0.9366 | 0.9345 | 0.9346 |
71
+ | 0.1947 | 0.6667 | 5000 | 0.1945 | 0.9392 | 0.9392 | 0.9392 | 0.9392 |
72
+ | 0.1954 | 0.7333 | 5500 | 0.1993 | 0.9367 | 0.9388 | 0.9367 | 0.9368 |
73
+ | 0.1958 | 0.8 | 6000 | 0.2001 | 0.9411 | 0.9414 | 0.9411 | 0.9412 |
74
+ | 0.2002 | 0.8667 | 6500 | 0.1906 | 0.9397 | 0.9403 | 0.9397 | 0.9399 |
75
+ | 0.1885 | 0.9333 | 7000 | 0.1898 | 0.9420 | 0.9422 | 0.9420 | 0.9420 |
76
+ | 0.1979 | 1.0 | 7500 | 0.1795 | 0.9418 | 0.9421 | 0.9418 | 0.9419 |
77
+ | 0.1492 | 1.0667 | 8000 | 0.1933 | 0.9459 | 0.9460 | 0.9459 | 0.9459 |
78
+ | 0.148 | 1.1333 | 8500 | 0.1978 | 0.9426 | 0.9437 | 0.9426 | 0.9427 |
79
+ | 0.137 | 1.2 | 9000 | 0.1941 | 0.9466 | 0.9469 | 0.9466 | 0.9467 |
80
+ | 0.1433 | 1.2667 | 9500 | 0.1988 | 0.9453 | 0.9457 | 0.9453 | 0.9453 |
81
+ | 0.1403 | 1.3333 | 10000 | 0.1926 | 0.9441 | 0.9448 | 0.9441 | 0.9441 |
82
+
83
+
84
+ ### Framework versions
85
+
86
+ - Transformers 4.51.3
87
+ - Pytorch 2.6.0+cu124
88
+ - Datasets 3.5.0
89
+ - Tokenizers 0.21.1
config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation": "gelu",
3
+ "architectures": [
4
+ "DistilBertForSequenceClassification"
5
+ ],
6
+ "attention_dropout": 0.1,
7
+ "dim": 768,
8
+ "dropout": 0.1,
9
+ "hidden_dim": 3072,
10
+ "id2label": {
11
+ "0": "World",
12
+ "1": "Sports",
13
+ "2": "Business",
14
+ "3": "Sci/Tech"
15
+ },
16
+ "initializer_range": 0.02,
17
+ "label2id": {
18
+ "Business": 2,
19
+ "Sci/Tech": 3,
20
+ "Sports": 1,
21
+ "World": 0
22
+ },
23
+ "max_position_embeddings": 512,
24
+ "model_type": "distilbert",
25
+ "n_heads": 12,
26
+ "n_layers": 6,
27
+ "pad_token_id": 0,
28
+ "problem_type": "single_label_classification",
29
+ "qa_dropout": 0.1,
30
+ "seq_classif_dropout": 0.2,
31
+ "sinusoidal_pos_embds": false,
32
+ "tie_weights_": true,
33
+ "torch_dtype": "float32",
34
+ "transformers_version": "4.51.3",
35
+ "vocab_size": 30522
36
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae4472230eac49417440cdc0381066e1936439bbd9337cd5a364423281db3ccd
3
+ size 267838720
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,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": false,
45
+ "cls_token": "[CLS]",
46
+ "do_lower_case": true,
47
+ "extra_special_tokens": {},
48
+ "mask_token": "[MASK]",
49
+ "model_max_length": 512,
50
+ "pad_token": "[PAD]",
51
+ "sep_token": "[SEP]",
52
+ "strip_accents": null,
53
+ "tokenize_chinese_chars": true,
54
+ "tokenizer_class": "DistilBertTokenizer",
55
+ "unk_token": "[UNK]"
56
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:90ee064dc29029295a42e7a04c7e9f1204438e7419d4d36e1f27faeacbf465a3
3
+ size 5240
vocab.txt ADDED
The diff for this file is too large to render. See raw diff