Gabeitch commited on
Commit
5fe0504
1 Parent(s): ed50bf9

my-great-gpt2-review-model

Browse files
Files changed (3) hide show
  1. README.md +59 -0
  2. config.json +2 -0
  3. generation_config.json +8 -0
README.md ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: distilgpt2
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: my-great-gpt2-review-model
8
+ results: []
9
+ ---
10
+
11
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
12
+ should probably proofread and complete it, then remove this comment. -->
13
+
14
+ # my-great-gpt2-review-model
15
+
16
+ This model is a fine-tuned version of [distilgpt2](https://huggingface.co/distilgpt2) on the None dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 2.2447
19
+
20
+ ## Model description
21
+
22
+ More information needed
23
+
24
+ ## Intended uses & limitations
25
+
26
+ More information needed
27
+
28
+ ## Training and evaluation data
29
+
30
+ More information needed
31
+
32
+ ## Training procedure
33
+
34
+ ### Training hyperparameters
35
+
36
+ The following hyperparameters were used during training:
37
+ - learning_rate: 0.002821
38
+ - train_batch_size: 8
39
+ - eval_batch_size: 8
40
+ - seed: 42
41
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
42
+ - lr_scheduler_type: linear
43
+ - num_epochs: 3
44
+
45
+ ### Training results
46
+
47
+ | Training Loss | Epoch | Step | Validation Loss |
48
+ |:-------------:|:-----:|:----:|:---------------:|
49
+ | No log | 1.0 | 379 | 3.6046 |
50
+ | 4.3255 | 2.0 | 758 | 2.8493 |
51
+ | 3.0767 | 3.0 | 1137 | 2.2447 |
52
+
53
+
54
+ ### Framework versions
55
+
56
+ - Transformers 4.43.3
57
+ - Pytorch 2.3.1+cu121
58
+ - Datasets 2.20.0
59
+ - Tokenizers 0.19.1
config.json CHANGED
@@ -7,6 +7,7 @@
7
  ],
8
  "attn_pdrop": 0.1,
9
  "bos_token_id": 50256,
 
10
  "embd_pdrop": 0.1,
11
  "eos_token_id": 50256,
12
  "id2label": {
@@ -17,6 +18,7 @@
17
  "LABEL_0": 0
18
  },
19
  "layer_norm_epsilon": 1e-05,
 
20
  "model_type": "gpt2",
21
  "n_ctx": 1024,
22
  "n_embd": 768,
 
7
  ],
8
  "attn_pdrop": 0.1,
9
  "bos_token_id": 50256,
10
+ "do_sample": true,
11
  "embd_pdrop": 0.1,
12
  "eos_token_id": 50256,
13
  "id2label": {
 
18
  "LABEL_0": 0
19
  },
20
  "layer_norm_epsilon": 1e-05,
21
+ "max_length": 50,
22
  "model_type": "gpt2",
23
  "n_ctx": 1024,
24
  "n_embd": 768,
generation_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 50256,
4
+ "do_sample": true,
5
+ "eos_token_id": 50256,
6
+ "max_length": 50,
7
+ "transformers_version": "4.43.3"
8
+ }