Basha738 commited on
Commit
65d41de
1 Parent(s): 9daabf3

llama2-13B-supervised-ft-5epochs-411

Browse files
README.md CHANGED
@@ -4,7 +4,7 @@ tags:
4
  - trl
5
  - sft
6
  - generated_from_trainer
7
- base_model: Trelis/Llama-2-7b-chat-hf-sharded-bf16
8
  model-index:
9
  - name: outputs
10
  results: []
@@ -15,9 +15,9 @@ should probably proofread and complete it, then remove this comment. -->
15
 
16
  # outputs
17
 
18
- This model is a fine-tuned version of [Trelis/Llama-2-7b-chat-hf-sharded-bf16](https://huggingface.co/Trelis/Llama-2-7b-chat-hf-sharded-bf16) on the None dataset.
19
  It achieves the following results on the evaluation set:
20
- - Loss: 2.1177
21
 
22
  ## Model description
23
 
@@ -40,44 +40,31 @@ The following hyperparameters were used during training:
40
  - train_batch_size: 1
41
  - eval_batch_size: 1
42
  - seed: 42
43
- - gradient_accumulation_steps: 16
44
- - total_train_batch_size: 16
45
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
46
  - lr_scheduler_type: linear
47
- - num_epochs: 5
48
  - mixed_precision_training: Native AMP
49
 
50
  ### Training results
51
 
52
  | Training Loss | Epoch | Step | Validation Loss |
53
  |:-------------:|:-----:|:----:|:---------------:|
54
- | 2.3322 | 0.24 | 4 | 2.3370 |
55
- | 2.2294 | 0.47 | 8 | 2.3072 |
56
- | 2.343 | 0.71 | 12 | 2.2808 |
57
- | 2.3434 | 0.94 | 16 | 2.2575 |
58
- | 2.3287 | 1.18 | 20 | 2.2372 |
59
- | 2.189 | 1.41 | 24 | 2.2194 |
60
- | 2.2015 | 1.65 | 28 | 2.2040 |
61
- | 2.1622 | 1.88 | 32 | 2.1907 |
62
- | 2.1723 | 2.12 | 36 | 2.1790 |
63
- | 2.1742 | 2.35 | 40 | 2.1687 |
64
- | 2.0336 | 2.59 | 44 | 2.1597 |
65
- | 2.1124 | 2.82 | 48 | 2.1518 |
66
- | 2.1201 | 3.06 | 52 | 2.1449 |
67
- | 2.1692 | 3.29 | 56 | 2.1387 |
68
- | 2.2336 | 3.53 | 60 | 2.1334 |
69
- | 2.0764 | 3.76 | 64 | 2.1288 |
70
- | 2.1874 | 4.0 | 68 | 2.1250 |
71
- | 2.1178 | 4.24 | 72 | 2.1220 |
72
- | 2.1511 | 4.47 | 76 | 2.1199 |
73
- | 2.1382 | 4.71 | 80 | 2.1184 |
74
- | 2.1022 | 4.94 | 84 | 2.1177 |
75
 
76
 
77
  ### Framework versions
78
 
79
  - PEFT 0.8.2
80
- - Transformers 4.38.0.dev0
81
- - Pytorch 2.1.0+cu121
82
- - Datasets 2.16.1
83
  - Tokenizers 0.15.1
 
4
  - trl
5
  - sft
6
  - generated_from_trainer
7
+ base_model: LLama_weights/tmp
8
  model-index:
9
  - name: outputs
10
  results: []
 
15
 
16
  # outputs
17
 
18
+ This model was trained from scratch on the None dataset.
19
  It achieves the following results on the evaluation set:
20
+ - Loss: 2.1290
21
 
22
  ## Model description
23
 
 
40
  - train_batch_size: 1
41
  - eval_batch_size: 1
42
  - seed: 42
43
+ - gradient_accumulation_steps: 8
44
+ - total_train_batch_size: 8
45
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
46
  - lr_scheduler_type: linear
47
+ - num_epochs: 1
48
  - mixed_precision_training: Native AMP
49
 
50
  ### Training results
51
 
52
  | Training Loss | Epoch | Step | Validation Loss |
53
  |:-------------:|:-----:|:----:|:---------------:|
54
+ | 2.3285 | 0.12 | 4 | 2.1680 |
55
+ | 2.2299 | 0.24 | 8 | 2.1595 |
56
+ | 2.0283 | 0.35 | 12 | 2.1514 |
57
+ | 2.3197 | 0.47 | 16 | 2.1442 |
58
+ | 2.1502 | 0.59 | 20 | 2.1382 |
59
+ | 2.1846 | 0.71 | 24 | 2.1336 |
60
+ | 2.2649 | 0.82 | 28 | 2.1306 |
61
+ | 2.252 | 0.94 | 32 | 2.1290 |
 
 
 
 
 
 
 
 
 
 
 
 
 
62
 
63
 
64
  ### Framework versions
65
 
66
  - PEFT 0.8.2
67
+ - Transformers 4.37.2
68
+ - Pytorch 2.2.0+cu118
69
+ - Datasets 2.17.0
70
  - Tokenizers 0.15.1
adapter_config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "alpha_pattern": {},
3
  "auto_mapping": null,
4
- "base_model_name_or_path": "Trelis/Llama-2-7b-chat-hf-sharded-bf16",
5
  "bias": "none",
6
  "fan_in_fan_out": false,
7
  "inference_mode": true,
@@ -9,23 +9,23 @@
9
  "layers_pattern": null,
10
  "layers_to_transform": null,
11
  "loftq_config": {},
12
- "lora_alpha": 64,
13
  "lora_dropout": 0.05,
14
  "megatron_config": null,
15
  "megatron_core": "megatron.core",
16
  "modules_to_save": null,
17
  "peft_type": "LORA",
18
- "r": 32,
19
  "rank_pattern": {},
20
  "revision": null,
21
  "target_modules": [
22
- "gate_proj",
23
  "o_proj",
24
  "up_proj",
25
- "q_proj",
26
- "down_proj",
27
  "k_proj",
28
- "v_proj"
 
29
  ],
30
  "task_type": "CAUSAL_LM",
31
  "use_rslora": false
 
1
  {
2
  "alpha_pattern": {},
3
  "auto_mapping": null,
4
+ "base_model_name_or_path": "LLama_weights/tmp",
5
  "bias": "none",
6
  "fan_in_fan_out": false,
7
  "inference_mode": true,
 
9
  "layers_pattern": null,
10
  "layers_to_transform": null,
11
  "loftq_config": {},
12
+ "lora_alpha": 32,
13
  "lora_dropout": 0.05,
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
  "o_proj",
23
  "up_proj",
24
+ "v_proj",
25
+ "gate_proj",
26
  "k_proj",
27
+ "q_proj",
28
+ "down_proj"
29
  ],
30
  "task_type": "CAUSAL_LM",
31
  "use_rslora": false
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:45b285036211d3480b33717cc2cd70493d538455f8372fd4d1932dbf82b9a67e
3
- size 319876032
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ca6b86293e72e448256ba721c6cb6d98e35653723bb8c580906d1823fe13d7e
3
+ size 1001465824
tokenizer.json CHANGED
@@ -1,6 +1,11 @@
1
  {
2
  "version": "1.0",
3
- "truncation": null,
 
 
 
 
 
4
  "padding": null,
5
  "added_tokens": [
6
  {
 
1
  {
2
  "version": "1.0",
3
+ "truncation": {
4
+ "direction": "Right",
5
+ "max_length": 3200,
6
+ "strategy": "LongestFirst",
7
+ "stride": 0
8
+ },
9
  "padding": null,
10
  "added_tokens": [
11
  {
tokenizer_config.json CHANGED
@@ -38,12 +38,12 @@
38
  "bos_token": "<s>",
39
  "clean_up_tokenization_spaces": false,
40
  "eos_token": "</s>",
41
- "legacy": false,
42
  "model_max_length": 1000000000000000019884624838656,
43
  "pad_token": "[PAD]",
44
  "sp_model_kwargs": {},
 
45
  "tokenizer_class": "LlamaTokenizer",
46
  "unk_token": "<unk>",
47
- "use_default_system_prompt": false,
48
- "use_fast": false
49
  }
 
38
  "bos_token": "<s>",
39
  "clean_up_tokenization_spaces": false,
40
  "eos_token": "</s>",
41
+ "legacy": true,
42
  "model_max_length": 1000000000000000019884624838656,
43
  "pad_token": "[PAD]",
44
  "sp_model_kwargs": {},
45
+ "spaces_between_special_tokens": false,
46
  "tokenizer_class": "LlamaTokenizer",
47
  "unk_token": "<unk>",
48
+ "use_default_system_prompt": false
 
49
  }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b9fee88b62fd20e4d5eb24648a8c3a2fcab0d481839c0fc33b7b99a961ed4cd6
3
- size 4728
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:665d0f5d76ff011650e9b363c0eeb92bde61fffd61ab1cd09a959010d6ff6457
3
+ size 4664