satyaalmasian
commited on
Commit
•
bb4feb3
1
Parent(s):
df01273
Model save
Browse files- README.md +84 -0
- adapter_model.safetensors +1 -1
- all_results.json +8 -0
- train_results.json +8 -0
- trainer_state.json +0 -0
README.md
ADDED
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: microsoft/Phi-3-mini-4k-instruct
|
3 |
+
library_name: peft
|
4 |
+
license: mit
|
5 |
+
tags:
|
6 |
+
- trl
|
7 |
+
- sft
|
8 |
+
- generated_from_trainer
|
9 |
+
model-index:
|
10 |
+
- name: hf_llama3_lora
|
11 |
+
results: []
|
12 |
+
---
|
13 |
+
|
14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
15 |
+
should probably proofread and complete it, then remove this comment. -->
|
16 |
+
|
17 |
+
[<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/hmosousa/huggingface/runs/d375v2e7)
|
18 |
+
# hf_llama3_lora
|
19 |
+
|
20 |
+
This model is a fine-tuned version of [microsoft/Phi-3-mini-4k-instruct](https://huggingface.co/microsoft/Phi-3-mini-4k-instruct) on an unknown dataset.
|
21 |
+
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 1.2972
|
23 |
+
|
24 |
+
## Model description
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Intended uses & limitations
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training and evaluation data
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Training procedure
|
37 |
+
|
38 |
+
### Training hyperparameters
|
39 |
+
|
40 |
+
The following hyperparameters were used during training:
|
41 |
+
- learning_rate: 2e-05
|
42 |
+
- train_batch_size: 4
|
43 |
+
- eval_batch_size: 4
|
44 |
+
- seed: 42
|
45 |
+
- distributed_type: multi-GPU
|
46 |
+
- num_devices: 5
|
47 |
+
- gradient_accumulation_steps: 32
|
48 |
+
- total_train_batch_size: 640
|
49 |
+
- total_eval_batch_size: 20
|
50 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
51 |
+
- lr_scheduler_type: cosine
|
52 |
+
- lr_scheduler_warmup_steps: 1000
|
53 |
+
- num_epochs: 10
|
54 |
+
|
55 |
+
### Training results
|
56 |
+
|
57 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
58 |
+
|:-------------:|:------:|:----:|:---------------:|
|
59 |
+
| 1.4042 | 0.1862 | 500 | 1.3990 |
|
60 |
+
| 1.3445 | 0.3723 | 1000 | 1.3608 |
|
61 |
+
| 1.291 | 0.5585 | 1500 | 1.3493 |
|
62 |
+
| 1.264 | 0.7446 | 2000 | 1.3381 |
|
63 |
+
| 1.2438 | 0.9308 | 2500 | 1.3257 |
|
64 |
+
| 1.2333 | 1.1169 | 3000 | 1.3242 |
|
65 |
+
| 1.2084 | 1.3031 | 3500 | 1.3167 |
|
66 |
+
| 1.2227 | 1.4892 | 4000 | 1.3178 |
|
67 |
+
| 1.2151 | 1.6754 | 4500 | 1.3092 |
|
68 |
+
| 1.2114 | 1.8615 | 5000 | 1.3060 |
|
69 |
+
| 1.1645 | 2.0477 | 5500 | 1.3068 |
|
70 |
+
| 1.1793 | 2.2338 | 6000 | 1.3026 |
|
71 |
+
| 1.1809 | 2.4200 | 6500 | 1.3014 |
|
72 |
+
| 1.1934 | 2.6061 | 7000 | 1.2935 |
|
73 |
+
| 1.175 | 2.7923 | 7500 | 1.2953 |
|
74 |
+
| 1.1629 | 2.9784 | 8000 | 1.2954 |
|
75 |
+
| 1.1559 | 3.1646 | 8500 | 1.2972 |
|
76 |
+
|
77 |
+
|
78 |
+
### Framework versions
|
79 |
+
|
80 |
+
- PEFT 0.9.0
|
81 |
+
- Transformers 4.43.0.dev0
|
82 |
+
- Pytorch 2.3.0+cu121
|
83 |
+
- Datasets 2.18.0
|
84 |
+
- Tokenizers 0.19.1
|
adapter_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 402688552
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:30eabfceb6720d1a23c92d408c7b6f2f7fe368884da4f829d0f8590bcf3fef10
|
3 |
size 402688552
|
all_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.1645937801770776,
|
3 |
+
"total_flos": 1.2178098370248075e+20,
|
4 |
+
"train_loss": 1.2383465781352099,
|
5 |
+
"train_runtime": 245543.4426,
|
6 |
+
"train_samples_per_second": 70.008,
|
7 |
+
"train_steps_per_second": 0.109
|
8 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.1645937801770776,
|
3 |
+
"total_flos": 1.2178098370248075e+20,
|
4 |
+
"train_loss": 1.2383465781352099,
|
5 |
+
"train_runtime": 245543.4426,
|
6 |
+
"train_samples_per_second": 70.008,
|
7 |
+
"train_steps_per_second": 0.109
|
8 |
+
}
|
trainer_state.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|