harsharora commited on
Commit
3876456
1 Parent(s): 925ee6d

End of training

Browse files
README.md CHANGED
@@ -1,6 +1,4 @@
1
  ---
2
- license: mit
3
- base_model: gpt2
4
  tags:
5
  - generated_from_trainer
6
  datasets:
@@ -15,7 +13,7 @@ should probably proofread and complete it, then remove this comment. -->
15
 
16
  # gpt2_finetuned
17
 
18
- This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on the wiki_qa dataset.
19
 
20
  ## Model description
21
 
@@ -34,13 +32,20 @@ More information needed
34
  ### Training hyperparameters
35
 
36
  The following hyperparameters were used during training:
37
- - learning_rate: 1e-05
38
- - train_batch_size: 16
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: 5
 
 
 
 
 
44
 
45
  ### Framework versions
46
 
 
1
  ---
 
 
2
  tags:
3
  - generated_from_trainer
4
  datasets:
 
13
 
14
  # gpt2_finetuned
15
 
16
+ This model is a fine-tuned version of [](https://huggingface.co/) on the wiki_qa dataset.
17
 
18
  ## Model description
19
 
 
32
  ### Training hyperparameters
33
 
34
  The following hyperparameters were used during training:
35
+ - learning_rate: 0.0005
36
+ - train_batch_size: 32
37
+ - eval_batch_size: 32
38
  - seed: 42
39
+ - gradient_accumulation_steps: 8
40
+ - total_train_batch_size: 256
41
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
42
+ - lr_scheduler_type: cosine
43
+ - lr_scheduler_warmup_steps: 1000
44
+ - num_epochs: 1
45
+
46
+ ### Training results
47
+
48
+
49
 
50
  ### Framework versions
51
 
config.json CHANGED
@@ -1,8 +1,7 @@
1
  {
2
- "_name_or_path": "gpt2",
3
  "activation_function": "gelu_new",
4
  "architectures": [
5
- "GPT2ForSequenceClassification"
6
  ],
7
  "attn_pdrop": 0.1,
8
  "bos_token_id": 50256,
@@ -11,7 +10,7 @@
11
  "initializer_range": 0.02,
12
  "layer_norm_epsilon": 1e-05,
13
  "model_type": "gpt2",
14
- "n_ctx": 1024,
15
  "n_embd": 768,
16
  "n_head": 12,
17
  "n_inner": null,
 
1
  {
 
2
  "activation_function": "gelu_new",
3
  "architectures": [
4
+ "GPT2LMHeadModel"
5
  ],
6
  "attn_pdrop": 0.1,
7
  "bos_token_id": 50256,
 
10
  "initializer_range": 0.02,
11
  "layer_norm_epsilon": 1e-05,
12
  "model_type": "gpt2",
13
+ "n_ctx": 128,
14
  "n_embd": 768,
15
  "n_head": 12,
16
  "n_inner": null,
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 50256,
4
+ "eos_token_id": 50256,
5
+ "transformers_version": "4.35.2"
6
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ba2718165d237d5c93ffe15a2ef9414b7339f52b555e287274706734b2c9f402
3
- size 497780432
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:11abab5381374b6a7f4fe4143701b8f855fa72c5fcdaf1ad0ea1ba8f94642605
3
+ size 497774208
runs/Dec05_22-48-46_e3ee4ba9a99f/events.out.tfevents.1701816548.e3ee4ba9a99f.133.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:52ccc7d4143fcd81a28eb0e50955aa389a12d585c60e0c9aee55b866f1b6dd7f
3
+ size 4771
special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|endoftext|>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|endoftext|>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "<|endoftext|>",
17
+ "unk_token": {
18
+ "content": "<|endoftext|>",
19
+ "lstrip": false,
20
+ "normalized": true,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "50256": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": true,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ }
13
+ },
14
+ "bos_token": "<|endoftext|>",
15
+ "clean_up_tokenization_spaces": true,
16
+ "eos_token": "<|endoftext|>",
17
+ "errors": "replace",
18
+ "model_max_length": 1024,
19
+ "pad_token": "<|endoftext|>",
20
+ "tokenizer_class": "GPT2Tokenizer",
21
+ "unk_token": "<|endoftext|>"
22
+ }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2a60eb205017f7d434ebd2b96bcac38d2932586e8a2610bcfb4f24f45c158555
3
  size 4536
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:41495aa8b0a59bc691f04df068ff8de12bbbc1cea58706d9f7ea667ac13a1d4c
3
  size 4536
vocab.json ADDED
The diff for this file is too large to render. See raw diff