terry69 commited on
Commit
30811ac
1 Parent(s): 31612f5

Model save

Browse files
README.md CHANGED
@@ -1,16 +1,12 @@
1
  ---
2
  license: llama3
3
- base_model: meta-llama/Meta-Llama-3-8B
4
  tags:
5
- - alignment-handbook
6
- - trl
7
- - sft
8
- - generated_from_trainer
9
  - trl
10
  - sft
 
11
  - generated_from_trainer
12
- datasets:
13
- - HuggingFaceH4/ultrachat_200k
14
  model-index:
15
  - name: llama5pEnt
16
  results: []
@@ -21,9 +17,7 @@ should probably proofread and complete it, then remove this comment. -->
21
 
22
  # llama5pEnt
23
 
24
- 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 HuggingFaceH4/ultrachat_200k dataset.
25
- It achieves the following results on the evaluation set:
26
- - Loss: 1.0853
27
 
28
  ## Model description
29
 
@@ -47,10 +41,10 @@ The following hyperparameters were used during training:
47
  - eval_batch_size: 4
48
  - seed: 42
49
  - distributed_type: multi-GPU
50
- - num_devices: 3
51
  - gradient_accumulation_steps: 8
52
- - total_train_batch_size: 192
53
- - total_eval_batch_size: 12
54
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
55
  - lr_scheduler_type: cosine
56
  - lr_scheduler_warmup_ratio: 0.1
@@ -58,14 +52,12 @@ The following hyperparameters were used during training:
58
 
59
  ### Training results
60
 
61
- | Training Loss | Epoch | Step | Validation Loss |
62
- |:-------------:|:------:|:----:|:---------------:|
63
- | 0.8639 | 0.9993 | 541 | 1.0853 |
64
 
65
 
66
  ### Framework versions
67
 
 
68
  - Transformers 4.41.1
69
  - Pytorch 2.3.0+cu121
70
  - Datasets 2.19.1
71
- - Tokenizers 0.19.1
 
1
  ---
2
  license: llama3
3
+ library_name: peft
4
  tags:
 
 
 
 
5
  - trl
6
  - sft
7
+ - alignment-handbook
8
  - generated_from_trainer
9
+ base_model: meta-llama/Meta-Llama-3-8B
 
10
  model-index:
11
  - name: llama5pEnt
12
  results: []
 
17
 
18
  # llama5pEnt
19
 
20
+ 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 None dataset.
 
 
21
 
22
  ## Model description
23
 
 
41
  - eval_batch_size: 4
42
  - seed: 42
43
  - distributed_type: multi-GPU
44
+ - num_devices: 4
45
  - gradient_accumulation_steps: 8
46
+ - total_train_batch_size: 256
47
+ - total_eval_batch_size: 16
48
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
49
  - lr_scheduler_type: cosine
50
  - lr_scheduler_warmup_ratio: 0.1
 
52
 
53
  ### Training results
54
 
 
 
 
55
 
56
 
57
  ### Framework versions
58
 
59
+ - PEFT 0.11.1
60
  - Transformers 4.41.1
61
  - Pytorch 2.3.0+cu121
62
  - Datasets 2.19.1
63
+ - 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": 8,
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": 6,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "q_proj",
24
+ "o_proj",
25
+ "v_proj",
26
+ "k_proj",
27
+ "up_proj",
28
+ "down_proj",
29
+ "gate_proj"
30
+ ],
31
+ "task_type": "CAUSAL_LM",
32
+ "use_dora": false,
33
+ "use_rslora": false
34
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:41e632f4ebe506c85e162673d7f28cf041677a88d7d69aabaae11cd6bda63de0
3
+ size 62973728
all_results.json CHANGED
@@ -1,9 +1,9 @@
1
  {
2
- "epoch": 0.9993073193257908,
3
- "total_flos": 2.705944628841939e+18,
4
- "train_loss": 0.860630649956229,
5
- "train_runtime": 42250.2981,
6
  "train_samples": 103932,
7
- "train_samples_per_second": 2.46,
8
- "train_steps_per_second": 0.013
9
  }
 
1
  {
2
+ "epoch": 0.9697529438928654,
3
+ "total_flos": 2.6262151886631076e+18,
4
+ "train_loss": 0.0,
5
+ "train_runtime": 0.0108,
6
  "train_samples": 103932,
7
+ "train_samples_per_second": 9612825.336,
8
+ "train_steps_per_second": 37551.544
9
  }
