End of training
Browse files- README.md +80 -0
- adapter_config.json +29 -0
- adapter_model.safetensors +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-json-finetune
|
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-json-finetune
|
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: 0.3730
|
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: 2.5e-05
|
38 |
+
- train_batch_size: 2
|
39 |
+
- eval_batch_size: 8
|
40 |
+
- seed: 42
|
41 |
+
- gradient_accumulation_steps: 4
|
42 |
+
- total_train_batch_size: 8
|
43 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
44 |
+
- lr_scheduler_type: linear
|
45 |
+
- lr_scheduler_warmup_steps: 5
|
46 |
+
- training_steps: 1000
|
47 |
+
- mixed_precision_training: Native AMP
|
48 |
+
|
49 |
+
### Training results
|
50 |
+
|
51 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
52 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
53 |
+
| 1.2986 | 0.57 | 50 | 0.6897 |
|
54 |
+
| 0.4469 | 1.14 | 100 | 0.4239 |
|
55 |
+
| 0.2978 | 1.71 | 150 | 0.3497 |
|
56 |
+
| 0.2279 | 2.29 | 200 | 0.3126 |
|
57 |
+
| 0.1869 | 2.86 | 250 | 0.2858 |
|
58 |
+
| 0.137 | 3.43 | 300 | 0.2848 |
|
59 |
+
| 0.1221 | 4.0 | 350 | 0.2713 |
|
60 |
+
| 0.0918 | 4.57 | 400 | 0.2750 |
|
61 |
+
| 0.0832 | 5.14 | 450 | 0.2781 |
|
62 |
+
| 0.0681 | 5.71 | 500 | 0.2807 |
|
63 |
+
| 0.055 | 6.29 | 550 | 0.2902 |
|
64 |
+
| 0.0515 | 6.86 | 600 | 0.2746 |
|
65 |
+
| 0.0463 | 7.43 | 650 | 0.3078 |
|
66 |
+
| 0.0421 | 8.0 | 700 | 0.2971 |
|
67 |
+
| 0.0354 | 8.57 | 750 | 0.3196 |
|
68 |
+
| 0.0276 | 9.14 | 800 | 0.3490 |
|
69 |
+
| 0.0281 | 9.71 | 850 | 0.3411 |
|
70 |
+
| 0.026 | 10.29 | 900 | 0.3658 |
|
71 |
+
| 0.0241 | 10.86 | 950 | 0.3661 |
|
72 |
+
| 0.0209 | 11.43 | 1000 | 0.3730 |
|
73 |
+
|
74 |
+
|
75 |
+
### Framework versions
|
76 |
+
|
77 |
+
- Transformers 4.36.0.dev0
|
78 |
+
- Pytorch 2.1.1+cu121
|
79 |
+
- Datasets 2.15.0
|
80 |
+
- Tokenizers 0.15.0
|
adapter_config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.05,
|
13 |
+
"modules_to_save": null,
|
14 |
+
"peft_type": "LORA",
|
15 |
+
"r": 8,
|
16 |
+
"rank_pattern": {},
|
17 |
+
"revision": null,
|
18 |
+
"target_modules": [
|
19 |
+
"k_proj",
|
20 |
+
"down_proj",
|
21 |
+
"up_proj",
|
22 |
+
"o_proj",
|
23 |
+
"q_proj",
|
24 |
+
"lm_head",
|
25 |
+
"gate_proj",
|
26 |
+
"v_proj"
|
27 |
+
],
|
28 |
+
"task_type": "CAUSAL_LM"
|
29 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7c27bdbf13939e2c204a38683f5e6425e6731ce9b8d2dbb406509cd6ab1da489
|
3 |
+
size 85100592
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4828cb9438ee20ea6c4baeb9aa9b9e7758ce5fb93a8da77359abe2085774cde3
|
3 |
+
size 4600
|