MooBai commited on
Commit
620aa4f
1 Parent(s): 00e3962

Training in progress epoch 0

Browse files
README.md CHANGED
@@ -2,20 +2,22 @@
2
  license: apache-2.0
3
  base_model: distilgpt2
4
  tags:
5
- - generated_from_trainer
6
  model-index:
7
- - name: distilgpt2-finetuned-wikitext2
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
- # distilgpt2-finetuned-wikitext2
15
 
16
  This model is a fine-tuned version of [distilgpt2](https://huggingface.co/distilgpt2) on an unknown dataset.
17
  It achieves the following results on the evaluation set:
18
- - Loss: 2.3852
 
 
19
 
20
  ## Model description
21
 
@@ -34,25 +36,19 @@ More information needed
34
  ### Training hyperparameters
35
 
36
  The following hyperparameters were used during training:
37
- - learning_rate: 2e-05
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.0
44
 
45
  ### Training results
46
 
47
- | Training Loss | Epoch | Step | Validation Loss |
48
- |:-------------:|:-----:|:----:|:---------------:|
49
- | 2.6974 | 1.0 | 2015 | 2.5232 |
50
- | 2.5708 | 2.0 | 4030 | 2.4168 |
51
- | 2.5374 | 3.0 | 6045 | 2.3852 |
52
 
53
 
54
  ### Framework versions
55
 
56
  - Transformers 4.38.2
57
- - Pytorch 2.2.1+cu121
 
58
  - Tokenizers 0.15.2
 
2
  license: apache-2.0
3
  base_model: distilgpt2
4
  tags:
5
+ - generated_from_keras_callback
6
  model-index:
7
+ - name: MooBai/distilgpt2-finetuned-wikitext2
8
  results: []
9
  ---
10
 
11
+ <!-- This model card has been generated automatically according to the information Keras had access to. You should
12
+ probably proofread and complete it, then remove this comment. -->
13
 
14
+ # MooBai/distilgpt2-finetuned-wikitext2
15
 
16
  This model is a fine-tuned version of [distilgpt2](https://huggingface.co/distilgpt2) on an unknown dataset.
17
  It achieves the following results on the evaluation set:
18
+ - Train Loss: 3.8590
19
+ - Validation Loss: 3.6766
20
+ - Epoch: 0
21
 
22
  ## Model description
23
 
 
36
  ### Training hyperparameters
37
 
38
  The following hyperparameters were used during training:
39
+ - optimizer: {'name': 'AdamWeightDecay', 'learning_rate': 2e-05, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-07, 'amsgrad': False, 'weight_decay_rate': 0.01}
40
+ - training_precision: float32
 
 
 
 
 
41
 
42
  ### Training results
43
 
44
+ | Train Loss | Validation Loss | Epoch |
45
+ |:----------:|:---------------:|:-----:|
46
+ | 3.8590 | 3.6766 | 0 |
 
 
47
 
48
 
49
  ### Framework versions
50
 
51
  - Transformers 4.38.2
52
+ - TensorFlow 2.15.0
53
+ - Datasets 2.18.0
54
  - Tokenizers 0.15.2
config.json CHANGED
@@ -39,7 +39,6 @@
39
  "max_length": 50
40
  }
41
  },
42
- "torch_dtype": "float32",
43
  "transformers_version": "4.38.2",
44
  "use_cache": true,
45
  "vocab_size": 50257
 
39
  "max_length": 50
40
  }
41
  },
 
42
  "transformers_version": "4.38.2",
43
  "use_cache": true,
44
  "vocab_size": 50257
logs/train/events.out.tfevents.1713353117.2ae49061c9eb.369.0.v2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc9dfc8fe6234a15446e93bdf2bc684416a6ca2f548aa8fd931b9d77050b78c2
3
+ size 965930
logs/validation/events.out.tfevents.1713353521.2ae49061c9eb.369.1.v2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2ac965b29dfcd20ed0cdcac661292327b54793d041b605d6111bf5e0bc05562e
3
+ size 232
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
special_tokens_map.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<|endoftext|>",
3
+ "eos_token": "<|endoftext|>",
4
+ "unk_token": "<|endoftext|>"
5
+ }
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29d64bd65759ac06c402d1114b7458b3b252304cd3bb5154eb7c08cbd4312648
3
+ size 327745472
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "50256": {
5
+ "content": "<|endoftext|>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ }
12
+ },
13
+ "bos_token": "<|endoftext|>",
14
+ "clean_up_tokenization_spaces": true,
15
+ "eos_token": "<|endoftext|>",
16
+ "model_max_length": 1024,
17
+ "tokenizer_class": "GPT2Tokenizer",
18
+ "unk_token": "<|endoftext|>"
19
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff