PEFT
TensorBoard
Safetensors
llama
alignment-handbook
trl
sft
Generated from Trainer
yihanwang617 commited on
Commit
1d91d36
·
verified ·
1 Parent(s): 444ebde

Training in progress, step 100

Browse files
README.md CHANGED
@@ -1,14 +1,14 @@
1
  ---
2
- base_model: meta-llama/Meta-Llama-3-8B
3
- datasets:
4
- - yihanwang617/ultrachat_200k_processed_indicator_0.6_4k
5
- library_name: peft
6
  license: llama3
 
7
  tags:
8
  - alignment-handbook
9
  - trl
10
  - sft
11
  - generated_from_trainer
 
 
 
12
  model-index:
13
  - name: llama-3-qlora-ultrachat-200k-processed-indicator-0.6
14
  results: []
@@ -21,7 +21,7 @@ should probably proofread and complete it, then remove this comment. -->
21
 
22
  This model is a fine-tuned version of [meta-llama/Meta-Llama-3-8B](https://huggingface.co/meta-llama/Meta-Llama-3-8B) on the yihanwang617/ultrachat_200k_processed_indicator_0.6_4k dataset.
23
  It achieves the following results on the evaluation set:
24
- - Loss: 1.0200
25
 
26
  ## Model description
27
 
@@ -58,13 +58,13 @@ The following hyperparameters were used during training:
58
 
59
  | Training Loss | Epoch | Step | Validation Loss |
60
  |:-------------:|:------:|:----:|:---------------:|
61
- | 1.0052 | 0.9997 | 3247 | 1.0200 |
62
 
63
 
64
  ### Framework versions
65
 
66
- - PEFT 0.11.1
67
  - Transformers 4.40.1
68
- - Pytorch 2.3.0+cu121
69
- - Datasets 2.19.0
70
  - Tokenizers 0.19.1
 
1
  ---
 
 
 
 
2
  license: llama3
3
+ library_name: peft
4
  tags:
5
  - alignment-handbook
6
  - trl
7
  - sft
8
  - generated_from_trainer
9
+ base_model: meta-llama/Meta-Llama-3-8B
10
+ datasets:
11
+ - yihanwang617/ultrachat_200k_processed_indicator_0.6_4k
12
  model-index:
13
  - name: llama-3-qlora-ultrachat-200k-processed-indicator-0.6
14
  results: []
 
21
 
22
  This model is a fine-tuned version of [meta-llama/Meta-Llama-3-8B](https://huggingface.co/meta-llama/Meta-Llama-3-8B) on the yihanwang617/ultrachat_200k_processed_indicator_0.6_4k dataset.
23
  It achieves the following results on the evaluation set:
24
+ - Loss: 1.0235
25
 
26
  ## Model description
27
 
 
58
 
59
  | Training Loss | Epoch | Step | Validation Loss |
60
  |:-------------:|:------:|:----:|:---------------:|
61
+ | 1.008 | 0.9997 | 3247 | 1.0235 |
62
 
63
 
64
  ### Framework versions
65
 
66
+ - PEFT 0.12.0
67
  - Transformers 4.40.1
68
+ - Pytorch 2.4.0+cu121
69
+ - Datasets 2.20.0
70
  - Tokenizers 0.19.1
adapter_config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "meta-llama/Meta-Llama-3-8B",
5
+ "bias": "none",
6
+ "fan_in_fan_out": false,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layer_replication": null,
10
+ "layers_pattern": null,
11
+ "layers_to_transform": null,
12
+ "loftq_config": {},
13
+ "lora_alpha": 16,
14
+ "lora_dropout": 0.05,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": null,
18
+ "peft_type": "LORA",
19
+ "r": 16,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "o_proj",
24
+ "q_proj",
25
+ "down_proj",
26
+ "gate_proj",
27
+ "v_proj",
28
+ "up_proj",
29
+ "k_proj"
30
+ ],
31
+ "task_type": "CAUSAL_LM",
32
+ "use_dora": false,
33
+ "use_rslora": false
34
+ }
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e7f28f2416c31005af35616969facbde8fa70cda863715e5098dc5bdef731861
3
  size 2185327392
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eab837c30bcfdaeab75a21442e504acd3f04d5fe2ab997c925e3afd845f9ea77
3
  size 2185327392
