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-Instruct-v0.1
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: mistral-try-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-try-finetune
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [mistralai/Mistral-7B-Instruct-v0.1](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.1) on an unknown dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 0.3805
|
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: 18
|
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: constant
|
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.5606 | 0.57 | 50 | 0.8581 |
|
54 |
+
| 0.5656 | 1.14 | 100 | 0.5153 |
|
55 |
+
| 0.3651 | 1.71 | 150 | 0.4257 |
|
56 |
+
| 0.2995 | 2.29 | 200 | 0.3750 |
|
57 |
+
| 0.2008 | 2.86 | 250 | 0.3405 |
|
58 |
+
| 0.1693 | 3.43 | 300 | 0.3282 |
|
59 |
+
| 0.144 | 4.0 | 350 | 0.3156 |
|
60 |
+
| 0.1112 | 4.57 | 400 | 0.3209 |
|
61 |
+
| 0.0949 | 5.14 | 450 | 0.3346 |
|
62 |
+
| 0.0801 | 5.71 | 500 | 0.3212 |
|
63 |
+
| 0.0717 | 6.29 | 550 | 0.3288 |
|
64 |
+
| 0.0579 | 6.86 | 600 | 0.3255 |
|
65 |
+
| 0.0486 | 7.43 | 650 | 0.3359 |
|
66 |
+
| 0.0495 | 8.0 | 700 | 0.3273 |
|
67 |
+
| 0.0374 | 8.57 | 750 | 0.3617 |
|
68 |
+
| 0.0377 | 9.14 | 800 | 0.3725 |
|
69 |
+
| 0.0324 | 9.71 | 850 | 0.3697 |
|
70 |
+
| 0.0338 | 10.29 | 900 | 0.3946 |
|
71 |
+
| 0.0305 | 10.86 | 950 | 0.3605 |
|
72 |
+
| 0.0289 | 11.43 | 1000 | 0.3805 |
|
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-Instruct-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 |
+
"v_proj",
|
20 |
+
"k_proj",
|
21 |
+
"down_proj",
|
22 |
+
"o_proj",
|
23 |
+
"up_proj",
|
24 |
+
"lm_head",
|
25 |
+
"gate_proj",
|
26 |
+
"q_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:7b7de627250caac00c7d33fd7d32afeaa5d1774347c09687799acc96bba9aa1c
|
3 |
+
size 85100592
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:39908e637f5f106e26f7e3334d880c2450a958759592281e29ecab61c295f0e5
|
3 |
+
size 4600
|