percymamedy commited on
Commit
d0d2d79
1 Parent(s): 3fe873f

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: 4.9851
19
 
20
  ## Model description
21
 
@@ -42,15 +42,14 @@ The following hyperparameters were used during training:
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: 2
46
  - mixed_precision_training: Native AMP
47
 
48
  ### Training results
49
 
50
  | Training Loss | Epoch | Step | Validation Loss |
51
  |:-------------:|:------:|:----:|:---------------:|
52
- | 5.1471 | 0.9972 | 269 | 5.2732 |
53
- | 4.7545 | 1.9944 | 538 | 4.9851 |
54
 
55
 
56
  ### Framework versions
 
1
  ---
2
  license: mit
3
+ base_model: percymamedy/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 [percymamedy/reuters-gpt2-text-gen](https://huggingface.co/percymamedy/reuters-gpt2-text-gen) on an unknown dataset.
17
  It achieves the following results on the evaluation set:
18
+ - Loss: 4.7849
19
 
20
  ## Model description
21
 
 
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
46
  - mixed_precision_training: Native AMP
47
 
48
  ### Training results
49
 
50
  | Training Loss | Epoch | Step | Validation Loss |
51
  |:-------------:|:------:|:----:|:---------------:|
52
+ | 4.5575 | 0.9972 | 269 | 4.7849 |
 
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": "percymamedy/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:978655c2ff5f17beffcba95746bc5063ed6d2c2dce62fca4779613ace11b7f7d
3
  size 503128704
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:12e67108630bbd18be421b18837a0e14af3ee031eb00afe0939fef46cbc36aa4
3
  size 503128704
runs/Jun25_06-25-46_65dc034aa3e6/events.out.tfevents.1719296757.65dc034aa3e6.390.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:23b84b1a0c95446ab4fba60632b602c5b2de3543453ff713b14b1efe0fb31f76
3
+ size 11202
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:c5655016fd1d310be906e0e039b11530d6b1947b9dcf8d4a9d6ca4ffc94a4ee2
3
  size 5176
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:99f904a03b640c6ea0243277e7164f908b9d5f90f6daf6b94b8ac8915e653402
3
  size 5176