IeBoytsov commited on
Commit
7c80437
·
verified ·
1 Parent(s): 98ad7f4

Model save

Browse files
README.md CHANGED
@@ -7,6 +7,7 @@ license: llama3.1
7
  tags:
8
  - trl
9
  - sft
 
10
  - generated_from_trainer
11
  model-index:
12
  - name: llama-3-1-sft-qlora-test
@@ -19,8 +20,6 @@ should probably proofread and complete it, then remove this comment. -->
19
  # llama-3-1-sft-qlora-test
20
 
21
  This model is a fine-tuned version of [meta-llama/Llama-3.1-8B](https://huggingface.co/meta-llama/Llama-3.1-8B) on the generator dataset.
22
- It achieves the following results on the evaluation set:
23
- - Loss: 1.1645
24
 
25
  ## Model description
26
 
@@ -53,9 +52,6 @@ The following hyperparameters were used during training:
53
 
54
  ### Training results
55
 
56
- | Training Loss | Epoch | Step | Validation Loss |
57
- |:-------------:|:------:|:----:|:---------------:|
58
- | 1.2385 | 0.9934 | 75 | 1.1645 |
59
 
60
 
61
  ### Framework versions
 
7
  tags:
8
  - trl
9
  - sft
10
+ - alignment-handbook
11
  - generated_from_trainer
12
  model-index:
13
  - name: llama-3-1-sft-qlora-test
 
20
  # llama-3-1-sft-qlora-test
21
 
22
  This model is a fine-tuned version of [meta-llama/Llama-3.1-8B](https://huggingface.co/meta-llama/Llama-3.1-8B) on the generator dataset.
 
 
23
 
24
  ## Model description
25
 
 
52
 
53
  ### Training results
54
 
 
 
 
55
 
56
 
57
  ### Framework versions
adapter_config.json CHANGED
@@ -20,13 +20,13 @@
20
  "rank_pattern": {},
21
  "revision": null,
22
  "target_modules": [
23
- "v_proj",
24
  "gate_proj",
25
  "k_proj",
26
- "o_proj",
27
  "q_proj",
28
- "down_proj",
29
- "up_proj"
 
 
30
  ],
31
  "task_type": "CAUSAL_LM",
32
  "use_dora": false,
 
20
  "rank_pattern": {},
21
  "revision": null,
22
  "target_modules": [
 
23
  "gate_proj",
24
  "k_proj",
 
25
  "q_proj",
26
+ "o_proj",
27
+ "v_proj",
28
+ "up_proj",
29
+ "down_proj"
30
  ],
31
  "task_type": "CAUSAL_LM",
32
  "use_dora": false,
all_results.json CHANGED
@@ -1,9 +1,9 @@
1
  {
2
  "epoch": 0.9933774834437086,
3
  "total_flos": 5.564154814608179e+16,
4
- "train_loss": 1.2146572240193685,
5
- "train_runtime": 3027.7749,
6
  "train_samples": 1039,
7
- "train_samples_per_second": 0.199,
8
- "train_steps_per_second": 0.025
9
  }
 
1
  {
2
  "epoch": 0.9933774834437086,
3
  "total_flos": 5.564154814608179e+16,
4
+ "train_loss": 0.0,
5
+ "train_runtime": 0.9326,
6
  "train_samples": 1039,
7
+ "train_samples_per_second": 645.502,
8
+ "train_steps_per_second": 80.42
9
  }
config.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "meta-llama/Llama-3.1-8B",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 128000,
9
+ "eos_token_id": 128001,
10
+ "head_dim": 128,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 4096,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 14336,
15
+ "max_position_embeddings": 131072,
16
+ "mlp_bias": false,
17
+ "model_type": "llama",
18
+ "num_attention_heads": 32,
19
+ "num_hidden_layers": 32,
20
+ "num_key_value_heads": 8,
21
+ "pretraining_tp": 1,
22
+ "quantization_config": {
23
+ "_load_in_4bit": true,
24
+ "_load_in_8bit": false,
25
+ "bnb_4bit_compute_dtype": "bfloat16",
26
+ "bnb_4bit_quant_storage": "uint8",
27
+ "bnb_4bit_quant_type": "nf4",
28
+ "bnb_4bit_use_double_quant": false,
29
+ "llm_int8_enable_fp32_cpu_offload": false,
30
+ "llm_int8_has_fp16_weight": false,
31
+ "llm_int8_skip_modules": null,
32
+ "llm_int8_threshold": 6.0,
33
+ "load_in_4bit": true,
34
+ "load_in_8bit": false,
35
+ "quant_method": "bitsandbytes"
36
+ },
37
+ "rms_norm_eps": 1e-05,
38
+ "rope_scaling": {
39
+ "factor": 8.0,
40
+ "high_freq_factor": 4.0,
41
+ "low_freq_factor": 1.0,
42
+ "original_max_position_embeddings": 8192,
43
+ "rope_type": "llama3"
44
+ },
45
+ "rope_theta": 500000.0,
46
+ "tie_word_embeddings": false,
47
+ "torch_dtype": "bfloat16",
48
+ "transformers_version": "4.45.1",
49
+ "use_cache": true,
50
+ "vocab_size": 128256
51
+ }
train_results.json CHANGED
@@ -1,9 +1,9 @@
1
  {
2
  "epoch": 0.9933774834437086,
3
  "total_flos": 5.564154814608179e+16,
4
- "train_loss": 1.2146572240193685,
5
- "train_runtime": 3027.7749,
6
  "train_samples": 1039,
7
- "train_samples_per_second": 0.199,
8
- "train_steps_per_second": 0.025
9
  }
 
1
  {
2
  "epoch": 0.9933774834437086,
3
  "total_flos": 5.564154814608179e+16,
4
+ "train_loss": 0.0,
5
+ "train_runtime": 0.9326,
6
  "train_samples": 1039,
7
+ "train_samples_per_second": 645.502,
8
+ "train_steps_per_second": 80.42
9
  }
trainer_state.json CHANGED
@@ -120,22 +120,14 @@
120
  "loss": 1.2385,
121
  "step": 75
122
  },
123
- {
124
- "epoch": 0.9933774834437086,
125
- "eval_loss": 1.1645171642303467,
126
- "eval_runtime": 2610.6612,
127
- "eval_samples_per_second": 5.155,
128
- "eval_steps_per_second": 0.645,
129
- "step": 75
130
- },
131
  {
132
  "epoch": 0.9933774834437086,
133
  "step": 75,
134
  "total_flos": 5.564154814608179e+16,
135
- "train_loss": 1.2146572240193685,
136
- "train_runtime": 3027.7749,
137
- "train_samples_per_second": 0.199,
138
- "train_steps_per_second": 0.025
139
  }
140
  ],
141
  "logging_steps": 5,
 
120
  "loss": 1.2385,
121
  "step": 75
122
  },
 
 
 
 
 
 
 
 
123
  {
124
  "epoch": 0.9933774834437086,
125
  "step": 75,
126
  "total_flos": 5.564154814608179e+16,
127
+ "train_loss": 0.0,
128
+ "train_runtime": 0.9326,
129
+ "train_samples_per_second": 645.502,
130
+ "train_steps_per_second": 80.42
131
  }
132
  ],
133
  "logging_steps": 5,
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:be928b88e5a6832a2c69dba0813b990375959c7861a41535e5947c8446b5c82a
3
  size 6264
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea6564d1fa58a3ec4d8ab7340d84be9f250343f22726715020d63cc1621efd91
3
  size 6264