zhangduo4610
commited on
Commit
•
14c73cf
1
Parent(s):
906b118
Model save
Browse files
README.md
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: facebook/opt-350m
|
3 |
+
datasets:
|
4 |
+
- generator
|
5 |
+
library_name: peft
|
6 |
+
license: other
|
7 |
+
tags:
|
8 |
+
- trl
|
9 |
+
- sft
|
10 |
+
- generated_from_trainer
|
11 |
+
model-index:
|
12 |
+
- name: opt350m-qlora
|
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 |
+
# opt350m-qlora
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [facebook/opt-350m](https://huggingface.co/facebook/opt-350m) on the generator dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 1.7868
|
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: 2
|
48 |
+
- gradient_accumulation_steps: 2
|
49 |
+
- total_train_batch_size: 16
|
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: 1
|
55 |
+
|
56 |
+
### Training results
|
57 |
+
|
58 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
59 |
+
|:-------------:|:------:|:----:|:---------------:|
|
60 |
+
| 1.8281 | 0.9999 | 8068 | 1.7868 |
|
61 |
+
|
62 |
+
|
63 |
+
### Framework versions
|
64 |
+
|
65 |
+
- PEFT 0.13.2
|
66 |
+
- Transformers 4.45.0
|
67 |
+
- Pytorch 2.1.2
|
68 |
+
- Datasets 3.1.0
|
69 |
+
- Tokenizers 0.20.3
|
all_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 0.9999380306128772,
|
3 |
+
"total_flos": 4248917998829568.0,
|
4 |
+
"train_loss": 1.863956661347298,
|
5 |
+
"train_runtime": 6909.389,
|
6 |
+
"train_samples": 207864,
|
7 |
+
"train_samples_per_second": 18.684,
|
8 |
+
"train_steps_per_second": 1.168
|
9 |
+
}
|
runs/Nov06_12-39-19_node04.cluster/events.out.tfevents.1730925565.node04.cluster.3914975.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:8cad8f55d20b8b2ba4883c2e7bfc6252b10e429ea67117121ffc64cc00f7b62a
|
3 |
+
size 346658
|
train_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 0.9999380306128772,
|
3 |
+
"total_flos": 4248917998829568.0,
|
4 |
+
"train_loss": 1.863956661347298,
|
5 |
+
"train_runtime": 6909.389,
|
6 |
+
"train_samples": 207864,
|
7 |
+
"train_samples_per_second": 18.684,
|
8 |
+
"train_steps_per_second": 1.168
|
9 |
+
}
|
trainer_state.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|