jiangcongtao commited on
Commit
24aab9a
1 Parent(s): b087077

End of training

Browse files
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
  license: mit
3
- base_model: gpt2
4
  tags:
5
  - generated_from_trainer
6
  model-index:
@@ -13,9 +13,9 @@ should probably proofread and complete it, then remove this comment. -->
13
 
14
  # reuters-gpt2-text-gen
15
 
16
- This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on an unknown dataset.
17
  It achieves the following results on the evaluation set:
18
- - Loss: 5.0324
19
 
20
  ## Model description
21
 
@@ -38,6 +38,8 @@ The following hyperparameters were used during training:
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: cosine
43
  - num_epochs: 1
@@ -45,9 +47,9 @@ The following hyperparameters were used during training:
45
 
46
  ### Training results
47
 
48
- | Training Loss | Epoch | Step | Validation Loss |
49
- |:-------------:|:-----:|:----:|:---------------:|
50
- | 5.1073 | 1.0 | 2158 | 5.0324 |
51
 
52
 
53
  ### Framework versions
 
1
  ---
2
  license: mit
3
+ base_model: jiangcongtao/reuters-gpt2-text-gen
4
  tags:
5
  - generated_from_trainer
6
  model-index:
 
13
 
14
  # reuters-gpt2-text-gen
15
 
16
+ This model is a fine-tuned version of [jiangcongtao/reuters-gpt2-text-gen](https://huggingface.co/jiangcongtao/reuters-gpt2-text-gen) on an unknown dataset.
17
  It achieves the following results on the evaluation set:
18
+ - Loss: 4.9055
19
 
20
  ## Model description
21
 
 
38
  - train_batch_size: 8
39
  - eval_batch_size: 8
40
  - seed: 42
41
+ - gradient_accumulation_steps: 8
42
+ - total_train_batch_size: 64
43
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
44
  - lr_scheduler_type: cosine
45
  - num_epochs: 1
 
47
 
48
  ### Training results
49
 
50
+ | Training Loss | Epoch | Step | Validation Loss |
51
+ |:-------------:|:------:|:----:|:---------------:|
52
+ | 4.7182 | 0.9972 | 269 | 4.9055 |
53
 
54
 
55
  ### Framework versions
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "gpt2",
3
  "activation_function": "gelu_new",
4
  "architectures": [
5
  "GPT2LMHeadModel"
 
1
  {
2
+ "_name_or_path": "jiangcongtao/reuters-gpt2-text-gen",
3
  "activation_function": "gelu_new",
4
  "architectures": [
5
  "GPT2LMHeadModel"
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7c324cefc40980ebb3b25cb397c24bee30dc046a58f29c2f4c1ac238fcc10259
3
  size 503128704
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1705ae99eed993d7a5423e275a038bda1b417b8382315b1bae46b3652e09dc9b
3
  size 503128704
runs/Jul14_06-39-23_fc3d4e7bfbef/events.out.tfevents.1720939171.fc3d4e7bfbef.445.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8d25aa8ba6dc8ff6c26af817642c7053eddfbc8dd8dbd29046167b55ca7f2178
3
+ size 11204
special_tokens_map.json CHANGED
@@ -13,7 +13,13 @@
13
  "rstrip": false,
14
  "single_word": false
15
  },
16
- "pad_token": "<|endoftext|>",
 
 
 
 
 
 
17
  "unk_token": {
18
  "content": "<|endoftext|>",
19
  "lstrip": false,
 
13
  "rstrip": false,
14
  "single_word": false
15
  },
16
+ "pad_token": {
17
+ "content": "<|endoftext|>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
  "unk_token": {
24
  "content": "<|endoftext|>",
25
  "lstrip": false,
tokenizer_config.json CHANGED
@@ -13,8 +13,12 @@
13
  "bos_token": "<|endoftext|>",
14
  "clean_up_tokenization_spaces": true,
15
  "eos_token": "<|endoftext|>",
 
16
  "model_max_length": 1024,
17
  "pad_token": "<|endoftext|>",
 
18
  "tokenizer_class": "GPT2Tokenizer",
 
 
19
  "unk_token": "<|endoftext|>"
20
  }
 
13
  "bos_token": "<|endoftext|>",
14
  "clean_up_tokenization_spaces": true,
15
  "eos_token": "<|endoftext|>",
16
+ "max_length": 512,
17
  "model_max_length": 1024,
18
  "pad_token": "<|endoftext|>",
19
+ "stride": 0,
20
  "tokenizer_class": "GPT2Tokenizer",
21
+ "truncation_side": "right",
22
+ "truncation_strategy": "longest_first",
23
  "unk_token": "<|endoftext|>"
24
  }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:64933dcfb8ab9c2dc3420ba057115ef2762f2a8f980d1711fbcee1393381598c
3
  size 5176
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb08e6f364041f117590d2213d7198eec36af1d91284d1b6e7589186995d289e
3
  size 5176