Theoreticallyhugo commited on
Commit
107c002
·
verified ·
1 Parent(s): f8411d4

trainer: training complete at 2024-02-10 17:34:36.971515.

Browse files
README.md ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: distilbert-base-uncased
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - essay_dataset
8
+ metrics:
9
+ - accuracy
10
+ - precision
11
+ - recall
12
+ - f1
13
+ model-index:
14
+ - name: B001_cleaned
15
+ results:
16
+ - task:
17
+ name: Text Classification
18
+ type: text-classification
19
+ dataset:
20
+ name: essay_dataset
21
+ type: essay_dataset
22
+ config: cleaned
23
+ split: test
24
+ args: cleaned
25
+ metrics:
26
+ - name: Accuracy
27
+ type: accuracy
28
+ value:
29
+ accuracy: 0.10526315789473684
30
+ - name: Precision
31
+ type: precision
32
+ value:
33
+ precision: 0.013157894736842105
34
+ - name: Recall
35
+ type: recall
36
+ value:
37
+ recall: 0.125
38
+ - name: F1
39
+ type: f1
40
+ value:
41
+ f1: 0.02380952380952381
42
+ ---
43
+
44
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
45
+ should probably proofread and complete it, then remove this comment. -->
46
+
47
+ # B001_cleaned
48
+
49
+ This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the essay_dataset dataset.
50
+ It achieves the following results on the evaluation set:
51
+ - Loss: 2.2117
52
+ - Accuracy: {'accuracy': 0.10526315789473684}
53
+ - Precision: {'precision': 0.013157894736842105}
54
+ - Recall: {'recall': 0.125}
55
+ - F1: {'f1': 0.02380952380952381}
56
+
57
+ ## Model description
58
+
59
+ More information needed
60
+
61
+ ## Intended uses & limitations
62
+
63
+ More information needed
64
+
65
+ ## Training and evaluation data
66
+
67
+ More information needed
68
+
69
+ ## Training procedure
70
+
71
+ ### Training hyperparameters
72
+
73
+ The following hyperparameters were used during training:
74
+ - learning_rate: 2e-05
75
+ - train_batch_size: 16
76
+ - eval_batch_size: 16
77
+ - seed: 42
78
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
79
+ - lr_scheduler_type: linear
80
+ - num_epochs: 4
81
+
82
+ ### Training results
83
+
84
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
85
+ |:-------------:|:-----:|:----:|:---------------:|:---------------------------------:|:-----------------------------------:|:-----------------:|:---------------------------:|
86
+ | No log | 1.0 | 13 | 2.2061 | {'accuracy': 0.10526315789473684} | {'precision': 0.013157894736842105} | {'recall': 0.125} | {'f1': 0.02380952380952381} |
87
+ | No log | 2.0 | 26 | 2.2050 | {'accuracy': 0.10526315789473684} | {'precision': 0.013157894736842105} | {'recall': 0.125} | {'f1': 0.02380952380952381} |
88
+ | No log | 3.0 | 39 | 2.2045 | {'accuracy': 0.10526315789473684} | {'precision': 0.013157894736842105} | {'recall': 0.125} | {'f1': 0.02380952380952381} |
89
+ | No log | 4.0 | 52 | 2.2117 | {'accuracy': 0.10526315789473684} | {'precision': 0.013157894736842105} | {'recall': 0.125} | {'f1': 0.02380952380952381} |
90
+
91
+
92
+ ### Framework versions
93
+
94
+ - Transformers 4.37.1
95
+ - Pytorch 2.1.2+cu121
96
+ - Datasets 2.16.1
97
+ - Tokenizers 0.15.1
config.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "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
+ "1": "1.0",
13
+ "2": "1.5",
14
+ "3": "2.0",
15
+ "4": "2.5",
16
+ "5": "3.0",
17
+ "6": "3.5",
18
+ "7": "4.0",
19
+ "8": "4.5",
20
+ "9": "5.0"
21
+ },
22
+ "initializer_range": 0.02,
23
+ "label2id": {
24
+ "1.0": 1,
25
+ "1.5": 2,
26
+ "2.0": 3,
27
+ "2.5": 4,
28
+ "3.0": 5,
29
+ "3.5": 6,
30
+ "4.0": 7,
31
+ "4.5": 8,
32
+ "5.0": 9
33
+ },
34
+ "max_position_embeddings": 512,
35
+ "model_type": "distilbert",
36
+ "n_heads": 12,
37
+ "n_layers": 6,
38
+ "pad_token_id": 0,
39
+ "problem_type": "single_label_classification",
40
+ "qa_dropout": 0.1,
41
+ "seq_classif_dropout": 0.2,
42
+ "sinusoidal_pos_embds": false,
43
+ "tie_weights_": true,
44
+ "torch_dtype": "float32",
45
+ "transformers_version": "4.37.1",
46
+ "vocab_size": 30522
47
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:838828830c73a2906883982a4337e5fa7db6586f1d6145d09f1339dc801defeb
3
+ size 267854100
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:407414b3b4afc4e0ff2675dd8fbb2bd08941d4c4f102286ad4ed689a634d419d
3
+ size 4664
vocab.txt ADDED
The diff for this file is too large to render. See raw diff