Model save
Browse files- README.md +70 -0
- adapter_model.safetensors +1 -1
- all_results.json +13 -0
- eval_results.json +8 -0
- train_results.json +8 -0
- trainer_state.json +0 -0
README.md
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
library_name: peft
|
4 |
+
tags:
|
5 |
+
- trl
|
6 |
+
- sft
|
7 |
+
- generated_from_trainer
|
8 |
+
datasets:
|
9 |
+
- generator
|
10 |
+
base_model: mistralai/Mistral-7B-v0.1
|
11 |
+
model-index:
|
12 |
+
- name: mistral-7b-sft-qlora-2ep
|
13 |
+
results: []
|
14 |
+
---
|
15 |
+
|
16 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
17 |
+
should probably proofread and complete it, then remove this comment. -->
|
18 |
+
|
19 |
+
# mistral-7b-sft-qlora-2ep
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [mistralai/Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1) on the generator dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 4.4689
|
24 |
+
|
25 |
+
## Model description
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Intended uses & limitations
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Training and evaluation data
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training procedure
|
38 |
+
|
39 |
+
### Training hyperparameters
|
40 |
+
|
41 |
+
The following hyperparameters were used during training:
|
42 |
+
- learning_rate: 0.0002
|
43 |
+
- train_batch_size: 4
|
44 |
+
- eval_batch_size: 8
|
45 |
+
- seed: 42
|
46 |
+
- distributed_type: multi-GPU
|
47 |
+
- num_devices: 4
|
48 |
+
- gradient_accumulation_steps: 2
|
49 |
+
- total_train_batch_size: 32
|
50 |
+
- total_eval_batch_size: 32
|
51 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
52 |
+
- lr_scheduler_type: cosine
|
53 |
+
- lr_scheduler_warmup_ratio: 0.1
|
54 |
+
- num_epochs: 2
|
55 |
+
|
56 |
+
### Training results
|
57 |
+
|
58 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
59 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
60 |
+
| 5.113 | 1.0 | 4357 | 5.0591 |
|
61 |
+
| 4.5056 | 2.0 | 8714 | 4.4689 |
|
62 |
+
|
63 |
+
|
64 |
+
### Framework versions
|
65 |
+
|
66 |
+
- PEFT 0.7.1
|
67 |
+
- Transformers 4.36.2
|
68 |
+
- Pytorch 2.1.2+cu121
|
69 |
+
- Datasets 2.14.6
|
70 |
+
- Tokenizers 0.15.0
|
adapter_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 83946192
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2615ef28ab0315107f870dc2dbf1203ceec73e1ce71bc1a19b0737c9e73782a9
|
3 |
size 83946192
|
all_results.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 2.0,
|
3 |
+
"eval_loss": 4.468899726867676,
|
4 |
+
"eval_runtime": 1139.7383,
|
5 |
+
"eval_samples": 23110,
|
6 |
+
"eval_samples_per_second": 13.539,
|
7 |
+
"eval_steps_per_second": 0.424,
|
8 |
+
"train_loss": 4.463997247680382,
|
9 |
+
"train_runtime": 72530.8249,
|
10 |
+
"train_samples": 207865,
|
11 |
+
"train_samples_per_second": 3.845,
|
12 |
+
"train_steps_per_second": 0.12
|
13 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 2.0,
|
3 |
+
"eval_loss": 4.468899726867676,
|
4 |
+
"eval_runtime": 1139.7383,
|
5 |
+
"eval_samples": 23110,
|
6 |
+
"eval_samples_per_second": 13.539,
|
7 |
+
"eval_steps_per_second": 0.424
|
8 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 2.0,
|
3 |
+
"train_loss": 4.463997247680382,
|
4 |
+
"train_runtime": 72530.8249,
|
5 |
+
"train_samples": 207865,
|
6 |
+
"train_samples_per_second": 3.845,
|
7 |
+
"train_steps_per_second": 0.12
|
8 |
+
}
|
trainer_state.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|