BrianLiu commited on
Commit
33f9b74
1 Parent(s): bd17ec6

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: 3.6420
 
 
19
 
20
  ## Model description
21
 
@@ -34,26 +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
- | 3.7501 | 1.0 | 2334 | 3.6669 |
50
- | 3.6498 | 2.0 | 4668 | 3.6464 |
51
- | 3.6023 | 3.0 | 7002 | 3.6420 |
52
 
53
 
54
  ### Framework versions
55
 
56
  - Transformers 4.39.3
57
- - Pytorch 2.2.1+cu121
58
  - Datasets 2.18.0
59
  - 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: BrianLiu/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
+ # BrianLiu/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.8578
19
+ - Validation Loss: 3.6751
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.8578 | 3.6751 | 0 |
 
 
47
 
48
 
49
  ### Framework versions
50
 
51
  - Transformers 4.39.3
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.39.3",
44
  "use_cache": true,
45
  "vocab_size": 50257
 
39
  "max_length": 50
40
  }
41
  },
 
42
  "transformers_version": "4.39.3",
43
  "use_cache": true,
44
  "vocab_size": 50257
logs/train/events.out.tfevents.1712735669.ee8261688e2f.7481.0.v2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:77a7cb98aec41672c27bceca06bd1130507b9d856fd26c72d4ca1e98b831815f
3
+ size 965930
logs/validation/events.out.tfevents.1712736070.ee8261688e2f.7481.1.v2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:723f3694e6c9e218dfc23d6d723b9ac0fa0377af6a8b23890b69d9681456a30a
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:5ac042f59c95ac68fde9405d833ec4de3876f88c384018968aef11c54687a89f
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