all_results.json CHANGED
@@ -1,14 +1,14 @@
1
  {
2
  "epoch": 0.9997305930800908,
3
- "eval_loss": 1.0199960470199585,
4
- "eval_runtime": 3788.0149,
5
  "eval_samples": 23109,
6
- "eval_samples_per_second": 6.101,
7
- "eval_steps_per_second": 0.381,
8
- "total_flos": 3.805178921536717e+16,
9
- "train_loss": 1.037105345344191,
10
- "train_runtime": 142567.8806,
11
  "train_samples": 207864,
12
- "train_samples_per_second": 1.458,
13
  "train_steps_per_second": 0.023
14
  }
 
1
  {
2
  "epoch": 0.9997305930800908,
3
+ "eval_loss": 1.0235061645507812,
4
+ "eval_runtime": 3765.5428,
5
  "eval_samples": 23109,
6
+ "eval_samples_per_second": 6.137,
7
+ "eval_steps_per_second": 0.384,
8
+ "total_flos": 4.15615026158633e+16,
9
+ "train_loss": 1.0426253444200522,
10
+ "train_runtime": 139956.5138,
11
  "train_samples": 207864,
12
+ "train_samples_per_second": 1.485,
13
  "train_steps_per_second": 0.023
14
  }
eval_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
  "epoch": 0.9997305930800908,
3
- "eval_loss": 1.0199960470199585,
4
- "eval_runtime": 3788.0149,
5
  "eval_samples": 23109,
6
- "eval_samples_per_second": 6.101,
7
- "eval_steps_per_second": 0.381
8
  }
 
1
  {
2
  "epoch": 0.9997305930800908,
3
+ "eval_loss": 1.0235061645507812,
4
+ "eval_runtime": 3765.5428,
5
  "eval_samples": 23109,
6
+ "eval_samples_per_second": 6.137,
7
+ "eval_steps_per_second": 0.384
8
  }
model-00001-of-00007.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f98cbacb75eb3c671c31608b1027907407197b5cd8f01c4fd95909cf4a777105
3
  size 4886498936
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f15eaf6637faaa88a6168f6cb9d62cc58e48c1b5ba09a3368db06ad6762c23e
3
  size 4886498936
model-00002-of-00007.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:00513cc0bd6a6cc0ec587dfc044a47e57380beb40fe9d9f678da2fc01e7e06a5
3
  size 4832007448
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:04e04214b82d5639c5bec238981dd997057c1fb8ee458f5b19996986dfc84460
3
  size 4832007448
model-00003-of-00007.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e0da37dc7df1ad2a61b2cea6de760ac9974db61336e0f0950a4a9f722cc76fea
3
  size 4999813112
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2dc61f0d8a87e60ca30bef51100410ecce4aae19b5fe2cc9ed9b94ecaebc8d8b
3
  size 4999813112
model-00004-of-00007.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b0aec8e961ca76760640e1fe29f6d70257ddc1a16df131113d379fa8a64c2c03
3
  size 4999813128
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b9e3c35699ca5f0775e9f0e3bc22e556dc2f65083c5aa222311b4076d9905dce
3
  size 4999813128
model-00005-of-00007.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2cdcfe5f0da94ca17f2f6d4dee65fdd80459d9bafce0d9f8ba51c780ded32cff
3
  size 4832007496
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:247b3a91434eb9f62900f5c379b26ced85c351e7cf338a2f663bf3ffc1120bf5
3
  size 4832007496
model-00006-of-00007.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b6646bacfca3158d9391d0974b13edee79dd1668f3b95558335ca030866503bb
3
  size 4999813120
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3067d5f17932b045dc53539836c426907cd17d995d719175d2d148a2b3c1f662
3
  size 4999813120
model-00007-of-00007.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e63d4ce57c927caae96544d8d383c466948b2b7876493ae9309f0bc01a86c78b
3
  size 2571190952
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:36dc13007fc9125d823d2d4e39c22098decf058a93838e4368702f52150c1bc9
3
  size 2571190952
