kaizerBox commited on
Commit
304c236
1 Parent(s): 38db618

Time is 184.449180940787, Memory is 9.6GB

Browse files
README.md ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - generated_from_trainer
4
+ datasets:
5
+ - xsum
6
+ model-index:
7
+ - name: retnet-Final-smallest-summarization
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
+ # retnet-Final-smallest-summarization
15
+
16
+ This model is a fine-tuned version of [](https://huggingface.co/) on the xsum dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 5.1417
19
+
20
+ ## Model description
21
+
22
+ More information needed
23
+
24
+ ## Intended uses & limitations
25
+
26
+ More information needed
27
+
28
+ ## Training and evaluation data
29
+
30
+ More information needed
31
+
32
+ ## Training procedure
33
+
34
+ ### Training hyperparameters
35
+
36
+ The following hyperparameters were used during training:
37
+ - learning_rate: 0.001
38
+ - train_batch_size: 8
39
+ - eval_batch_size: 8
40
+ - seed: 42
41
+ - gradient_accumulation_steps: 4
42
+ - total_train_batch_size: 32
43
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
44
+ - lr_scheduler_type: cosine
45
+ - lr_scheduler_warmup_steps: 100
46
+ - num_epochs: 3
47
+ - mixed_precision_training: Native AMP
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss |
52
+ |:-------------:|:-----:|:-----:|:---------------:|
53
+ | 5.8127 | 1.0 | 5762 | 5.3184 |
54
+ | 5.2364 | 2.0 | 11525 | 5.1682 |
55
+ | 5.1518 | 3.0 | 17286 | 5.1417 |
56
+
57
+
58
+ ### Framework versions
59
+
60
+ - Transformers 4.35.2
61
+ - Pytorch 2.1.0+cu118
62
+ - Datasets 2.15.0
63
+ - Tokenizers 0.15.0
added_tokens.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "<|pad|>": 50257,
3
+ "<|sep|>": 50258
4
+ }
config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_dropout": 0.0,
3
+ "activation_fn": "swish",
4
+ "architectures": [
5
+ "RetNetForCausalLM"
6
+ ],
7
+ "decoder_embed_dim": 32,
8
+ "decoder_ffn_embed_dim": 32,
9
+ "decoder_layers": 3,
10
+ "decoder_normalize_before": true,
11
+ "decoder_retention_heads": 2,
12
+ "decoder_value_embed_dim": 32,
13
+ "deepnorm": false,
14
+ "drop_path_rate": 0.0,
15
+ "dropout": 0.0,
16
+ "eos_token_id": 50256,
17
+ "forward_impl": "parallel",
18
+ "initializer_range": 0.02,
19
+ "is_decoder": true,
20
+ "layernorm_embedding": true,
21
+ "layernorm_eps": 1e-06,
22
+ "model_type": "retnet",
23
+ "no_scale_embedding": false,
24
+ "output_retentions": false,
25
+ "pad_token_id": 50257,
26
+ "recurrent_chunk_size": 32,
27
+ "subln": true,
28
+ "tie_word_embeddings": false,
29
+ "torch_dtype": "float32",
30
+ "transformers_version": "4.35.2",
31
+ "use_cache": true,
32
+ "use_ffn_rms_norm": false,
33
+ "use_glu": true,
34
+ "use_lm_decay": false,
35
+ "vocab_size": 50259,
36
+ "z_loss_coeff": 0.0
37
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "eos_token_id": 50256,
4
+ "pad_token_id": 50257,
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 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:82b4c7af4fbd000f7d468ff85487178f220d5cfce9412916b5d6d41b45d6243f
3
+ size 12969456
runs/Dec02_17-33-15_477d0950a1b1/events.out.tfevents.1701538395.477d0950a1b1.3228.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b7c4d1575899cd27c030bc2ffb2eb633066b22c7c125c7177924d20492b18587
3
+ size 6137
special_tokens_map.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<|endoftext|>",
3
+ "eos_token": "<|endoftext|>",
4
+ "pad_token": {
5
+ "content": "<|pad|>",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false
10
+ },
11
+ "sep_token": {
12
+ "content": "<|sep|>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false
17
+ },
18
+ "unk_token": "<|endoftext|>"
19
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "50257": {
13
+ "content": "<|pad|>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "50258": {
21
+ "content": "<|sep|>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ }
28
+ },
29
+ "bos_token": "<|endoftext|>",
30
+ "clean_up_tokenization_spaces": true,
31
+ "eos_token": "<|endoftext|>",
32
+ "model_max_length": 1024,
33
+ "pad_token": "<|pad|>",
34
+ "sep_token": "<|sep|>",
35
+ "tokenizer_class": "GPT2Tokenizer",
36
+ "unk_token": "<|endoftext|>"
37
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:91570fa488e18cd17cbc5a34679603881b63a02dedf2cfad37ac7a131b9fb887
3
+ size 4600
vocab.json ADDED
The diff for this file is too large to render. See raw diff