Sanjaytfg commited on
Commit
ac02b65
·
verified ·
1 Parent(s): 21c8f9e

Model save

Browse files
README.md ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: llama_adcopy
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
+ # llama_adcopy
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.7252
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.0005
41
+ - train_batch_size: 8
42
+ - eval_batch_size: 8
43
+ - seed: 42
44
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: cosine
46
+ - lr_scheduler_warmup_ratio: 0.1
47
+ - num_epochs: 10
48
+ - mixed_precision_training: Native AMP
49
+
50
+ ### Training results
51
+
52
+ | Training Loss | Epoch | Step | Validation Loss |
53
+ |:-------------:|:-----:|:----:|:---------------:|
54
+ | 1.4593 | 1.0 | 129 | 1.4557 |
55
+ | 0.8955 | 2.0 | 258 | 0.9126 |
56
+ | 0.7377 | 3.0 | 387 | 0.8149 |
57
+ | 0.621 | 4.0 | 516 | 0.7785 |
58
+ | 0.6625 | 5.0 | 645 | 0.7506 |
59
+ | 0.6461 | 6.0 | 774 | 0.7382 |
60
+ | 0.584 | 7.0 | 903 | 0.7316 |
61
+ | 0.5011 | 8.0 | 1032 | 0.7265 |
62
+ | 0.6687 | 9.0 | 1161 | 0.7254 |
63
+ | 0.6337 | 10.0 | 1290 | 0.7252 |
64
+
65
+
66
+ ### Framework versions
67
+
68
+ - PEFT 0.11.1
69
+ - Transformers 4.41.2
70
+ - Pytorch 2.1.1+cu121
71
+ - Datasets 2.19.1
72
+ - Tokenizers 0.19.1
adapter_config.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "adapter_layers": 30,
3
+ "adapter_len": 32,
4
+ "auto_mapping": null,
5
+ "base_model_name_or_path": "meta-llama/Llama-2-7b-hf",
6
+ "inference_mode": true,
7
+ "peft_type": "ADAPTION_PROMPT",
8
+ "revision": null,
9
+ "target_modules": "self_attn",
10
+ "task_type": "CAUSAL_LM"
11
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b949334ab52acb8e2e0d4c1450b97027c659f27966a932d3672cd8630b14b251
3
+ size 540106456
added_tokens.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "<pad>": 32001,
3
+ "<|im_end|>": 32000,
4
+ "<|im_start|>assistant": 32003,
5
+ "<|im_start|>system": 32004,
6
+ "<|im_start|>user": 32002
7
+ }
runs/Jun02_16-44-57_c7fdd54a36cc/events.out.tfevents.1717346716.c7fdd54a36cc.812.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:703bbdd33c9ea7a4782a58f0680732f8716403d02fcf5ae2fb83de9cb80f7c9a
3
+ size 62292
special_tokens_map.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>user",
4
+ "<|im_start|>assistant",
5
+ "<|im_start|>system",
6
+ "<|im_end|>",
7
+ "<s>",
8
+ "<pad>"
9
+ ],
10
+ "bos_token": {
11
+ "content": "<s>",
12
+ "lstrip": false,
13
+ "normalized": false,
14
+ "rstrip": false,
15
+ "single_word": false
16
+ },
17
+ "eos_token": "<|im_end|>",
18
+ "pad_token": "<pad>",
19
+ "unk_token": {
20
+ "content": "<unk>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false
25
+ }
26
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
+ size 499723
tokenizer_config.json ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "32000": {
30
+ "content": "<|im_end|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "32001": {
38
+ "content": "<pad>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "32002": {
46
+ "content": "<|im_start|>user",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "32003": {
54
+ "content": "<|im_start|>assistant",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "32004": {
62
+ "content": "<|im_start|>system",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": true
68
+ }
69
+ },
70
+ "additional_special_tokens": [
71
+ "<|im_start|>user",
72
+ "<|im_start|>assistant",
73
+ "<|im_start|>system",
74
+ "<|im_end|>",
75
+ "<s>",
76
+ "<pad>"
77
+ ],
78
+ "bos_token": "<s>",
79
+ "chat_template": "{% for message in messages %}\n{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% if loop.last and add_generation_prompt %}{{'<|im_start|>assistant\n' }}{% endif %}{% endfor %}",
80
+ "clean_up_tokenization_spaces": false,
81
+ "eos_token": "<|im_end|>",
82
+ "legacy": false,
83
+ "model_max_length": 1000000000000000019884624838656,
84
+ "pad_token": "<pad>",
85
+ "padding_side": "right",
86
+ "sp_model_kwargs": {},
87
+ "tokenizer_class": "LlamaTokenizer",
88
+ "unk_token": "<unk>",
89
+ "use_default_system_prompt": false
90
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b9dcc3a721c9fecdc358a021e05440b008680e967447bd6cbfb6830b88a24e4b
3
+ size 5112