Model save
Browse files- README.md +69 -0
- adapter_model.safetensors +1 -1
- all_results.json +13 -0
- eval_results.json +8 -0
- runs/Feb28_19-01-03_gpu4-119-4/events.out.tfevents.1709107312.gpu4-119-4.114762.0 +2 -2
- runs/Feb28_19-01-03_gpu4-119-4/events.out.tfevents.1709154026.gpu4-119-4.114762.1 +3 -0
- train_results.json +8 -0
- trainer_state.json +0 -0
README.md
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-ultrachat-lora
|
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-ultrachat-lora
|
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.2118
|
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: 1
|
55 |
+
|
56 |
+
### Training results
|
57 |
+
|
58 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
59 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
60 |
+
| 1.2101 | 1.0 | 7993 | 1.2118 |
|
61 |
+
|
62 |
+
|
63 |
+
### Framework versions
|
64 |
+
|
65 |
+
- PEFT 0.7.1
|
66 |
+
- Transformers 4.36.2
|
67 |
+
- Pytorch 2.1.2+cu118
|
68 |
+
- Datasets 2.14.6
|
69 |
+
- 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 41977616
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2aa003956b29e05f1b63aa859edcae1b240d153b0900f7613998eb44d72ec4f0
|
3 |
size 41977616
|
all_results.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"eval_loss": 1.2118308544158936,
|
4 |
+
"eval_runtime": 1435.6881,
|
5 |
+
"eval_samples": 23110,
|
6 |
+
"eval_samples_per_second": 19.717,
|
7 |
+
"eval_steps_per_second": 0.616,
|
8 |
+
"train_loss": 1.2476971375693162,
|
9 |
+
"train_runtime": 45278.0566,
|
10 |
+
"train_samples": 207865,
|
11 |
+
"train_samples_per_second": 5.649,
|
12 |
+
"train_steps_per_second": 0.177
|
13 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"eval_loss": 1.2118308544158936,
|
4 |
+
"eval_runtime": 1435.6881,
|
5 |
+
"eval_samples": 23110,
|
6 |
+
"eval_samples_per_second": 19.717,
|
7 |
+
"eval_steps_per_second": 0.616
|
8 |
+
}
|
runs/Feb28_19-01-03_gpu4-119-4/events.out.tfevents.1709107312.gpu4-119-4.114762.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:c266f6249a0157015d5fee7eb184a18b1bdafd3710e4cb927a7e0e3c95464e01
|
3 |
+
size 256308
|
runs/Feb28_19-01-03_gpu4-119-4/events.out.tfevents.1709154026.gpu4-119-4.114762.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3a96fd914b21059dcba50ca0f06f3bc092f22e8d59fbab0a73ab2b8def68a528
|
3 |
+
size 359
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"train_loss": 1.2476971375693162,
|
4 |
+
"train_runtime": 45278.0566,
|
5 |
+
"train_samples": 207865,
|
6 |
+
"train_samples_per_second": 5.649,
|
7 |
+
"train_steps_per_second": 0.177
|
8 |
+
}
|
trainer_state.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|