Model save
Browse files- README.md +57 -0
- adapter_config.json +34 -0
- adapter_model.safetensors +3 -0
- added_tokens.json +4 -0
- runs/Jun05_20-04-02_97a38e980483/events.out.tfevents.1717617895.97a38e980483.249.0 +3 -0
- runs/Jun05_20-13-24_97a38e980483/events.out.tfevents.1717618434.97a38e980483.229.0 +3 -0
- runs/Jun05_20-17-28_97a38e980483/events.out.tfevents.1717618675.97a38e980483.229.1 +0 -0
- runs/Jun05_20-20-22_97a38e980483/events.out.tfevents.1717618850.97a38e980483.152.0 +3 -0
- runs/Jun05_20-21-22_97a38e980483/events.out.tfevents.1717618913.97a38e980483.152.1 +0 -0
- runs/Jun05_20-24-11_97a38e980483/events.out.tfevents.1717619078.97a38e980483.178.0 +3 -0
- runs/Jun05_20-25-17_97a38e980483/events.out.tfevents.1717619146.97a38e980483.178.1 +0 -0
- runs/Jun05_20-27-45_97a38e980483/events.out.tfevents.1717619292.97a38e980483.151.0 +3 -0
- runs/Jun05_20-32-01_97a38e980483/events.out.tfevents.1717619548.97a38e980483.181.0 +3 -0
- runs/Jun05_20-36-44_97a38e980483/events.out.tfevents.1717619832.97a38e980483.181.1 +0 -0
- runs/Jun05_20-39-19_97a38e980483/events.out.tfevents.1717619986.97a38e980483.154.0 +3 -0
- runs/Jun05_20-50-35_97a38e980483/events.out.tfevents.1717620658.97a38e980483.403.0 +3 -0
- runs/Jun05_20-58-33_97a38e980483/events.out.tfevents.1717621136.97a38e980483.152.0 +3 -0
- runs/Jun05_21-09-09_97a38e980483/events.out.tfevents.1717621772.97a38e980483.151.0 +3 -0
- runs/Jun05_21-20-46_97a38e980483/events.out.tfevents.1717622466.97a38e980483.313.0 +3 -0
- runs/Jun05_21-25-58_97a38e980483/events.out.tfevents.1717622785.97a38e980483.180.0 +3 -0
- special_tokens_map.json +28 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +98 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: llama2
|
3 |
+
library_name: peft
|
4 |
+
tags:
|
5 |
+
- trl
|
6 |
+
- sft
|
7 |
+
- generated_from_trainer
|
8 |
+
base_model: codellama/CodeLlama-7b-hf
|
9 |
+
datasets:
|
10 |
+
- generator
|
11 |
+
model-index:
|
12 |
+
- name: llama-2-70b-chat-spider
|
13 |
+
results: []
|
14 |
+
---
|
15 |
+
|
16 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
17 |
+
should probably proofread and complete it, then remove this comment. -->
|
18 |
+
|
19 |
+
# llama-2-70b-chat-spider
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [codellama/CodeLlama-7b-hf](https://huggingface.co/codellama/CodeLlama-7b-hf) on the generator dataset.
|
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.0002
|
41 |
+
- train_batch_size: 3
|
42 |
+
- eval_batch_size: 8
|
43 |
+
- seed: 42
|
44 |
+
- gradient_accumulation_steps: 2
|
45 |
+
- total_train_batch_size: 6
|
46 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
47 |
+
- lr_scheduler_type: constant
|
48 |
+
- lr_scheduler_warmup_ratio: 0.03
|
49 |
+
- num_epochs: 3
|
50 |
+
|
51 |
+
### Framework versions
|
52 |
+
|
53 |
+
- PEFT 0.11.1
|
54 |
+
- Transformers 4.41.2
|
55 |
+
- Pytorch 2.2.1+cu121
|
56 |
+
- Datasets 2.14.4
|
57 |
+
- 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": "codellama/CodeLlama-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": 128,
|
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": 256,
|
20 |
+
"rank_pattern": {},
|
21 |
+
"revision": null,
|
22 |
+
"target_modules": [
|
23 |
+
"up_proj",
|
24 |
+
"k_proj",
|
25 |
+
"down_proj",
|
26 |
+
"o_proj",
|
27 |
+
"q_proj",
|
28 |
+
"gate_proj",
|
29 |
+
"v_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:1f074277252c7e08d6bc3da038614ad5f93c0530c812f00082bde071b70b2cc1
|
3 |
+
size 1803907984
|
added_tokens.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<|im_end|>": 32017,
|
3 |
+
"<|im_start|>": 32016
|
4 |
+
}
|
runs/Jun05_20-04-02_97a38e980483/events.out.tfevents.1717617895.97a38e980483.249.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f9f0bcdb684c42014e49e9eca1731509bf70211f58caac407a64c1ad4145a938
|
3 |
+
size 5408
|
runs/Jun05_20-13-24_97a38e980483/events.out.tfevents.1717618434.97a38e980483.229.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:43cfcf11e8bd5672f813cd76077ae27222d39a62f08c451b839dbcd07a93545d
|
3 |
+
size 5408
|
runs/Jun05_20-17-28_97a38e980483/events.out.tfevents.1717618675.97a38e980483.229.1
ADDED
File without changes
|
runs/Jun05_20-20-22_97a38e980483/events.out.tfevents.1717618850.97a38e980483.152.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fc6b3a8356d59d3a1bc8397e15850cf317afadb16bc8a31013eeb3f8c03cab95
|
3 |
+
size 4184
|
runs/Jun05_20-21-22_97a38e980483/events.out.tfevents.1717618913.97a38e980483.152.1
ADDED
File without changes
|
runs/Jun05_20-24-11_97a38e980483/events.out.tfevents.1717619078.97a38e980483.178.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:abb6b42916c6e152b70d5613c48f69091ad8e2f43d69f53edba60c3bed3cc19c
|
3 |
+
size 4184
|
runs/Jun05_20-25-17_97a38e980483/events.out.tfevents.1717619146.97a38e980483.178.1
ADDED
File without changes
|
runs/Jun05_20-27-45_97a38e980483/events.out.tfevents.1717619292.97a38e980483.151.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:12d79ff79a72df407641044ad0a6748cd1c4e4a9739c6dd1a1b9a27852a79a5b
|
3 |
+
size 4184
|
runs/Jun05_20-32-01_97a38e980483/events.out.tfevents.1717619548.97a38e980483.181.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7c0e944a876f5efd40f60f616787aa852c388be0740bc6228a723b8ac95a1a0c
|
3 |
+
size 5408
|
runs/Jun05_20-36-44_97a38e980483/events.out.tfevents.1717619832.97a38e980483.181.1
ADDED
File without changes
|
runs/Jun05_20-39-19_97a38e980483/events.out.tfevents.1717619986.97a38e980483.154.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ee92df8d1a90e47e393c465b3cd2eb9b7ee6908cd99a2802b74601440c2af5df
|
3 |
+
size 5408
|
runs/Jun05_20-50-35_97a38e980483/events.out.tfevents.1717620658.97a38e980483.403.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4595869a1f723bfbc6853bb7ff7b17d307bf9f22cd75e46eb76c4996ade06ccc
|
3 |
+
size 5409
|
runs/Jun05_20-58-33_97a38e980483/events.out.tfevents.1717621136.97a38e980483.152.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9445f2036b9ea0d2478d20e2d1d9fedd4af4f5c3f56b9df266dfcc0393c12d38
|
3 |
+
size 5409
|
runs/Jun05_21-09-09_97a38e980483/events.out.tfevents.1717621772.97a38e980483.151.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e4b96528db3b64f7c58a83d3f17d6769436fc98192086817646ffa21b23adab1
|
3 |
+
size 5409
|
runs/Jun05_21-20-46_97a38e980483/events.out.tfevents.1717622466.97a38e980483.313.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:71bdc8279d08fc125eea9b34ae348c9fb9b9a2329326b352b70bf63acf69d270
|
3 |
+
size 5408
|
runs/Jun05_21-25-58_97a38e980483/events.out.tfevents.1717622785.97a38e980483.180.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9c72d6b17d5dfe15b4b081c33dd79b068385d661e70dfc10a14af2aced48680f
|
3 |
+
size 7478
|
special_tokens_map.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
{
|
4 |
+
"content": "<|im_start|>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false
|
9 |
+
},
|
10 |
+
{
|
11 |
+
"content": "<|im_end|>",
|
12 |
+
"lstrip": false,
|
13 |
+
"normalized": false,
|
14 |
+
"rstrip": false,
|
15 |
+
"single_word": false
|
16 |
+
}
|
17 |
+
],
|
18 |
+
"bos_token": "<|im_start|>",
|
19 |
+
"eos_token": "<|im_end|>",
|
20 |
+
"pad_token": "<|im_end|>",
|
21 |
+
"unk_token": {
|
22 |
+
"content": "<unk>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false
|
27 |
+
}
|
28 |
+
}
|
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:45ccb9c8b6b561889acea59191d66986d314e7cbd6a78abc6e49b139ca91c1e6
|
3 |
+
size 500058
|
tokenizer_config.json
ADDED
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"32007": {
|
30 |
+
"content": "β<PRE>",
|
31 |
+
"lstrip": false,
|
32 |
+
"normalized": false,
|
33 |
+
"rstrip": false,
|
34 |
+
"single_word": false,
|
35 |
+
"special": true
|
36 |
+
},
|
37 |
+
"32008": {
|
38 |
+
"content": "β<SUF>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": false,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false,
|
43 |
+
"special": true
|
44 |
+
},
|
45 |
+
"32009": {
|
46 |
+
"content": "β<MID>",
|
47 |
+
"lstrip": false,
|
48 |
+
"normalized": false,
|
49 |
+
"rstrip": false,
|
50 |
+
"single_word": false,
|
51 |
+
"special": true
|
52 |
+
},
|
53 |
+
"32010": {
|
54 |
+
"content": "β<EOT>",
|
55 |
+
"lstrip": false,
|
56 |
+
"normalized": false,
|
57 |
+
"rstrip": false,
|
58 |
+
"single_word": false,
|
59 |
+
"special": true
|
60 |
+
},
|
61 |
+
"32016": {
|
62 |
+
"content": "<|im_start|>",
|
63 |
+
"lstrip": false,
|
64 |
+
"normalized": false,
|
65 |
+
"rstrip": false,
|
66 |
+
"single_word": false,
|
67 |
+
"special": true
|
68 |
+
},
|
69 |
+
"32017": {
|
70 |
+
"content": "<|im_end|>",
|
71 |
+
"lstrip": false,
|
72 |
+
"normalized": false,
|
73 |
+
"rstrip": false,
|
74 |
+
"single_word": false,
|
75 |
+
"special": true
|
76 |
+
}
|
77 |
+
},
|
78 |
+
"additional_special_tokens": [
|
79 |
+
"<|im_start|>",
|
80 |
+
"<|im_end|>"
|
81 |
+
],
|
82 |
+
"bos_token": "<|im_start|>",
|
83 |
+
"chat_template": "{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
|
84 |
+
"clean_up_tokenization_spaces": false,
|
85 |
+
"eos_token": "<|im_end|>",
|
86 |
+
"eot_token": "β<EOT>",
|
87 |
+
"fill_token": "<FILL_ME>",
|
88 |
+
"legacy": null,
|
89 |
+
"middle_token": "β<MID>",
|
90 |
+
"model_max_length": 1000000000000000019884624838656,
|
91 |
+
"pad_token": "<|im_end|>",
|
92 |
+
"prefix_token": "β<PRE>",
|
93 |
+
"sp_model_kwargs": {},
|
94 |
+
"suffix_token": "β<SUF>",
|
95 |
+
"tokenizer_class": "CodeLlamaTokenizer",
|
96 |
+
"unk_token": "<unk>",
|
97 |
+
"use_default_system_prompt": false
|
98 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b74bc64ad0564d697452c45c96d5be7a8eacc4db22fb31ce16e0580132c7b11a
|
3 |
+
size 5112
|