Samaksh Khatri commited on
Commit
eb8d501
·
verified ·
1 Parent(s): 1e55622

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

Browse files
README.md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_07112024T113312
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_07112024T113312
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.8186
22
+ - F1: 0.7804
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: linear
50
+ - lr_scheduler_warmup_steps: 10
51
+ - num_epochs: 10
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.1959 | 0.5325 | 0.0000 |
59
+ | No log | 2.0 | 242 | 1.0212 | 0.6350 | 0.0000 |
60
+ | No log | 3.0 | 363 | 0.9424 | 0.6796 | 0.0000 |
61
+ | No log | 4.0 | 484 | 0.8570 | 0.7203 | 0.0000 |
62
+ | 1.0311 | 5.0 | 605 | 0.8567 | 0.7359 | 0.0000 |
63
+ | 1.0311 | 6.0 | 726 | 0.8271 | 0.7530 | 0.0000 |
64
+ | 1.0311 | 7.0 | 847 | 0.8387 | 0.7629 | 0.0000 |
65
+ | 1.0311 | 8.0 | 968 | 0.8491 | 0.7690 | 0.0000 |
66
+ | 0.4626 | 9.0 | 1089 | 0.7954 | 0.7809 | 2e-06 |
67
+ | 0.4626 | 10.0 | 1210 | 0.8186 | 0.7804 | 0.0 |
68
+
69
+
70
+ ### Framework versions
71
+
72
+ - Transformers 4.44.2
73
+ - Pytorch 2.5.1+cu124
74
+ - Datasets 3.1.0
75
+ - 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:3138ca394c54f1274713cbf0c58e0f72997fc576692471df66794844471e247d
3
+ size 267844872
runs/Nov07_06-03-12_4e102b0d102a/events.out.tfevents.1730959409.4e102b0d102a.233.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1b203ccce5693ce87a04682af6494dfea7c9790f7ee3840eb9d1061b123ec0ea
3
+ size 9931
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:2a4c90dabf98889d86fd573c54c6dee19272a3539016cdcfaecdff46ae9ba360
3
+ size 5304
vocab.txt ADDED
The diff for this file is too large to render. See raw diff