Model save
Browse files- README.md +65 -0
- adapter_config.json +25 -0
- adapter_model.safetensors +3 -0
- all_results.json +13 -0
- eval_results.json +8 -0
- runs/Dec13_10-50-02_howth/events.out.tfevents.1702464651.howth.173562.0 +3 -0
- runs/Dec13_10-50-02_howth/events.out.tfevents.1702464873.howth.173562.1 +3 -0
- special_tokens_map.json +24 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +41 -0
- train_results.json +8 -0
- trainer_state.json +76 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: mistralai/Mistral-7B-v0.1
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: mistral-rdm
|
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 |
+
# mistral-rdm
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [mistralai/Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1) on an unknown dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 2.3047
|
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: 2e-05
|
38 |
+
- train_batch_size: 5
|
39 |
+
- eval_batch_size: 5
|
40 |
+
- seed: 42
|
41 |
+
- distributed_type: multi-GPU
|
42 |
+
- gradient_accumulation_steps: 128
|
43 |
+
- total_train_batch_size: 640
|
44 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
+
- lr_scheduler_type: cosine
|
46 |
+
- num_epochs: 6
|
47 |
+
|
48 |
+
### Training results
|
49 |
+
|
50 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
51 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
52 |
+
| No log | 0 | 0 | 2.3047 |
|
53 |
+
| No log | 0 | 0 | 2.3047 |
|
54 |
+
| No log | 0 | 0 | 2.3047 |
|
55 |
+
| No log | 0 | 0 | 2.3047 |
|
56 |
+
| No log | 0 | 0 | 2.3047 |
|
57 |
+
| No log | 0 | 0 | 2.3047 |
|
58 |
+
|
59 |
+
|
60 |
+
### Framework versions
|
61 |
+
|
62 |
+
- Transformers 4.35.0
|
63 |
+
- Pytorch 2.1.1
|
64 |
+
- Datasets 2.14.6
|
65 |
+
- Tokenizers 0.14.1
|
adapter_config.json
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "mistralai/Mistral-7B-v0.1",
|
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 |
+
"o_proj",
|
20 |
+
"v_proj",
|
21 |
+
"k_proj",
|
22 |
+
"q_proj"
|
23 |
+
],
|
24 |
+
"task_type": "CAUSAL_LM"
|
25 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9c4851d0fda021876b9eb5ecbd6ec0d108d643bb4b81a517a68af72134d8b407
|
3 |
+
size 218138576
|
all_results.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 0,
|
3 |
+
"eval_loss": 2.3047213554382324,
|
4 |
+
"eval_runtime": 8.4949,
|
5 |
+
"eval_samples": 820,
|
6 |
+
"eval_samples_per_second": 96.529,
|
7 |
+
"eval_steps_per_second": 19.306,
|
8 |
+
"train_loss": 1404.587984085083,
|
9 |
+
"train_runtime": 212.882,
|
10 |
+
"train_samples": 820,
|
11 |
+
"train_samples_per_second": 23.111,
|
12 |
+
"train_steps_per_second": 0.028
|
13 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 0,
|
3 |
+
"eval_loss": 2.3047213554382324,
|
4 |
+
"eval_runtime": 8.4949,
|
5 |
+
"eval_samples": 820,
|
6 |
+
"eval_samples_per_second": 96.529,
|
7 |
+
"eval_steps_per_second": 19.306
|
8 |
+
}
|
runs/Dec13_10-50-02_howth/events.out.tfevents.1702464651.howth.173562.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1bda917a87b3dde1e4f307f21f859b96de54486b5bd7f387e85fd18eaa94daf4
|
3 |
+
size 6097
|
runs/Dec13_10-50-02_howth/events.out.tfevents.1702464873.howth.173562.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f1d7875942d150c45570ff4d7234e020fd031941b7e72846e13de2a1b97fdf6a
|
3 |
+
size 344
|
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.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,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"bos_token": "<s>",
|
30 |
+
"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 %}",
|
31 |
+
"clean_up_tokenization_spaces": false,
|
32 |
+
"eos_token": "</s>",
|
33 |
+
"legacy": true,
|
34 |
+
"model_max_length": 2048,
|
35 |
+
"pad_token": "</s>",
|
36 |
+
"sp_model_kwargs": {},
|
37 |
+
"spaces_between_special_tokens": false,
|
38 |
+
"tokenizer_class": "LlamaTokenizer",
|
39 |
+
"unk_token": "<unk>",
|
40 |
+
"use_default_system_prompt": false
|
41 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 0,
|
3 |
+
"train_loss": 1404.587984085083,
|
4 |
+
"train_runtime": 212.882,
|
5 |
+
"train_samples": 820,
|
6 |
+
"train_samples_per_second": 23.111,
|
7 |
+
"train_steps_per_second": 0.028
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 0,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0,
|
13 |
+
"eval_loss": 2.304720878601074,
|
14 |
+
"eval_runtime": 8.4159,
|
15 |
+
"eval_samples_per_second": 97.435,
|
16 |
+
"eval_steps_per_second": 19.487,
|
17 |
+
"step": 0
|
18 |
+
},
|
19 |
+
{
|
20 |
+
"epoch": 0,
|
21 |
+
"eval_loss": 2.3047213554382324,
|
22 |
+
"eval_runtime": 8.4725,
|
23 |
+
"eval_samples_per_second": 96.784,
|
24 |
+
"eval_steps_per_second": 19.357,
|
25 |
+
"step": 0
|
26 |
+
},
|
27 |
+
{
|
28 |
+
"epoch": 0,
|
29 |
+
"eval_loss": 2.3047211170196533,
|
30 |
+
"eval_runtime": 8.4856,
|
31 |
+
"eval_samples_per_second": 96.634,
|
32 |
+
"eval_steps_per_second": 19.327,
|
33 |
+
"step": 0
|
34 |
+
},
|
35 |
+
{
|
36 |
+
"epoch": 0,
|
37 |
+
"eval_loss": 2.304720878601074,
|
38 |
+
"eval_runtime": 8.5069,
|
39 |
+
"eval_samples_per_second": 96.393,
|
40 |
+
"eval_steps_per_second": 19.279,
|
41 |
+
"step": 0
|
42 |
+
},
|
43 |
+
{
|
44 |
+
"epoch": 0,
|
45 |
+
"eval_loss": 2.3047211170196533,
|
46 |
+
"eval_runtime": 8.5052,
|
47 |
+
"eval_samples_per_second": 96.412,
|
48 |
+
"eval_steps_per_second": 19.282,
|
49 |
+
"step": 0
|
50 |
+
},
|
51 |
+
{
|
52 |
+
"epoch": 0,
|
53 |
+
"eval_loss": 2.3047211170196533,
|
54 |
+
"eval_runtime": 8.5056,
|
55 |
+
"eval_samples_per_second": 96.407,
|
56 |
+
"eval_steps_per_second": 19.281,
|
57 |
+
"step": 0
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"epoch": 0,
|
61 |
+
"step": 0,
|
62 |
+
"total_flos": 3.3809589564604416e+16,
|
63 |
+
"train_loss": 1404.587984085083,
|
64 |
+
"train_runtime": 212.882,
|
65 |
+
"train_samples_per_second": 23.111,
|
66 |
+
"train_steps_per_second": 0.028
|
67 |
+
}
|
68 |
+
],
|
69 |
+
"logging_steps": 5,
|
70 |
+
"max_steps": 6,
|
71 |
+
"num_train_epochs": 6,
|
72 |
+
"save_steps": 500,
|
73 |
+
"total_flos": 3.3809589564604416e+16,
|
74 |
+
"trial_name": null,
|
75 |
+
"trial_params": null
|
76 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3ad9f52fa43cb747841fdac8938f626d5a7e71c446f9bcdcdc942d6bd819e341
|
3 |
+
size 4600
|