Chris Alexiuk
commited on
Commit
•
2b9b742
1
Parent(s):
fde0380
sft_model_rlaif
Browse files- README.md +52 -0
- adapter_config.json +23 -0
- adapter_model.safetensors +3 -0
- runs/Nov21_23-50-46_9bb2bbaa3c9b/events.out.tfevents.1700610657.9bb2bbaa3c9b.4368.0 +3 -0
- runs/Nov21_23-51-56_9bb2bbaa3c9b/events.out.tfevents.1700610719.9bb2bbaa3c9b.4368.1 +3 -0
- runs/Nov21_23-52-45_9bb2bbaa3c9b/events.out.tfevents.1700610768.9bb2bbaa3c9b.4368.2 +3 -0
- runs/Nov21_23-52-57_9bb2bbaa3c9b/events.out.tfevents.1700610797.9bb2bbaa3c9b.4368.3 +3 -0
- runs/Nov21_23-54-23_9bb2bbaa3c9b/events.out.tfevents.1700610865.9bb2bbaa3c9b.4368.4 +3 -0
- runs/Nov21_23-55-22_9bb2bbaa3c9b/events.out.tfevents.1700610925.9bb2bbaa3c9b.4368.5 +3 -0
- runs/Nov21_23-55-43_9bb2bbaa3c9b/events.out.tfevents.1700610945.9bb2bbaa3c9b.4368.6 +3 -0
- runs/Nov21_23-57-33_9bb2bbaa3c9b/events.out.tfevents.1700611056.9bb2bbaa3c9b.4368.7 +3 -0
- runs/Nov22_00-03-45_9bb2bbaa3c9b/events.out.tfevents.1700611428.9bb2bbaa3c9b.27232.0 +3 -0
- runs/Nov22_00-04-44_9bb2bbaa3c9b/events.out.tfevents.1700611487.9bb2bbaa3c9b.27232.1 +3 -0
- runs/Nov22_00-12-42_9bb2bbaa3c9b/events.out.tfevents.1700611965.9bb2bbaa3c9b.30686.0 +3 -0
- special_tokens_map.json +35 -0
- tokenizer.json +0 -0
- tokenizer_config.json +46 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: HuggingFaceH4/zephyr-7b-alpha
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: sft_zephyr
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
|
11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
12 |
+
should probably proofread and complete it, then remove this comment. -->
|
13 |
+
|
14 |
+
# sft_zephyr
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [HuggingFaceH4/zephyr-7b-alpha](https://huggingface.co/HuggingFaceH4/zephyr-7b-alpha) on an unknown dataset.
|
17 |
+
|
18 |
+
## Model description
|
19 |
+
|
20 |
+
More information needed
|
21 |
+
|
22 |
+
## Intended uses & limitations
|
23 |
+
|
24 |
+
More information needed
|
25 |
+
|
26 |
+
## Training and evaluation data
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Training procedure
|
31 |
+
|
32 |
+
### Training hyperparameters
|
33 |
+
|
34 |
+
The following hyperparameters were used during training:
|
35 |
+
- learning_rate: 0.0002
|
36 |
+
- train_batch_size: 8
|
37 |
+
- eval_batch_size: 8
|
38 |
+
- seed: 42
|
39 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
40 |
+
- lr_scheduler_type: constant
|
41 |
+
- num_epochs: 5
|
42 |
+
|
43 |
+
### Training results
|
44 |
+
|
45 |
+
|
46 |
+
|
47 |
+
### Framework versions
|
48 |
+
|
49 |
+
- Transformers 4.35.2
|
50 |
+
- Pytorch 2.1.0+cu118
|
51 |
+
- Datasets 2.15.0
|
52 |
+
- Tokenizers 0.15.0
|
adapter_config.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "HuggingFaceH4/zephyr-7b-alpha",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": false,
|
7 |
+
"inference_mode": true,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layers_pattern": null,
|
10 |
+
"layers_to_transform": null,
|
11 |
+
"lora_alpha": 16,
|
12 |
+
"lora_dropout": 0.1,
|
13 |
+
"modules_to_save": null,
|
14 |
+
"peft_type": "LORA",
|
15 |
+
"r": 64,
|
16 |
+
"rank_pattern": {},
|
17 |
+
"revision": null,
|
18 |
+
"target_modules": [
|
19 |
+
"v_proj",
|
20 |
+
"q_proj"
|
21 |
+
],
|
22 |
+
"task_type": "CAUSAL_LM"
|
23 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d038325d8d2f6680ee8c9302ec74107cca8a185bbecfd421cd6fc7017639eba0
|
3 |
+
size 109069176
|
runs/Nov21_23-50-46_9bb2bbaa3c9b/events.out.tfevents.1700610657.9bb2bbaa3c9b.4368.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f08793b80322af7420f462c536cf634d07713bbcbb927bf5d64e9b4e35c8b3df
|
3 |
+
size 4575
|
runs/Nov21_23-51-56_9bb2bbaa3c9b/events.out.tfevents.1700610719.9bb2bbaa3c9b.4368.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a69fdda01ea88132136aef03b494db23e8530bf80351fe268b0bab2a7f6f4d07
|
3 |
+
size 4572
|
runs/Nov21_23-52-45_9bb2bbaa3c9b/events.out.tfevents.1700610768.9bb2bbaa3c9b.4368.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7eded8943930ffd2b476d1d33608e954feb300280d96ffdff6a3568d6a67e13f
|
3 |
+
size 4572
|
runs/Nov21_23-52-57_9bb2bbaa3c9b/events.out.tfevents.1700610797.9bb2bbaa3c9b.4368.3
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:020f56f3ce6ef1c0f717e5f9fdaeed56174b5c96035a5a72186a936393af9ce8
|
3 |
+
size 4572
|
runs/Nov21_23-54-23_9bb2bbaa3c9b/events.out.tfevents.1700610865.9bb2bbaa3c9b.4368.4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e925d0764e952b919ab157f26721fd550314ff17504863f8db19052f93180057
|
3 |
+
size 4572
|
runs/Nov21_23-55-22_9bb2bbaa3c9b/events.out.tfevents.1700610925.9bb2bbaa3c9b.4368.5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7f683df3babf148248ba86fc0012ae0c5f41f450d5a956c8a71c7a4b74ffe760
|
3 |
+
size 4572
|
runs/Nov21_23-55-43_9bb2bbaa3c9b/events.out.tfevents.1700610945.9bb2bbaa3c9b.4368.6
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:330aa0d3e8e6f8ea3b0c27ce1eb8ad4a487d1625ca94de13cbf747e1ed40bbb0
|
3 |
+
size 4573
|
runs/Nov21_23-57-33_9bb2bbaa3c9b/events.out.tfevents.1700611056.9bb2bbaa3c9b.4368.7
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8646712a6320f1407d08f31d18dda4cbbcc81b3d1cfd3ad24df7288137e89802
|
3 |
+
size 4184
|
runs/Nov22_00-03-45_9bb2bbaa3c9b/events.out.tfevents.1700611428.9bb2bbaa3c9b.27232.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bd81416c5a7625280ecf9254d102360f030af4511210ad8881425e7b385060fe
|
3 |
+
size 4184
|
runs/Nov22_00-04-44_9bb2bbaa3c9b/events.out.tfevents.1700611487.9bb2bbaa3c9b.27232.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:233f7c72663a7db01ad209269f29909a2a9f5438d13531206a7e9749b9618094
|
3 |
+
size 4184
|
runs/Nov22_00-12-42_9bb2bbaa3c9b/events.out.tfevents.1700611965.9bb2bbaa3c9b.30686.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:76cecf3a46a24375cf863ec07a871d4b5693594dfc7d14e44a63263a544d091a
|
3 |
+
size 4922
|
special_tokens_map.json
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<unk>",
|
4 |
+
"<s>",
|
5 |
+
"</s>"
|
6 |
+
],
|
7 |
+
"bos_token": {
|
8 |
+
"content": "<s>",
|
9 |
+
"lstrip": false,
|
10 |
+
"normalized": false,
|
11 |
+
"rstrip": false,
|
12 |
+
"single_word": false
|
13 |
+
},
|
14 |
+
"eos_token": {
|
15 |
+
"content": "</s>",
|
16 |
+
"lstrip": false,
|
17 |
+
"normalized": false,
|
18 |
+
"rstrip": false,
|
19 |
+
"single_word": false
|
20 |
+
},
|
21 |
+
"pad_token": {
|
22 |
+
"content": "</s>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false
|
27 |
+
},
|
28 |
+
"unk_token": {
|
29 |
+
"content": "<unk>",
|
30 |
+
"lstrip": false,
|
31 |
+
"normalized": false,
|
32 |
+
"rstrip": false,
|
33 |
+
"single_word": false
|
34 |
+
}
|
35 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "<unk>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "<s>",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "</s>",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
}
|
27 |
+
},
|
28 |
+
"additional_special_tokens": [
|
29 |
+
"<unk>",
|
30 |
+
"<s>",
|
31 |
+
"</s>"
|
32 |
+
],
|
33 |
+
"bos_token": "<s>",
|
34 |
+
"chat_template": "{% for message in messages %}\n{% if message['role'] == 'user' %}\n{{ '<|user|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'system' %}\n{{ '<|system|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'assistant' %}\n{{ '<|assistant|>\n' + message['content'] + eos_token }}\n{% endif %}\n{% if loop.last and add_generation_prompt %}\n{{ '<|assistant|>' }}\n{% endif %}\n{% endfor %}",
|
35 |
+
"clean_up_tokenization_spaces": false,
|
36 |
+
"eos_token": "</s>",
|
37 |
+
"legacy": true,
|
38 |
+
"model_max_length": 1000000000000000019884624838656,
|
39 |
+
"pad_token": "</s>",
|
40 |
+
"sp_model_kwargs": {},
|
41 |
+
"spaces_between_special_tokens": false,
|
42 |
+
"tokenizer_class": "LlamaTokenizer",
|
43 |
+
"truncation_side": "left",
|
44 |
+
"unk_token": "<unk>",
|
45 |
+
"use_default_system_prompt": true
|
46 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:095fc8eb570c7821109b5b43891161aeeef89ce935874d90a044aba098bf50f7
|
3 |
+
size 4600
|