badrabbitt commited on
Commit
41d01d2
1 Parent(s): fae65b3

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_1
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_1
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.4571
21
+ - Accuracy: 0.792
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.9088 | 0.1 | 625 | 0.6229 | 0.662 |
54
+ | 1.0188 | 0.2 | 1250 | 0.5429 | 0.7092 |
55
+ | 0.9781 | 0.3 | 1875 | 0.5086 | 0.7556 |
56
+ | 0.6919 | 0.4 | 2500 | 0.4571 | 0.792 |
57
+ | 0.002 | 0.5 | 3125 | 0.5278 | 0.7892 |
58
+ | 1.6834 | 0.6 | 3750 | 0.5348 | 0.8104 |
59
+ | 0.0436 | 0.7 | 4375 | 0.4732 | 0.826 |
60
+ | 0.0332 | 0.8 | 5000 | 0.4995 | 0.8252 |
61
+ | 0.9907 | 0.9 | 5625 | 0.4764 | 0.8344 |
62
+ | 0.9651 | 1.0 | 6250 | 0.4809 | 0.8364 |
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:25e965d80b4d7220ee9d027f380c8437ee1f36dd0af66a58a678b377a154b561
3
  size 497780432
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bf582c0350ce1ba752a7747d7da9864a00db4c10953f76e827c81199cd27ca84
3
  size 497780432