Model save
Browse files- README.md +59 -0
- adapter_model.safetensors +1 -1
- all_results.json +9 -0
- runs/Apr10_16-38-49_llamaguard2/events.out.tfevents.1712767139.llamaguard2.126928.0 +2 -2
- train_results.json +9 -0
- trainer_state.json +51 -0
README.md
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: llama2
|
3 |
+
library_name: peft
|
4 |
+
tags:
|
5 |
+
- trl
|
6 |
+
- sft
|
7 |
+
- generated_from_trainer
|
8 |
+
base_model: meta-llama/LlamaGuard-7b
|
9 |
+
model-index:
|
10 |
+
- name: llama-guard-finetuned-1ep-500
|
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 |
+
# llama-guard-finetuned-1ep-500
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [meta-llama/LlamaGuard-7b](https://huggingface.co/meta-llama/LlamaGuard-7b) on an unknown dataset.
|
20 |
+
|
21 |
+
## Model description
|
22 |
+
|
23 |
+
More information needed
|
24 |
+
|
25 |
+
## Intended uses & limitations
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Training and evaluation data
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Training procedure
|
34 |
+
|
35 |
+
### Training hyperparameters
|
36 |
+
|
37 |
+
The following hyperparameters were used during training:
|
38 |
+
- learning_rate: 0.0002
|
39 |
+
- train_batch_size: 2
|
40 |
+
- eval_batch_size: 8
|
41 |
+
- seed: 42
|
42 |
+
- gradient_accumulation_steps: 4
|
43 |
+
- total_train_batch_size: 8
|
44 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
+
- lr_scheduler_type: constant
|
46 |
+
- lr_scheduler_warmup_ratio: 0.03
|
47 |
+
- num_epochs: 0.6
|
48 |
+
|
49 |
+
### Training results
|
50 |
+
|
51 |
+
|
52 |
+
|
53 |
+
### Framework versions
|
54 |
+
|
55 |
+
- PEFT 0.10.0
|
56 |
+
- Transformers 4.39.3
|
57 |
+
- Pytorch 2.3.0+cu118
|
58 |
+
- Datasets 2.18.0
|
59 |
+
- 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 1182844512
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8abc5f24c27d8c015d9a046d9fb7ea3e27b28271c6b120dea6b8ee55aeba882a
|
3 |
size 1182844512
|
all_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 0.61,
|
3 |
+
"total_flos": 5756148033159168.0,
|
4 |
+
"train_loss": 0.7615472518879435,
|
5 |
+
"train_runtime": 1644.6511,
|
6 |
+
"train_samples": 1215,
|
7 |
+
"train_samples_per_second": 0.443,
|
8 |
+
"train_steps_per_second": 0.056
|
9 |
+
}
|
runs/Apr10_16-38-49_llamaguard2/events.out.tfevents.1712767139.llamaguard2.126928.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:7197a3bb920a2b25a76e316a0ea43518a33db63e311744d3cf093dca6c812d54
|
3 |
+
size 6083
|
train_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 0.61,
|
3 |
+
"total_flos": 5756148033159168.0,
|
4 |
+
"train_loss": 0.7615472518879435,
|
5 |
+
"train_runtime": 1644.6511,
|
6 |
+
"train_samples": 1215,
|
7 |
+
"train_samples_per_second": 0.443,
|
8 |
+
"train_steps_per_second": 0.056
|
9 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 0.6052631578947368,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 92,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.16,
|
13 |
+
"grad_norm": 0.7791975140571594,
|
14 |
+
"learning_rate": 0.0002,
|
15 |
+
"loss": 2.1532,
|
16 |
+
"step": 25
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.33,
|
20 |
+
"grad_norm": 0.18488548696041107,
|
21 |
+
"learning_rate": 0.0002,
|
22 |
+
"loss": 0.3532,
|
23 |
+
"step": 50
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.49,
|
27 |
+
"grad_norm": 0.22702211141586304,
|
28 |
+
"learning_rate": 0.0002,
|
29 |
+
"loss": 0.1791,
|
30 |
+
"step": 75
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.61,
|
34 |
+
"step": 92,
|
35 |
+
"total_flos": 5756148033159168.0,
|
36 |
+
"train_loss": 0.7615472518879435,
|
37 |
+
"train_runtime": 1644.6511,
|
38 |
+
"train_samples_per_second": 0.443,
|
39 |
+
"train_steps_per_second": 0.056
|
40 |
+
}
|
41 |
+
],
|
42 |
+
"logging_steps": 25,
|
43 |
+
"max_steps": 92,
|
44 |
+
"num_input_tokens_seen": 0,
|
45 |
+
"num_train_epochs": 1,
|
46 |
+
"save_steps": 25,
|
47 |
+
"total_flos": 5756148033159168.0,
|
48 |
+
"train_batch_size": 2,
|
49 |
+
"trial_name": null,
|
50 |
+
"trial_params": null
|
51 |
+
}
|