Samaksh Khatri commited on
Commit
10fca1f
1 Parent(s): 1ee4911

Saving model gmra_distilbert/distilbert-base-uncased-distilled-squad_07112024T120722

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-distilled-squad
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - f1
9
+ model-index:
10
+ - name: distilbert-base-uncased-distilled-squad_07112024T120722
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-distilled-squad_07112024T120722
18
+
19
+ This model is a fine-tuned version of [distilbert/distilbert-base-uncased-distilled-squad](https://huggingface.co/distilbert/distilbert-base-uncased-distilled-squad) on the None dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.7930
22
+ - F1: 0.7643
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 | 121 | 1.1749 | 0.5577 | 0.0000 |
59
+ | No log | 2.0 | 242 | 0.9801 | 0.6593 | 0.0000 |
60
+ | No log | 3.0 | 363 | 0.9184 | 0.6951 | 0.0000 |
61
+ | No log | 4.0 | 484 | 0.8064 | 0.7480 | 0.0000 |
62
+ | 0.9941 | 5.0 | 605 | 0.7930 | 0.7643 | 0.0000 |
63
+ | 0.9941 | 6.0 | 726 | 0.8313 | 0.7793 | 0.0000 |
64
+ | 0.9941 | 7.0 | 847 | 0.8955 | 0.7814 | 0.0000 |
65
+ | 0.9941 | 8.0 | 968 | 0.9010 | 0.7963 | 0.0000 |
66
+ | 0.3299 | 9.0 | 1089 | 0.9855 | 0.7945 | 0.0000 |
67
+ | 0.3299 | 10.0 | 1210 | 0.9753 | 0.8036 | 0.0000 |
68
+ | 0.3299 | 11.0 | 1331 | 1.0115 | 0.8095 | 0.0000 |
69
+ | 0.3299 | 12.0 | 1452 | 1.0508 | 0.8052 | 7e-06 |
70
+ | 0.0991 | 13.0 | 1573 | 1.1102 | 0.8125 | 0.0000 |
71
+ | 0.0991 | 14.0 | 1694 | 1.1321 | 0.8146 | 0.0000 |
72
+ | 0.0991 | 15.0 | 1815 | 1.2166 | 0.8085 | 3e-06 |
73
+ | 0.0991 | 16.0 | 1936 | 1.1935 | 0.8109 | 0.0000 |
74
+ | 0.0349 | 17.0 | 2057 | 1.2277 | 0.8074 | 0.0000 |
75
+ | 0.0349 | 18.0 | 2178 | 1.2145 | 0.8091 | 5e-07 |
76
+ | 0.0349 | 19.0 | 2299 | 1.2306 | 0.8082 | 1e-07 |
77
+ | 0.0349 | 20.0 | 2420 | 1.2334 | 0.8080 | 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,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "distilbert/distilbert-base-uncased-distilled-squad",
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": "change_request",
13
+ "1": "discussion_participation",
14
+ "2": "discussion_trigger",
15
+ "3": "acknowledgement",
16
+ "4": "critical",
17
+ "5": "reference"
18
+ },
19
+ "initializer_range": 0.02,
20
+ "label2id": {
21
+ "acknowledgement": 3,
22
+ "change_request": 0,
23
+ "critical": 4,
24
+ "discussion_participation": 1,
25
+ "discussion_trigger": 2,
26
+ "reference": 5
27
+ },
28
+ "max_position_embeddings": 512,
29
+ "model_type": "distilbert",
30
+ "n_heads": 12,
31
+ "n_layers": 6,
32
+ "pad_token_id": 0,
33
+ "problem_type": "single_label_classification",
34
+ "qa_dropout": 0.1,
35
+ "seq_classif_dropout": 0.2,
36
+ "sinusoidal_pos_embds": false,
37
+ "tie_weights_": true,
38
+ "torch_dtype": "float32",
39
+ "transformers_version": "4.44.2",
40
+ "vocab_size": 30522
41
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f26579a5b9a7db7b42113bd71130312eefe070088142e0814d7b5ceea3b3a4c3
3
+ size 267844872
runs/Nov07_06-37-22_4e102b0d102a/events.out.tfevents.1730961450.4e102b0d102a.233.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:434f322a48c13e2549b81074dbfa366ddad20b982dc6a668a1afcc941f8afeb6
3
+ size 14103
runs/Nov07_06-37-22_4e102b0d102a/events.out.tfevents.1730963874.4e102b0d102a.233.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a35736211c7ab19fd21fbfcf9b1c56663b695cd6a447595af8fc4b8e61439126
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,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:232aff71aec3ab311a0d2c92abfc89b5391f9baf0c15a133fee0b3f2d457183b
3
+ size 5304
vocab.txt ADDED
The diff for this file is too large to render. See raw diff