osanseviero HF staff commited on
Commit
88c6af7
1 Parent(s): 8d1f533

End of training

Browse files
Files changed (2) hide show
  1. README.md +81 -0
  2. pytorch_model.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
+ - ag_news
8
+ metrics:
9
+ - accuracy
10
+ - f1
11
+ model-index:
12
+ - name: trainer-chapter3
13
+ results:
14
+ - task:
15
+ name: Text Classification
16
+ type: text-classification
17
+ dataset:
18
+ name: ag_news
19
+ type: ag_news
20
+ config: default
21
+ split: test
22
+ args: default
23
+ metrics:
24
+ - name: Accuracy
25
+ type: accuracy
26
+ value: 0.9172368421052631
27
+ - name: F1
28
+ type: f1
29
+ value: 0.9171163748053829
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
+ # trainer-chapter3
36
+
37
+ This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the ag_news dataset.
38
+ It achieves the following results on the evaluation set:
39
+ - Loss: 0.2418
40
+ - Accuracy: 0.9172
41
+ - F1: 0.9171
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: 5e-05
61
+ - train_batch_size: 32
62
+ - eval_batch_size: 32
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
+ | No log | 1.0 | 313 | 0.2526 | 0.9149 | 0.9151 |
73
+ | 0.2985 | 2.0 | 626 | 0.2418 | 0.9172 | 0.9171 |
74
+
75
+
76
+ ### Framework versions
77
+
78
+ - Transformers 4.34.0.dev0
79
+ - Pytorch 2.0.1+cu118
80
+ - Datasets 2.14.4
81
+ - Tokenizers 0.14.0
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ebe3b6e909f565a8fd3dad29afae1bd064c0d870dbb9f110f441db45868a87bf
3
  size 267861677
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:524225644437231c1331b33fa080b4b311270242bb37ba398954211feaa645dd
3
  size 267861677