MuhannadAlBadarneh commited on
Commit
2fe4201
1 Parent(s): 750fabd

Training in progress, step 500

Browse files
Files changed (4) hide show
  1. README.md +81 -0
  2. pytorch_model.bin +1 -1
  3. tokenizer.json +2 -14
  4. training_args.bin +1 -1
README.md ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: distilbert-base-uncased
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - emotion
8
+ metrics:
9
+ - accuracy
10
+ - f1
11
+ model-index:
12
+ - name: distilbert-base-uncased-finetuned-emotion
13
+ results:
14
+ - task:
15
+ name: Text Classification
16
+ type: text-classification
17
+ dataset:
18
+ name: emotion
19
+ type: emotion
20
+ config: split
21
+ split: validation
22
+ args: split
23
+ metrics:
24
+ - name: Accuracy
25
+ type: accuracy
26
+ value: 0.92
27
+ - name: F1
28
+ type: f1
29
+ value: 0.9197090558909191
30
+ ---
31
+
32
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
33
+ should probably proofread and complete it, then remove this comment. -->
34
+
35
+ # distilbert-base-uncased-finetuned-emotion
36
+
37
+ This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the emotion dataset.
38
+ It achieves the following results on the evaluation set:
39
+ - Loss: 0.2254
40
+ - Accuracy: 0.92
41
+ - F1: 0.9197
42
+
43
+ ## Model description
44
+
45
+ More information needed
46
+
47
+ ## Intended uses & limitations
48
+
49
+ More information needed
50
+
51
+ ## Training and evaluation data
52
+
53
+ More information needed
54
+
55
+ ## Training procedure
56
+
57
+ ### Training hyperparameters
58
+
59
+ The following hyperparameters were used during training:
60
+ - learning_rate: 2e-05
61
+ - train_batch_size: 64
62
+ - eval_batch_size: 64
63
+ - seed: 42
64
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
65
+ - lr_scheduler_type: linear
66
+ - num_epochs: 2
67
+
68
+ ### Training results
69
+
70
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
71
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
72
+ | 0.8324 | 1.0 | 250 | 0.3445 | 0.901 | 0.8997 |
73
+ | 0.2647 | 2.0 | 500 | 0.2254 | 0.92 | 0.9197 |
74
+
75
+
76
+ ### Framework versions
77
+
78
+ - Transformers 4.32.1
79
+ - Pytorch 2.0.1+cu117
80
+ - Datasets 2.18.0
81
+ - Tokenizers 0.13.3
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:274ae1d19005a08ed7eecbf0ee08db608b3c1dd017460218ec99c1cedacbef78
3
  size 267867821
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c42f9f3a438b20a9107e392115521369cfd7e1738cedb62a3239db750634c896
3
  size 267867821
tokenizer.json CHANGED
@@ -1,19 +1,7 @@
1
  {
2
  "version": "1.0",
3
- "truncation": {
4
- "direction": "Right",
5
- "max_length": 512,
6
- "strategy": "LongestFirst",
7
- "stride": 0
8
- },
9
- "padding": {
10
- "strategy": "BatchLongest",
11
- "direction": "Right",
12
- "pad_to_multiple_of": null,
13
- "pad_id": 0,
14
- "pad_type_id": 0,
15
- "pad_token": "[PAD]"
16
- },
17
  "added_tokens": [
18
  {
19
  "id": 0,
 
1
  {
2
  "version": "1.0",
3
+ "truncation": null,
4
+ "padding": null,
 
 
 
 
 
 
 
 
 
 
 
 
5
  "added_tokens": [
6
  {
7
  "id": 0,
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:acb2df150c793340809eea72d101263e9f743b064354ea2ee07ea03c7a88e6a0
3
  size 4091
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8437e545af1c4573a5ae75f5be5694f1b8905f7b5223b48414c6d19e1df3a1f2
3
  size 4091