Samaksh Khatri commited on
Commit
192fe03
·
verified ·
1 Parent(s): 950842f

Saving model gmra_distilbert/distilbert-base-uncased-finetuned-sst-2-english_07112024T125645

Browse files
README.md ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: distilbert/distilbert-base-uncased-finetuned-sst-2-english
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - f1
9
+ model-index:
10
+ - name: distilbert-base-uncased-finetuned-sst-2-english_07112024T125645
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # distilbert-base-uncased-finetuned-sst-2-english_07112024T125645
18
+
19
+ This model is a fine-tuned version of [distilbert/distilbert-base-uncased-finetuned-sst-2-english](https://huggingface.co/distilbert/distilbert-base-uncased-finetuned-sst-2-english) on the None dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.5776
22
+ - F1: 0.8426
23
+ - Learning Rate: 0.0
24
+
25
+ ## Model description
26
+
27
+ More information needed
28
+
29
+ ## Intended uses & limitations
30
+
31
+ More information needed
32
+
33
+ ## Training and evaluation data
34
+
35
+ More information needed
36
+
37
+ ## Training procedure
38
+
39
+ ### Training hyperparameters
40
+
41
+ The following hyperparameters were used during training:
42
+ - learning_rate: 2e-05
43
+ - train_batch_size: 8
44
+ - eval_batch_size: 8
45
+ - seed: 42
46
+ - gradient_accumulation_steps: 4
47
+ - total_train_batch_size: 32
48
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
49
+ - lr_scheduler_type: cosine
50
+ - lr_scheduler_warmup_steps: 10
51
+ - num_epochs: 20
52
+ - mixed_precision_training: Native AMP
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | F1 | Rate |
57
+ |:-------------:|:-----:|:----:|:---------------:|:------:|:------:|
58
+ | No log | 1.0 | 141 | 1.1776 | 0.5721 | 0.0000 |
59
+ | No log | 2.0 | 282 | 0.9785 | 0.6619 | 0.0000 |
60
+ | No log | 3.0 | 423 | 0.8326 | 0.7194 | 0.0000 |
61
+ | 1.1084 | 4.0 | 564 | 0.6920 | 0.7808 | 0.0000 |
62
+ | 1.1084 | 5.0 | 705 | 0.6907 | 0.7973 | 0.0000 |
63
+ | 1.1084 | 6.0 | 846 | 0.6107 | 0.8284 | 0.0000 |
64
+ | 1.1084 | 7.0 | 987 | 0.5776 | 0.8426 | 0.0000 |
65
+ | 0.4572 | 8.0 | 1128 | 0.6100 | 0.8523 | 0.0000 |
66
+ | 0.4572 | 9.0 | 1269 | 0.6279 | 0.8570 | 0.0000 |
67
+ | 0.4572 | 10.0 | 1410 | 0.6638 | 0.8587 | 0.0000 |
68
+ | 0.1637 | 11.0 | 1551 | 0.7340 | 0.8568 | 0.0000 |
69
+ | 0.1637 | 12.0 | 1692 | 0.7564 | 0.8596 | 7e-06 |
70
+ | 0.1637 | 13.0 | 1833 | 0.8077 | 0.8568 | 0.0000 |
71
+ | 0.1637 | 14.0 | 1974 | 0.7234 | 0.8667 | 0.0000 |
72
+ | 0.069 | 15.0 | 2115 | 0.7535 | 0.8664 | 3e-06 |
73
+ | 0.069 | 16.0 | 2256 | 0.7818 | 0.8659 | 0.0000 |
74
+ | 0.069 | 17.0 | 2397 | 0.8064 | 0.8646 | 0.0000 |
75
+ | 0.0376 | 18.0 | 2538 | 0.8203 | 0.8626 | 5e-07 |
76
+ | 0.0376 | 19.0 | 2679 | 0.8233 | 0.8629 | 1e-07 |
77
+ | 0.0376 | 20.0 | 2820 | 0.8235 | 0.8632 | 0.0 |
78
+
79
+
80
+ ### Framework versions
81
+
82
+ - Transformers 4.44.2
83
+ - Pytorch 2.5.1+cu124
84
+ - Datasets 3.1.0
85
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "distilbert/distilbert-base-uncased-finetuned-sst-2-english",
3
+ "activation": "gelu",
4
+ "architectures": [
5
+ "DistilBertForSequenceClassification"
6
+ ],
7
+ "attention_dropout": 0.1,
8
+ "dim": 768,
9
+ "dropout": 0.1,
10
+ "finetuning_task": "sst-2",
11
+ "hidden_dim": 3072,
12
+ "id2label": {
13
+ "0": "change_request",
14
+ "1": "discussion_participation",
15
+ "2": "discussion_trigger",
16
+ "3": "acknowledgement",
17
+ "4": "critical",
18
+ "5": "reference"
19
+ },
20
+ "initializer_range": 0.02,
21
+ "label2id": {
22
+ "acknowledgement": 3,
23
+ "change_request": 0,
24
+ "critical": 4,
25
+ "discussion_participation": 1,
26
+ "discussion_trigger": 2,
27
+ "reference": 5
28
+ },
29
+ "max_position_embeddings": 512,
30
+ "model_type": "distilbert",
31
+ "n_heads": 12,
32
+ "n_layers": 6,
33
+ "output_past": true,
34
+ "pad_token_id": 0,
35
+ "problem_type": "single_label_classification",
36
+ "qa_dropout": 0.1,
37
+ "seq_classif_dropout": 0.2,
38
+ "sinusoidal_pos_embds": false,
39
+ "tie_weights_": true,
40
+ "torch_dtype": "float32",
41
+ "transformers_version": "4.44.2",
42
+ "vocab_size": 30522
43
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b9de8c9c1395de9cdfdf2338d6460c3b648815572beb55b5d14efe8663b24f83
3
+ size 267844872
runs/Nov07_07-26-45_4e102b0d102a/events.out.tfevents.1730964414.4e102b0d102a.233.4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d17ec53ac0d7c7ad7aec582852de8e8b001aaa7787725a7a153b27b7511ac6f2
3
+ size 14411
runs/Nov07_07-26-45_4e102b0d102a/events.out.tfevents.1730967055.4e102b0d102a.233.5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:833e139c43c34649e56c11addb387f0c011f7f40e36824fa323bc0c29a70bd85
3
+ size 463
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,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_basic_tokenize": true,
47
+ "do_lower_case": true,
48
+ "mask_token": "[MASK]",
49
+ "model_max_length": 512,
50
+ "never_split": null,
51
+ "pad_token": "[PAD]",
52
+ "sep_token": "[SEP]",
53
+ "strip_accents": null,
54
+ "tokenize_chinese_chars": true,
55
+ "tokenizer_class": "DistilBertTokenizer",
56
+ "unk_token": "[UNK]"
57
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5caaf94573ac4b5d29a5ad1f4a88644d5d31ae4251969c6e7b4d7e4cbf4dd96f
3
+ size 5304
vocab.txt ADDED
The diff for this file is too large to render. See raw diff