runs/Jun05_21-11-52_COE-CS-sv003/events.out.tfevents.1717621973.COE-CS-sv003.73592.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b09c2cff4378d6e458ef4d1b0e3fd408de0b5654fa61c5cf7b09a083b4ffc7d1
3
+ size 5414
tokenizer.json CHANGED
@@ -1,11 +1,6 @@
1
  {
2
  "version": "1.0",
3
- "truncation": {
4
- "direction": "Right",
5
- "max_length": 2048,
6
- "strategy": "LongestFirst",
7
- "stride": 0
8
- },
9
  "padding": null,
10
  "added_tokens": [
11
  {
 
1
  {
2
  "version": "1.0",
3
+ "truncation": null,
 
 
 
 
 
4
  "padding": null,
5
  "added_tokens": [
6
  {
train_results.json CHANGED
@@ -1,9 +1,9 @@
1
  {
2
- "epoch": 0.9993073193257908,
3
- "total_flos": 2.705944628841939e+18,
4
- "train_loss": 0.860630649956229,
5
- "train_runtime": 42250.2981,
6
  "train_samples": 103932,
7
- "train_samples_per_second": 2.46,
8
- "train_steps_per_second": 0.013
9
  }
 
1
  {
2
+ "epoch": 0.9697529438928654,
3
+ "total_flos": 2.6262151886631076e+18,
4
+ "train_loss": 0.0,
5
+ "train_runtime": 0.0108,
6
  "train_samples": 103932,
7
+ "train_samples_per_second": 9612825.336,
8
+ "train_steps_per_second": 37551.544
9
  }
trainer_state.json CHANGED
@@ -1,9 +1,9 @@
1
  {
2
  "best_metric": null,
3
  "best_model_checkpoint": null,
4
- "epoch": 0.9993073193257908,
5
  "eval_steps": 500,
6
- "global_step": 541,
7
  "is_hyper_param_search": false,
8
  "is_local_process_zero": true,
9
  "is_world_process_zero": true,
@@ -751,46 +751,17 @@
751
  "step": 525
752
  },
753
  {
754
- "epoch": 0.9789886862156546,
755
- "grad_norm": 0.07811986654996872,
756
- "learning_rate": 2.5269671064467313e-07,
757
- "loss": 0.8473,
758
- "step": 530
759
- },
760
- {
761
- "epoch": 0.9882244285384437,
762
- "grad_norm": 0.08186525851488113,
763
- "learning_rate": 7.520474957699586e-08,
764
- "loss": 0.8295,
765
- "step": 535
766
- },
767
- {
768
- "epoch": 0.997460170861233,
769
- "grad_norm": 0.0831933468580246,
770
- "learning_rate": 2.0892754394208346e-09,
771
- "loss": 0.8639,
772
- "step": 540
773
- },
774
- {
775
- "epoch": 0.9993073193257908,
776
- "eval_loss": 1.0852999687194824,
777
- "eval_runtime": 177.1887,
778
- "eval_samples_per_second": 6.518,
779
- "eval_steps_per_second": 0.547,
780
- "step": 541
781
- },
782
- {
783
- "epoch": 0.9993073193257908,
784
- "step": 541,
785
- "total_flos": 2.705944628841939e+18,
786
- "train_loss": 0.860630649956229,
787
- "train_runtime": 42250.2981,
788
- "train_samples_per_second": 2.46,
789
- "train_steps_per_second": 0.013
790
  }
791
  ],
792
  "logging_steps": 5,
793
- "max_steps": 541,
794
  "num_input_tokens_seen": 0,
795
  "num_train_epochs": 1,
796
  "save_steps": 25,
@@ -806,7 +777,7 @@
806
  "attributes": {}
807
  }
808
  },
809
- "total_flos": 2.705944628841939e+18,
810
  "train_batch_size": 8,
811
  "trial_name": null,
812
  "trial_params": null
 
1
  {
2
  "best_metric": null,
3
  "best_model_checkpoint": null,
4
+ "epoch": 0.9697529438928654,
5
  "eval_steps": 500,
6
+ "global_step": 525,
7
  "is_hyper_param_search": false,
8
  "is_local_process_zero": true,
9
  "is_world_process_zero": true,
 
751
  "step": 525
752
  },
753
  {
754
+ "epoch": 0.9697529438928654,
755
+ "step": 525,
756
+ "total_flos": 2.6262151886631076e+18,
757
+ "train_loss": 0.0,
758
+ "train_runtime": 0.0108,
759
+ "train_samples_per_second": 9612825.336,
760
+ "train_steps_per_second": 37551.544
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
761
  }
762
  ],
763
  "logging_steps": 5,
764
+ "max_steps": 406,
765
  "num_input_tokens_seen": 0,
766
  "num_train_epochs": 1,
767
  "save_steps": 25,
 
777
  "attributes": {}
778
  }
779
  },
780
+ "total_flos": 2.6262151886631076e+18,
781
  "train_batch_size": 8,
782
  "trial_name": null,
783
  "trial_params": null
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e2ab12f53525aafe95fffa603a0d5583fdbabfc4b48c9c2446ab0ea6cb634f54
3
  size 5240
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:77a3354f1d610f0c132b7cc50e46bd6980ccf70fd83feddaf7ac8dbfc6700277
3
  size 5240