joedonino/zephyr-7b-radia-html-events-v8
Browse files- README.md +100 -0
- adapter_config.json +23 -0
- adapter_model.safetensors +3 -0
- special_tokens_map.json +29 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +49 -0
- training_args.bin +3 -0
README.md
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
base_model: HuggingFaceH4/zephyr-7b-beta
|
| 4 |
+
tags:
|
| 5 |
+
- generated_from_trainer
|
| 6 |
+
model-index:
|
| 7 |
+
- name: models
|
| 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 |
+
# models
|
| 15 |
+
|
| 16 |
+
This model is a fine-tuned version of [HuggingFaceH4/zephyr-7b-beta](https://huggingface.co/HuggingFaceH4/zephyr-7b-beta) on the None dataset.
|
| 17 |
+
It achieves the following results on the evaluation set:
|
| 18 |
+
- Loss: 0.7368
|
| 19 |
+
|
| 20 |
+
## Model description
|
| 21 |
+
|
| 22 |
+
More information needed
|
| 23 |
+
|
| 24 |
+
## Intended uses & limitations
|
| 25 |
+
|
| 26 |
+
More information needed
|
| 27 |
+
|
| 28 |
+
## Training and evaluation data
|
| 29 |
+
|
| 30 |
+
More information needed
|
| 31 |
+
|
| 32 |
+
## Training procedure
|
| 33 |
+
|
| 34 |
+
### Training hyperparameters
|
| 35 |
+
|
| 36 |
+
The following hyperparameters were used during training:
|
| 37 |
+
- learning_rate: 0.0004
|
| 38 |
+
- train_batch_size: 8
|
| 39 |
+
- eval_batch_size: 8
|
| 40 |
+
- seed: 42
|
| 41 |
+
- gradient_accumulation_steps: 2
|
| 42 |
+
- total_train_batch_size: 16
|
| 43 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 44 |
+
- lr_scheduler_type: linear
|
| 45 |
+
- lr_scheduler_warmup_steps: 100
|
| 46 |
+
- training_steps: 40
|
| 47 |
+
- mixed_precision_training: Native AMP
|
| 48 |
+
|
| 49 |
+
### Training results
|
| 50 |
+
|
| 51 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
| 52 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
| 53 |
+
| 0.9828 | 0.02 | 1 | 1.0330 |
|
| 54 |
+
| 1.1538 | 0.03 | 2 | 1.0256 |
|
| 55 |
+
| 0.9734 | 0.05 | 3 | 1.0120 |
|
| 56 |
+
| 1.0574 | 0.07 | 4 | 0.9942 |
|
| 57 |
+
| 0.9797 | 0.09 | 5 | 0.9755 |
|
| 58 |
+
| 0.9399 | 0.1 | 6 | 0.9580 |
|
| 59 |
+
| 1.0294 | 0.12 | 7 | 0.9434 |
|
| 60 |
+
| 0.7965 | 0.14 | 8 | 0.9318 |
|
| 61 |
+
| 0.7741 | 0.16 | 9 | 0.9236 |
|
| 62 |
+
| 0.8252 | 0.17 | 10 | 0.9178 |
|
| 63 |
+
| 0.8478 | 0.19 | 11 | 0.9135 |
|
| 64 |
+
| 0.9641 | 0.21 | 12 | 0.9068 |
|
| 65 |
+
| 0.9073 | 0.22 | 13 | 0.8980 |
|
| 66 |
+
| 0.9682 | 0.24 | 14 | 0.8877 |
|
| 67 |
+
| 0.8794 | 0.26 | 15 | 0.8774 |
|
| 68 |
+
| 0.7602 | 0.28 | 16 | 0.8690 |
|
| 69 |
+
| 0.9019 | 0.29 | 17 | 0.8611 |
|
| 70 |
+
| 0.8619 | 0.31 | 18 | 0.8547 |
|
| 71 |
+
| 0.8195 | 0.33 | 19 | 0.8484 |
|
| 72 |
+
| 0.9562 | 0.34 | 20 | 0.8418 |
|
| 73 |
+
| 0.7822 | 0.36 | 21 | 0.8366 |
|
| 74 |
+
| 0.767 | 0.38 | 22 | 0.8308 |
|
| 75 |
+
| 0.9024 | 0.4 | 23 | 0.8242 |
|
| 76 |
+
| 0.8596 | 0.41 | 24 | 0.8183 |
|
| 77 |
+
| 0.8424 | 0.43 | 25 | 0.8123 |
|
| 78 |
+
| 0.7396 | 0.45 | 26 | 0.8059 |
|
| 79 |
+
| 0.7742 | 0.47 | 27 | 0.7999 |
|
| 80 |
+
| 0.7007 | 0.48 | 28 | 0.7943 |
|
| 81 |
+
| 0.6915 | 0.5 | 29 | 0.7890 |
|
| 82 |
+
| 0.7054 | 0.52 | 30 | 0.7836 |
|
| 83 |
+
| 0.7622 | 0.53 | 31 | 0.7785 |
|
| 84 |
+
| 0.6493 | 0.55 | 32 | 0.7720 |
|
| 85 |
+
| 0.6106 | 0.57 | 33 | 0.7650 |
|
| 86 |
+
| 0.7534 | 0.59 | 34 | 0.7583 |
|
| 87 |
+
| 0.7065 | 0.6 | 35 | 0.7532 |
|
| 88 |
+
| 0.8823 | 0.62 | 36 | 0.7472 |
|
| 89 |
+
| 0.7082 | 0.64 | 37 | 0.7424 |
|
| 90 |
+
| 0.7292 | 0.66 | 38 | 0.7405 |
|
| 91 |
+
| 0.8142 | 0.67 | 39 | 0.7390 |
|
| 92 |
+
| 0.6079 | 0.69 | 40 | 0.7368 |
|
| 93 |
+
|
| 94 |
+
|
| 95 |
+
### Framework versions
|
| 96 |
+
|
| 97 |
+
- Transformers 4.36.0.dev0
|
| 98 |
+
- Pytorch 2.1.0+cu118
|
| 99 |
+
- Datasets 2.15.0
|
| 100 |
+
- 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-beta",
|
| 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": 256,
|
| 12 |
+
"lora_dropout": 0.1,
|
| 13 |
+
"modules_to_save": null,
|
| 14 |
+
"peft_type": "LORA",
|
| 15 |
+
"r": 128,
|
| 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:ff7dce7132c891ffbe67bab4637150f2060c2ee2c36a99daf0878768bbdd3866
|
| 3 |
+
size 218121344
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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": "</s>",
|
| 22 |
+
"unk_token": {
|
| 23 |
+
"content": "<unk>",
|
| 24 |
+
"lstrip": false,
|
| 25 |
+
"normalized": false,
|
| 26 |
+
"rstrip": false,
|
| 27 |
+
"single_word": false
|
| 28 |
+
}
|
| 29 |
+
}
|
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:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
|
| 3 |
+
size 493443
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_bos_token": true,
|
| 3 |
+
"add_eos_token": true,
|
| 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 |
+
"additional_special_tokens": [
|
| 31 |
+
"<unk>",
|
| 32 |
+
"<s>",
|
| 33 |
+
"</s>"
|
| 34 |
+
],
|
| 35 |
+
"bos_token": "<s>",
|
| 36 |
+
"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 %}",
|
| 37 |
+
"clean_up_tokenization_spaces": false,
|
| 38 |
+
"eos_token": "</s>",
|
| 39 |
+
"legacy": true,
|
| 40 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 41 |
+
"pad_token": "</s>",
|
| 42 |
+
"padding_side": "left",
|
| 43 |
+
"sp_model_kwargs": {},
|
| 44 |
+
"spaces_between_special_tokens": false,
|
| 45 |
+
"tokenizer_class": "LlamaTokenizer",
|
| 46 |
+
"truncation_side": "left",
|
| 47 |
+
"unk_token": "<unk>",
|
| 48 |
+
"use_default_system_prompt": true
|
| 49 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:35c74119243eb67b7f4f38ac8ec07c8db0cbe159c5478dd6e0b3865b874c05b6
|
| 3 |
+
size 4664
|