Training completed!
Browse files- README.md +79 -0
- adapter_config.json +23 -0
- adapter_model.bin +3 -0
- model.safetensors +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: mistralai/Mistral-7B-Instruct-v0.3
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: Mistral-7B-Instruct-v0.3-lora-commonsense
|
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 |
+
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/yspkm/PrunePath-LoRA/runs/9c3s4ewl)
|
15 |
+
# Mistral-7B-Instruct-v0.3-lora-commonsense
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [mistralai/Mistral-7B-Instruct-v0.3](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.3) on an unknown dataset.
|
18 |
+
It achieves the following results on the evaluation set:
|
19 |
+
- Loss: 0.6863
|
20 |
+
|
21 |
+
## Model description
|
22 |
+
|
23 |
+
More information needed
|
24 |
+
|
25 |
+
## Intended uses & limitations
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Training and evaluation data
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Training procedure
|
34 |
+
|
35 |
+
### Training hyperparameters
|
36 |
+
|
37 |
+
The following hyperparameters were used during training:
|
38 |
+
- learning_rate: 0.0001
|
39 |
+
- train_batch_size: 16
|
40 |
+
- eval_batch_size: 8
|
41 |
+
- seed: 42
|
42 |
+
- gradient_accumulation_steps: 8
|
43 |
+
- total_train_batch_size: 128
|
44 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
+
- lr_scheduler_type: cosine
|
46 |
+
- lr_scheduler_warmup_steps: 100
|
47 |
+
- num_epochs: 3
|
48 |
+
|
49 |
+
### Training results
|
50 |
+
|
51 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
52 |
+
|:-------------:|:------:|:----:|:---------------:|
|
53 |
+
| 0.8738 | 0.1503 | 200 | 0.8158 |
|
54 |
+
| 0.8589 | 0.3006 | 400 | 0.7939 |
|
55 |
+
| 0.8589 | 0.4510 | 600 | 0.7800 |
|
56 |
+
| 0.8589 | 0.6013 | 800 | 0.7725 |
|
57 |
+
| 0.8305 | 0.7516 | 1000 | 0.7650 |
|
58 |
+
| 0.8331 | 0.9019 | 1200 | 0.7506 |
|
59 |
+
| 0.7808 | 1.0522 | 1400 | 0.7438 |
|
60 |
+
| 0.7781 | 1.2026 | 1600 | 0.7350 |
|
61 |
+
| 0.7647 | 1.3529 | 1800 | 0.7252 |
|
62 |
+
| 0.7651 | 1.5032 | 2000 | 0.7228 |
|
63 |
+
| 0.7522 | 1.6535 | 2200 | 0.7099 |
|
64 |
+
| 0.7587 | 1.8038 | 2400 | 0.6997 |
|
65 |
+
| 0.7383 | 1.9542 | 2600 | 0.6932 |
|
66 |
+
| 0.7071 | 2.1045 | 2800 | 0.6949 |
|
67 |
+
| 0.6919 | 2.2548 | 3000 | 0.6899 |
|
68 |
+
| 0.7136 | 2.4051 | 3200 | 0.6884 |
|
69 |
+
| 0.6912 | 2.5554 | 3400 | 0.6878 |
|
70 |
+
| 0.6889 | 2.7057 | 3600 | 0.6867 |
|
71 |
+
| 0.6862 | 2.8561 | 3800 | 0.6863 |
|
72 |
+
|
73 |
+
|
74 |
+
### Framework versions
|
75 |
+
|
76 |
+
- Transformers 4.42.3
|
77 |
+
- Pytorch 2.3.1+cu121
|
78 |
+
- Datasets 2.20.0
|
79 |
+
- Tokenizers 0.19.1
|
adapter_config.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"base_model_name_or_path": "mistralai/Mistral-7B-Instruct-v0.3",
|
3 |
+
"bias": "none",
|
4 |
+
"enable_lora": null,
|
5 |
+
"fan_in_fan_out": false,
|
6 |
+
"inference_mode": true,
|
7 |
+
"lora_alpha": 64,
|
8 |
+
"lora_dropout": 0.5,
|
9 |
+
"merge_weights": false,
|
10 |
+
"modules_to_save": null,
|
11 |
+
"peft_type": "LORA",
|
12 |
+
"r": 32,
|
13 |
+
"target_modules": [
|
14 |
+
"q_proj",
|
15 |
+
"k_proj",
|
16 |
+
"v_proj",
|
17 |
+
"o_proj",
|
18 |
+
"gate_proj",
|
19 |
+
"up_proj",
|
20 |
+
"down_proj"
|
21 |
+
],
|
22 |
+
"task_type": "CAUSAL_LM"
|
23 |
+
}
|
adapter_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1444d7174984423ba3e8d8b6de92cc3051249dac012a50b85a4283e5fb8975c4
|
3 |
+
size 335706186
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:11a7607fbe8586b4f4b455b3b9ed0d36dff0e209aeb88bcf79ec51d8ed0da7c4
|
3 |
+
size 335604696
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4e4e5c6743d94a818f6651dd93cecec2965c64901d2efcce61dfe2c6f6d51462
|
3 |
+
size 5304
|