badrabbitt commited on
Commit
4065d32
1 Parent(s): 704af9c

Model save

Browse files
Files changed (2) hide show
  1. README.md +70 -0
  2. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: gpt2
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ model-index:
9
+ - name: text_classification_gpt2
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # text_classification_gpt2
17
+
18
+ This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.3501
21
+ - Accuracy: 0.9052
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 5e-05
41
+ - train_batch_size: 4
42
+ - eval_batch_size: 16
43
+ - seed: 42
44
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: cosine
46
+ - lr_scheduler_warmup_ratio: 0.01
47
+ - num_epochs: 1
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
52
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
53
+ | 0.0308 | 0.1 | 625 | 0.5502 | 0.8852 |
54
+ | 1.6669 | 0.2 | 1250 | 0.3501 | 0.9052 |
55
+ | 1.9326 | 0.3 | 1875 | 0.4868 | 0.9 |
56
+ | 1.2678 | 0.4 | 2500 | 0.3823 | 0.9028 |
57
+ | 0.0015 | 0.5 | 3125 | 0.4167 | 0.8964 |
58
+ | 2.5243 | 0.6 | 3750 | 0.3938 | 0.9152 |
59
+ | 0.531 | 0.7 | 4375 | 0.3512 | 0.9156 |
60
+ | 0.0027 | 0.8 | 5000 | 0.3806 | 0.9148 |
61
+ | 1.1369 | 0.9 | 5625 | 0.3543 | 0.9264 |
62
+ | 0.0667 | 1.0 | 6250 | 0.3502 | 0.9272 |
63
+
64
+
65
+ ### Framework versions
66
+
67
+ - Transformers 4.40.1
68
+ - Pytorch 2.2.1+cu121
69
+ - Datasets 2.19.0
70
+ - Tokenizers 0.19.1
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:dfd4cf97c653ce32ed2b8d925fdd15c841364440ae72b7ea37185a5ca4fcf2ab
3
  size 497780432
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a7150c0a3972d5c6ea124814cb84a8b9187986fffb6af3960ff300cfb4d7b539
3
  size 497780432