fabras commited on
Commit
c30d701
·
verified ·
1 Parent(s): 5e05976

Model save

Browse files
Files changed (2) hide show
  1. README.md +73 -0
  2. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: gpt2
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ model-index:
10
+ - name: sentimental-gpt
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # sentimental-gpt
18
+
19
+ This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on an unknown dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.5305
22
+ - Accuracy: 0.7985
23
+
24
+ ## Model description
25
+
26
+ More information needed
27
+
28
+ ## Intended uses & limitations
29
+
30
+ More information needed
31
+
32
+ ## Training and evaluation data
33
+
34
+ More information needed
35
+
36
+ ## Training procedure
37
+
38
+ ### Training hyperparameters
39
+
40
+ The following hyperparameters were used during training:
41
+ - learning_rate: 2e-05
42
+ - train_batch_size: 8
43
+ - eval_batch_size: 8
44
+ - seed: 42
45
+ - gradient_accumulation_steps: 2
46
+ - total_train_batch_size: 16
47
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
48
+ - lr_scheduler_type: linear
49
+ - lr_scheduler_warmup_steps: 500
50
+ - num_epochs: 3
51
+
52
+ ### Training results
53
+
54
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
55
+ |:-------------:|:------:|:----:|:---------------:|:--------:|
56
+ | 0.7515 | 0.2910 | 500 | 0.6684 | 0.7187 |
57
+ | 0.6015 | 0.5821 | 1000 | 0.5922 | 0.7609 |
58
+ | 0.5758 | 0.8731 | 1500 | 0.5355 | 0.7804 |
59
+ | 0.5301 | 1.1641 | 2000 | 0.5441 | 0.7801 |
60
+ | 0.4545 | 1.4552 | 2500 | 0.5318 | 0.7917 |
61
+ | 0.5103 | 1.7462 | 3000 | 0.5479 | 0.7796 |
62
+ | 0.4495 | 2.0373 | 3500 | 0.5212 | 0.7906 |
63
+ | 0.4506 | 2.3283 | 4000 | 0.5282 | 0.7963 |
64
+ | 0.4271 | 2.6193 | 4500 | 0.5305 | 0.7985 |
65
+ | 0.44 | 2.9104 | 5000 | 0.5335 | 0.7971 |
66
+
67
+
68
+ ### Framework versions
69
+
70
+ - Transformers 4.49.0
71
+ - Pytorch 2.0.0+cu118
72
+ - Datasets 3.3.1
73
+ - Tokenizers 0.21.0
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:57923de3fca2464fa91f72ee8798756ad703cd027b9a264b2cf7d0e44224feda
3
  size 497783504
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc5eb89eff36ee59b561463d8d797fdefd7fedc546d54a4faa6b7e02884a3c3a
3
  size 497783504