Model save
Browse files
README.md
CHANGED
@@ -1,17 +1,17 @@
|
|
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. -->
|
@@ -20,8 +20,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
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.
|
24 |
-
- Accuracy: 0.
|
25 |
|
26 |
## Model description
|
27 |
|
@@ -41,8 +41,8 @@ More information needed
|
|
41 |
|
42 |
The following hyperparameters were used during training:
|
43 |
- learning_rate: 0.0005
|
44 |
-
- train_batch_size:
|
45 |
-
- eval_batch_size:
|
46 |
- seed: 42
|
47 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
48 |
- lr_scheduler_type: linear
|
@@ -52,16 +52,16 @@ The following hyperparameters were used during training:
|
|
52 |
|
53 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
54 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
55 |
-
|
|
56 |
-
| 0.
|
57 |
-
| 0.
|
58 |
-
| 0.
|
59 |
|
60 |
|
61 |
### Framework versions
|
62 |
|
63 |
- PEFT 0.10.0
|
64 |
-
- Transformers 4.40.
|
65 |
- Pytorch 2.3.0
|
66 |
-
- Datasets 2.19.
|
67 |
- Tokenizers 0.19.1
|
|
|
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. -->
|
|
|
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.1374
|
24 |
+
- Accuracy: 0.9395
|
25 |
|
26 |
## Model description
|
27 |
|
|
|
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
|
|
|
52 |
|
53 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
54 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
55 |
+
| 0.9231 | 1.0 | 500 | 0.2423 | 0.9145 |
|
56 |
+
| 0.2458 | 2.0 | 1000 | 0.1677 | 0.9335 |
|
57 |
+
| 0.1833 | 3.0 | 1500 | 0.1530 | 0.938 |
|
58 |
+
| 0.1537 | 4.0 | 2000 | 0.1374 | 0.9395 |
|
59 |
|
60 |
|
61 |
### Framework versions
|
62 |
|
63 |
- PEFT 0.10.0
|
64 |
+
- Transformers 4.40.1
|
65 |
- Pytorch 2.3.0
|
66 |
+
- Datasets 2.19.0
|
67 |
- Tokenizers 0.19.1
|