chunfengw commited on
Commit
d7a43be
·
1 Parent(s): 6c00940

Training complete

Browse files
Files changed (6) hide show
  1. README.md +19 -11
  2. config.json +1 -1
  3. generation_config.json +1 -1
  4. model.safetensors +3 -0
  5. tokenizer.json +16 -2
  6. training_args.bin +1 -1
README.md CHANGED
@@ -13,14 +13,9 @@ should probably proofread and complete it, then remove this comment. -->
13
 
14
  # gpt2-finetuned
15
 
16
- This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on the None dataset.
17
  It achieves the following results on the evaluation set:
18
- - eval_loss: nan
19
- - eval_runtime: 21.0902
20
- - eval_samples_per_second: 35.467
21
- - eval_steps_per_second: 4.457
22
- - epoch: 1.19
23
- - step: 1000
24
 
25
  ## Model description
26
 
@@ -48,9 +43,22 @@ The following hyperparameters were used during training:
48
  - lr_scheduler_warmup_steps: 500
49
  - num_epochs: 3
50
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  ### Framework versions
52
 
53
- - Transformers 4.34.1
54
- - Pytorch 2.1.0+cu118
55
- - Datasets 2.14.6
56
- - Tokenizers 0.14.1
 
13
 
14
  # gpt2-finetuned
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: 0.5616
 
 
 
 
 
19
 
20
  ## Model description
21
 
 
43
  - lr_scheduler_warmup_steps: 500
44
  - num_epochs: 3
45
 
46
+ ### Training results
47
+
48
+ | Training Loss | Epoch | Step | Validation Loss |
49
+ |:-------------:|:-----:|:----:|:---------------:|
50
+ | 1.1522 | 0.4 | 500 | 0.6342 |
51
+ | 0.6443 | 0.8 | 1000 | 0.6011 |
52
+ | 0.6042 | 1.2 | 1500 | 0.5842 |
53
+ | 0.586 | 1.59 | 2000 | 0.5752 |
54
+ | 0.5653 | 1.99 | 2500 | 0.5677 |
55
+ | 0.5534 | 2.39 | 3000 | 0.5653 |
56
+ | 0.5511 | 2.79 | 3500 | 0.5616 |
57
+
58
+
59
  ### Framework versions
60
 
61
+ - Transformers 4.35.2
62
+ - Pytorch 2.1.1+cu121
63
+ - Datasets 2.15.0
64
+ - Tokenizers 0.15.0
config.json CHANGED
@@ -33,7 +33,7 @@
33
  }
34
  },
35
  "torch_dtype": "float32",
36
- "transformers_version": "4.34.1",
37
  "use_cache": true,
38
  "vocab_size": 50257
39
  }
 
33
  }
34
  },
35
  "torch_dtype": "float32",
36
+ "transformers_version": "4.35.2",
37
  "use_cache": true,
38
  "vocab_size": 50257
39
  }
generation_config.json CHANGED
@@ -2,5 +2,5 @@
2
  "_from_model_config": true,
3
  "bos_token_id": 50256,
4
  "eos_token_id": 50256,
5
- "transformers_version": "4.34.1"
6
  }
 
2
  "_from_model_config": true,
3
  "bos_token_id": 50256,
4
  "eos_token_id": 50256,
5
+ "transformers_version": "4.35.2"
6
  }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a448beee3dcf10cc2a5bd07e0f45d27b4447d9554bba21a1d3fe6ab3107adf8
3
+ size 497774208
tokenizer.json CHANGED
@@ -1,7 +1,21 @@
1
  {
2
  "version": "1.0",
3
- "truncation": null,
4
- "padding": null,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  "added_tokens": [
6
  {
7
  "id": 50256,
 
1
  {
2
  "version": "1.0",
3
+ "truncation": {
4
+ "direction": "Right",
5
+ "max_length": 256,
6
+ "strategy": "LongestFirst",
7
+ "stride": 0
8
+ },
9
+ "padding": {
10
+ "strategy": {
11
+ "Fixed": 256
12
+ },
13
+ "direction": "Right",
14
+ "pad_to_multiple_of": null,
15
+ "pad_id": 50256,
16
+ "pad_type_id": 0,
17
+ "pad_token": "<|endoftext|>"
18
+ },
19
  "added_tokens": [
20
  {
21
  "id": 50256,
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:82dec9359fc80b3a23d99b3a51529d72c331a5db01f186265e8bc21363d9edc1
3
  size 4472
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4bdbf4c203275e291cbbeb221fb60dbdef537a99b1e7c0e06b8fd5bd72ff3819
3
  size 4472