runs/Aug21_00-57-59_illidan.cs.ucla.edu/events.out.tfevents.1724228253.illidan.cs.ucla.edu.1343562.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e01ea537d0aae403f681e6472d92012d2d197c24518ee52f33177a03e25f5628
3
- size 142711
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:272dbb33d66836e6f5097e9274e6603983c4e24035c1138b17070427a31f252d
3
+ size 72667
runs/Aug23_02-12-13_nova.cs.ucla.edu/events.out.tfevents.1724405483.nova.cs.ucla.edu.2043016.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:33f1f1da765008329067314177d6d2e638f9eed477fdb5b905046c29ea84d83a
3
+ size 5657
runs/Aug23_02-51-25_nova.cs.ucla.edu/events.out.tfevents.1724407839.nova.cs.ucla.edu.2053170.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4598e5d1bb126bdfa97260309b099ff2e5620712f9ec80c5aea3356cdf81aa54
3
+ size 9383
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": 4096,
6
+ "strategy": "LongestFirst",
7
+ "stride": 0
8
+ },
9
  "padding": null,
10
  "added_tokens": [
11
  {
tokenizer_config.json CHANGED
@@ -2066,14 +2066,14 @@
2066
  }
2067
  },
2068
  "bos_token": "<|begin_of_text|>",
 
2069
  "clean_up_tokenization_spaces": true,
2070
  "eos_token": "<|end_of_text|>",
2071
- "chat_template": "{% for message in messages %}\n{% if message['role'] == 'user' %}\n{{ '<|user|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'system' %}\n{{ '<|system|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'assistant' %}\n{{ '<|assistant|>\n' + message['content'] + eos_token }}\n{% endif %}\n{% if loop.last and add_generation_prompt %}\n{{ '<|assistant|>' }}\n{% endif %}\n{% endfor %}",
2072
  "model_input_names": [
2073
  "input_ids",
2074
  "attention_mask"
2075
  ],
2076
- "model_max_length": 1000000000000000019884624838656,
2077
  "pad_token": "[PAD]",
2078
  "tokenizer_class": "PreTrainedTokenizerFast"
2079
- }
 
2066
  }
2067
  },
2068
  "bos_token": "<|begin_of_text|>",
2069
+ "chat_template": "{% for message in messages %}\n{% if message['role'] == 'user' %}\n{{ '<|user|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'system' %}\n{{ '<|system|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'assistant' %}\n{{ '<|assistant|>\n' + message['content'] + eos_token }}\n{% endif %}\n{% if loop.last and add_generation_prompt %}\n{{ '<|assistant|>' }}\n{% endif %}\n{% endfor %}",
2070
  "clean_up_tokenization_spaces": true,
2071
  "eos_token": "<|end_of_text|>",
 
2072
  "model_input_names": [
2073
  "input_ids",
2074
  "attention_mask"
2075
  ],
2076
+ "model_max_length": 2048,
2077
  "pad_token": "[PAD]",
2078
  "tokenizer_class": "PreTrainedTokenizerFast"
2079
+ }
train_results.json CHANGED
@@ -1,9 +1,9 @@
1
  {
2
  "epoch": 0.9997305930800908,
3
- "total_flos": 3.805178921536717e+16,
4
- "train_loss": 1.037105345344191,
5
- "train_runtime": 142567.8806,
6
  "train_samples": 207864,
7
- "train_samples_per_second": 1.458,
8
  "train_steps_per_second": 0.023
9
  }
 
1
  {
2
  "epoch": 0.9997305930800908,
3
+ "total_flos": 4.15615026158633e+16,
4
+ "train_loss": 1.0426253444200522,
5
+ "train_runtime": 139956.5138,
6
  "train_samples": 207864,
7
+ "train_samples_per_second": 1.485,
8
  "train_steps_per_second": 0.023
9
  }
trainer_state.json CHANGED
The diff for this file is too large to render. See raw diff
 
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:09db724b49b1a44c89fb653dcf81d79c78a3c5dee811ce7041625c1dbfee4d2b
3
  size 6328
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e35b65f11784ce51080d802e6a798419938e763fb3bb800cde9aa62128ff97fd
3
  size 6328