leonvanbokhorst commited on
Commit
b3feacd
·
verified ·
1 Parent(s): 15b41ef

Model save

Browse files
Files changed (1) hide show
  1. README.md +65 -12
README.md CHANGED
@@ -1,13 +1,66 @@
1
- ---
2
- language:
3
- - en
4
- license: apache-2.0
5
- library_name: peft
6
- datasets:
7
- - dair-ai/emotion
8
- metrics:
9
- - accuracy
10
- pipeline_tag: text-classification
11
- ---
12
- # Model Card for Model ID
 
 
13
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ library_name: peft
4
+ tags:
5
+ - generated_from_trainer
6
+ base_model: openai-community/gpt2
7
+ datasets:
8
+ - emotion
9
+ metrics:
10
+ - accuracy
11
+ model-index:
12
+ - name: emotion-gpt2-lora
13
+ results: []
14
+ ---
15
 
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # emotion-gpt2-lora
20
+
21
+ This model is a fine-tuned version of [openai-community/gpt2](https://huggingface.co/openai-community/gpt2) on the emotion dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.1494
24
+ - Accuracy: 0.939
25
+
26
+ ## Model description
27
+
28
+ More information needed
29
+
30
+ ## Intended uses & limitations
31
+
32
+ More information needed
33
+
34
+ ## Training and evaluation data
35
+
36
+ More information needed
37
+
38
+ ## Training procedure
39
+
40
+ ### Training hyperparameters
41
+
42
+ The following hyperparameters were used during training:
43
+ - learning_rate: 0.0005
44
+ - train_batch_size: 32
45
+ - eval_batch_size: 32
46
+ - seed: 42
47
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
48
+ - lr_scheduler_type: linear
49
+ - num_epochs: 3
50
+
51
+ ### Training results
52
+
53
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
54
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
55
+ | 0.7467 | 1.0 | 500 | 0.2384 | 0.914 |
56
+ | 0.2357 | 2.0 | 1000 | 0.1689 | 0.9365 |
57
+ | 0.1786 | 3.0 | 1500 | 0.1494 | 0.939 |
58
+
59
+
60
+ ### Framework versions
61
+
62
+ - PEFT 0.10.0
63
+ - Transformers 4.40.1
64
+ - Pytorch 2.3.0
65
+ - Datasets 2.19.0
66
+ - Tokenizers 0.19.1