mogmyij commited on
Commit
8cd98d5
1 Parent(s): fdf8b1c

End of training

Browse files
README.md ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: llama2
3
+ library_name: peft
4
+ tags:
5
+ - trl
6
+ - sft
7
+ - generated_from_trainer
8
+ base_model: meta-llama/Llama-2-7b-hf
9
+ model-index:
10
+ - name: Llama2-7b-BoolQ-layers-0-9
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # Llama2-7b-BoolQ-layers-0-9
18
+
19
+ This model is a fine-tuned version of [meta-llama/Llama-2-7b-hf](https://huggingface.co/meta-llama/Llama-2-7b-hf) on an unknown dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.5321
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 0.0001
41
+ - train_batch_size: 2
42
+ - eval_batch_size: 8
43
+ - seed: 42
44
+ - gradient_accumulation_steps: 4
45
+ - total_train_batch_size: 8
46
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
+ - lr_scheduler_type: cosine
48
+ - lr_scheduler_warmup_ratio: 0.05
49
+ - num_epochs: 3
50
+ - mixed_precision_training: Native AMP
51
+
52
+ ### Training results
53
+
54
+ | Training Loss | Epoch | Step | Validation Loss |
55
+ |:-------------:|:------:|:----:|:---------------:|
56
+ | 0.1988 | 0.9996 | 1178 | 0.3385 |
57
+ | 0.2485 | 2.0 | 2357 | 0.3285 |
58
+ | 0.8818 | 2.9987 | 3534 | 0.5321 |
59
+
60
+
61
+ ### Framework versions
62
+
63
+ - PEFT 0.11.1
64
+ - Transformers 4.41.1
65
+ - Pytorch 2.3.0
66
+ - Datasets 2.19.1
67
+ - Tokenizers 0.19.1
adapter_config.json ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "meta-llama/Llama-2-7b-hf",
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": 8,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "model.layers.8.self_attn.k_proj",
24
+ "model.layers.4.self_attn.v_proj",
25
+ "model.layers.5.self_attn.v_proj",
26
+ "model.layers.5.self_attn.o_proj",
27
+ "model.layers.7.self_attn.o_proj",
28
+ "model.layers.3.self_attn.o_proj",
29
+ "model.layers.6.self_attn.k_proj",
30
+ "model.layers.0.self_attn.v_proj",
31
+ "model.layers.2.self_attn.o_proj",
32
+ "model.layers.0.self_attn.k_proj",
33
+ "model.layers.2.self_attn.v_proj",
34
+ "model.layers.9.self_attn.v_proj",
35
+ "model.layers.9.self_attn.q_proj",
36
+ "model.layers.1.self_attn.k_proj",
37
+ "model.layers.4.self_attn.k_proj",
38
+ "model.layers.8.self_attn.q_proj",
39
+ "model.layers.3.self_attn.k_proj",
40
+ "model.layers.4.self_attn.o_proj",
41
+ "model.layers.7.self_attn.q_proj",
42
+ "model.layers.2.self_attn.k_proj",
43
+ "model.layers.5.self_attn.k_proj",
44
+ "model.layers.6.self_attn.v_proj",
45
+ "model.layers.0.self_attn.q_proj",
46
+ "model.layers.7.self_attn.v_proj",
47
+ "model.layers.8.self_attn.v_proj",
48
+ "model.layers.9.self_attn.o_proj",
49
+ "model.layers.6.self_attn.o_proj",
50
+ "model.layers.3.self_attn.q_proj",
51
+ "model.layers.3.self_attn.v_proj",
52
+ "model.layers.7.self_attn.k_proj",
53
+ "model.layers.1.self_attn.o_proj",
54
+ "model.layers.9.self_attn.k_proj",
55
+ "model.layers.4.self_attn.q_proj",
56
+ "model.layers.1.self_attn.v_proj",
57
+ "model.layers.5.self_attn.q_proj",
58
+ "model.layers.2.self_attn.q_proj",
59
+ "model.layers.1.self_attn.q_proj",
60
+ "model.layers.0.self_attn.o_proj",
61
+ "model.layers.6.self_attn.q_proj",
62
+ "model.layers.8.self_attn.o_proj"
63
+ ],
64
+ "task_type": "CAUSAL_LM",
65
+ "use_dora": false,
66
+ "use_rslora": false
67
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1583856a950c0c893875367cc5227946c2fc67b51e47f8331671883584e4c19f
3
+ size 10496272
special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "</s>",
17
+ "unk_token": {
18
+ "content": "<unk>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "tokenizer_class": "LlamaTokenizer",
39
+ "unk_token": "<unk>",
40
+ "use_default_system_prompt": false
41
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f7abee0066952f238ed98bde43360826924c00124cf9b252b2ab078a24519963
3
+ size 5112