DrishtiSharma
commited on
Commit
•
e9bef0c
1
Parent(s):
741a802
End of training
Browse files- README.md +73 -0
- adapter_config.json +32 -0
- adapter_model.safetensors +3 -0
- special_tokens_map.json +30 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +42 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: llama2
|
3 |
+
library_name: peft
|
4 |
+
tags:
|
5 |
+
- trl
|
6 |
+
- sft
|
7 |
+
- generated_from_trainer
|
8 |
+
datasets:
|
9 |
+
- dialogstudio
|
10 |
+
base_model: TencentARC/LLaMA-Pro-8B
|
11 |
+
model-index:
|
12 |
+
- name: llama-pro-8b-tweet-summarization-gradnorm-0.3
|
13 |
+
results: []
|
14 |
+
---
|
15 |
+
|
16 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
17 |
+
should probably proofread and complete it, then remove this comment. -->
|
18 |
+
|
19 |
+
# llama-pro-8b-tweet-summarization-gradnorm-0.3
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [TencentARC/LLaMA-Pro-8B](https://huggingface.co/TencentARC/LLaMA-Pro-8B) on the dialogstudio dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 2.9796
|
24 |
+
- Rouge Scores: {'rouge1': 93.71888929189157, 'rouge2': 77.8377567936117, 'rougeL': 64.47906852741538, 'rougeLsum': 93.71298018429633}
|
25 |
+
- Bleu Scores: [0.9470990193868204, 0.9341779145832757, 0.9064440397746264, 0.8744914403659334]
|
26 |
+
- Gen Len: 463.0182
|
27 |
+
|
28 |
+
## Model description
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Intended uses & limitations
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Training and evaluation data
|
37 |
+
|
38 |
+
More information needed
|
39 |
+
|
40 |
+
## Training procedure
|
41 |
+
|
42 |
+
### Training hyperparameters
|
43 |
+
|
44 |
+
The following hyperparameters were used during training:
|
45 |
+
- learning_rate: 0.0001
|
46 |
+
- train_batch_size: 4
|
47 |
+
- eval_batch_size: 8
|
48 |
+
- seed: 42
|
49 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
50 |
+
- lr_scheduler_type: cosine
|
51 |
+
- num_epochs: 7
|
52 |
+
- mixed_precision_training: Native AMP
|
53 |
+
|
54 |
+
### Training results
|
55 |
+
|
56 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge Scores | Bleu Scores | Gen Len |
|
57 |
+
|:-------------:|:-----:|:----:|:---------------:|:------------------------------------------------------------------------------------------------------------------------:|:--------------------------------------------------------------------------------:|:--------:|
|
58 |
+
| 1.9065 | 1.0 | 220 | 1.8530 | {'rouge1': 92.83694737064799, 'rouge2': 78.72458121869542, 'rougeL': 67.88788283384865, 'rougeLsum': 92.83768512059282} | [0.8739198483584956, 0.8530170264142946, 0.8271978418182495, 0.7998377773703629] | 463.0182 |
|
59 |
+
| 1.6363 | 2.0 | 440 | 1.8633 | {'rouge1': 93.54135671371444, 'rouge2': 78.96116387599493, 'rougeL': 67.77857901494997, 'rougeLsum': 93.54432289584433} | [0.8758125801988195, 0.8577741180618648, 0.8322886881519586, 0.80457236049974] | 463.0182 |
|
60 |
+
| 1.2817 | 3.0 | 660 | 2.0098 | {'rouge1': 87.30764070509844, 'rouge2': 73.12328274037898, 'rougeL': 62.00625532521349, 'rougeLsum': 87.29149649901954} | [0.8757949025917542, 0.8593181834244542, 0.8334473061685955, 0.8048319452251607] | 463.0182 |
|
61 |
+
| 0.9049 | 4.0 | 880 | 2.2481 | {'rouge1': 87.35996946418575, 'rouge2': 72.87802745947901, 'rougeL': 61.35206821444361, 'rougeLsum': 87.32662841081371} | [0.8755472589597261, 0.859572654041077, 0.8333237300074641, 0.804082483213136] | 463.0182 |
|
62 |
+
| 0.5916 | 5.0 | 1100 | 2.5061 | {'rouge1': 78.38431994557745, 'rouge2': 64.89809559762811, 'rougeL': 53.805209482421525, 'rougeLsum': 78.30608179426231} | [0.747179346815877, 0.7352208249958618, 0.7126103103040894, 0.6869428956670465] | 463.0182 |
|
63 |
+
| 0.3898 | 6.0 | 1320 | 2.8150 | {'rouge1': 93.77539618029996, 'rouge2': 78.03050568501187, 'rougeL': 64.82344374456906, 'rougeLsum': 93.76894400818286} | [0.9469183628254614, 0.9342162110956728, 0.9067374010427977, 0.8750430150656403] | 463.0182 |
|
64 |
+
| 0.2961 | 7.0 | 1540 | 2.9796 | {'rouge1': 93.71888929189157, 'rouge2': 77.8377567936117, 'rougeL': 64.47906852741538, 'rougeLsum': 93.71298018429633} | [0.9470990193868204, 0.9341779145832757, 0.9064440397746264, 0.8744914403659334] | 463.0182 |
|
65 |
+
|
66 |
+
|
67 |
+
### Framework versions
|
68 |
+
|
69 |
+
- PEFT 0.8.2.dev0
|
70 |
+
- Transformers 4.38.0.dev0
|
71 |
+
- Pytorch 2.1.0+cu121
|
72 |
+
- Datasets 2.16.2.dev0
|
73 |
+
- Tokenizers 0.15.1
|
adapter_config.json
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "TencentARC/LLaMA-Pro-8B",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": false,
|
7 |
+
"inference_mode": true,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layers_pattern": null,
|
10 |
+
"layers_to_transform": null,
|
11 |
+
"loftq_config": {},
|
12 |
+
"lora_alpha": 64,
|
13 |
+
"lora_dropout": 0.0,
|
14 |
+
"megatron_config": null,
|
15 |
+
"megatron_core": "megatron.core",
|
16 |
+
"modules_to_save": null,
|
17 |
+
"peft_type": "LORA",
|
18 |
+
"r": 64,
|
19 |
+
"rank_pattern": {},
|
20 |
+
"revision": null,
|
21 |
+
"target_modules": [
|
22 |
+
"v_proj",
|
23 |
+
"o_proj",
|
24 |
+
"down_proj",
|
25 |
+
"k_proj",
|
26 |
+
"q_proj",
|
27 |
+
"up_proj",
|
28 |
+
"gate_proj"
|
29 |
+
],
|
30 |
+
"task_type": "CAUSAL_LM",
|
31 |
+
"use_rslora": false
|
32 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0f0e928910970601f3acc5bf1563bb6e2857eee8255ac350a9b0666d87d66882
|
3 |
+
size 799614904
|
special_tokens_map.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "</s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "</s>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"unk_token": {
|
24 |
+
"content": "<unk>",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
}
|
30 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
|
3 |
+
size 499723
|
tokenizer_config.json
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"0": {
|
6 |
+
"content": "<unk>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"1": {
|
14 |
+
"content": "<s>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
},
|
21 |
+
"2": {
|
22 |
+
"content": "</s>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false,
|
27 |
+
"special": true
|
28 |
+
}
|
29 |
+
},
|
30 |
+
"bos_token": "<s>",
|
31 |
+
"clean_up_tokenization_spaces": false,
|
32 |
+
"eos_token": "</s>",
|
33 |
+
"legacy": false,
|
34 |
+
"model_max_length": 1000000000000000019884624838656,
|
35 |
+
"pad_token": "</s>",
|
36 |
+
"padding_side": "right",
|
37 |
+
"sp_model_kwargs": {},
|
38 |
+
"spaces_between_special_tokens": false,
|
39 |
+
"tokenizer_class": "LlamaTokenizer",
|
40 |
+
"unk_token": "<unk>",
|
41 |
+
"use_default_system_prompt": true
|
42 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:77906599d0974e0c3cc87014deb3be02e04ded50b82bf7da20269bf24a3f3c4c
|
3 |
+
size 4792
|