Model save
Browse files- README.md +71 -0
- adapter_model.safetensors +1 -1
- all_results.json +13 -0
- eval_results.json +8 -0
- runs/Mar11_17-49-21_gpu4-119-4/events.out.tfevents.1710139808.gpu4-119-4.3871071.0 +2 -2
- runs/Mar11_17-49-21_gpu4-119-4/events.out.tfevents.1710279048.gpu4-119-4.3871071.1 +3 -0
- train_results.json +8 -0
- trainer_state.json +0 -0
README.md
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
library_name: peft
|
4 |
+
tags:
|
5 |
+
- trl
|
6 |
+
- sft
|
7 |
+
- generated_from_trainer
|
8 |
+
datasets:
|
9 |
+
- generator
|
10 |
+
base_model: microsoft/phi-2
|
11 |
+
model-index:
|
12 |
+
- name: phi-2-sft-lora-ultrachat
|
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 |
+
# phi-2-sft-lora-ultrachat
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [microsoft/phi-2](https://huggingface.co/microsoft/phi-2) on the generator dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 1.2043
|
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: 2e-05
|
43 |
+
- train_batch_size: 4
|
44 |
+
- eval_batch_size: 4
|
45 |
+
- seed: 42
|
46 |
+
- distributed_type: multi-GPU
|
47 |
+
- num_devices: 4
|
48 |
+
- gradient_accumulation_steps: 4
|
49 |
+
- total_train_batch_size: 64
|
50 |
+
- total_eval_batch_size: 16
|
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: 3
|
55 |
+
|
56 |
+
### Training results
|
57 |
+
|
58 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
59 |
+
|:-------------:|:-----:|:-----:|:---------------:|
|
60 |
+
| 1.2257 | 1.0 | 3996 | 1.2098 |
|
61 |
+
| 1.1658 | 2.0 | 7993 | 1.2050 |
|
62 |
+
| 1.2092 | 3.0 | 11988 | 1.2043 |
|
63 |
+
|
64 |
+
|
65 |
+
### Framework versions
|
66 |
+
|
67 |
+
- PEFT 0.7.1
|
68 |
+
- Transformers 4.36.2
|
69 |
+
- Pytorch 2.1.2+cu118
|
70 |
+
- Datasets 2.14.6
|
71 |
+
- Tokenizers 0.15.2
|
adapter_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 167807296
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:12fe922c58140610232cbc1ab54719b917e41ad9d49724e4e4cb0cbdac1375ef
|
3 |
size 167807296
|
all_results.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.0,
|
3 |
+
"eval_loss": 1.2043143510818481,
|
4 |
+
"eval_runtime": 1766.7333,
|
5 |
+
"eval_samples": 23110,
|
6 |
+
"eval_samples_per_second": 16.022,
|
7 |
+
"eval_steps_per_second": 1.002,
|
8 |
+
"train_loss": 1.2296489907933905,
|
9 |
+
"train_runtime": 137473.834,
|
10 |
+
"train_samples": 207865,
|
11 |
+
"train_samples_per_second": 5.582,
|
12 |
+
"train_steps_per_second": 0.087
|
13 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.0,
|
3 |
+
"eval_loss": 1.2043143510818481,
|
4 |
+
"eval_runtime": 1766.7333,
|
5 |
+
"eval_samples": 23110,
|
6 |
+
"eval_samples_per_second": 16.022,
|
7 |
+
"eval_steps_per_second": 1.002
|
8 |
+
}
|
runs/Mar11_17-49-21_gpu4-119-4/events.out.tfevents.1710139808.gpu4-119-4.3871071.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:59054c2009ce2d91c8355f5381c6d90281ecc7f95d6bbb0a429849d852102c9a
|
3 |
+
size 382306
|
runs/Mar11_17-49-21_gpu4-119-4/events.out.tfevents.1710279048.gpu4-119-4.3871071.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c8142c784055a5bb4a1f376fff510388d059b1c7fc5c683f7d3805c3a8e6136d
|
3 |
+
size 359
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.0,
|
3 |
+
"train_loss": 1.2296489907933905,
|
4 |
+
"train_runtime": 137473.834,
|
5 |
+
"train_samples": 207865,
|
6 |
+
"train_samples_per_second": 5.582,
|
7 |
+
"train_steps_per_second": 0.087
|
8 |
+
}
|
trainer_state.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|