Anuvab commited on
Commit
1ff461e
·
verified ·
1 Parent(s): f16591f

Model save

Browse files
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-3ep-800
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-3ep-800
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:52c1cb43153ab29864cf163317bca7cb846a8b46ee69b9afb90b5c74709b5fd9
3
  size 1182844512
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cec974c9e18c872daa55cbf65fc9f49aa3411d81e8fdf66ba44a636928835906
3
  size 1182844512
all_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.6,
3
+ "total_flos": 9030484680671232.0,
4
+ "train_loss": 0.566877440582934,
5
+ "train_runtime": 2411.1952,
6
+ "train_samples": 1851,
7
+ "train_samples_per_second": 0.461,
8
+ "train_steps_per_second": 0.058
9
+ }
runs/Apr09_23-37-16_llamaguard2/events.out.tfevents.1712705843.llamaguard2.14510.2 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f9e80acec57552484f28cff2a69b4092c769ec4c509181621c77ccf90238960b
3
- size 6149
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2df8a4587662dad82d1e8e9073e5dccd01340f33fb43bdddbd25f00e7771b2d2
3
+ size 6503
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.6,
3
+ "total_flos": 9030484680671232.0,
4
+ "train_loss": 0.566877440582934,
5
+ "train_runtime": 2411.1952,
6
+ "train_samples": 1851,
7
+ "train_samples_per_second": 0.461,
8
+ "train_steps_per_second": 0.058
9
+ }
trainer_state.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.6004319654427646,
5
+ "eval_steps": 500,
6
+ "global_step": 139,
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.11,
13
+ "grad_norm": 0.675453782081604,
14
+ "learning_rate": 0.0002,
15
+ "loss": 2.08,
16
+ "step": 25
17
+ },
18
+ {
19
+ "epoch": 0.22,
20
+ "grad_norm": 0.3721127510070801,
21
+ "learning_rate": 0.0002,
22
+ "loss": 0.3546,
23
+ "step": 50
24
+ },
25
+ {
26
+ "epoch": 0.32,
27
+ "grad_norm": 0.161994069814682,
28
+ "learning_rate": 0.0002,
29
+ "loss": 0.2689,
30
+ "step": 75
31
+ },
32
+ {
33
+ "epoch": 0.43,
34
+ "grad_norm": 0.08174678683280945,
35
+ "learning_rate": 0.0002,
36
+ "loss": 0.1425,
37
+ "step": 100
38
+ },
39
+ {
40
+ "epoch": 0.54,
41
+ "grad_norm": 0.1015535444021225,
42
+ "learning_rate": 0.0002,
43
+ "loss": 0.2211,
44
+ "step": 125
45
+ },
46
+ {
47
+ "epoch": 0.6,
48
+ "step": 139,
49
+ "total_flos": 9030484680671232.0,
50
+ "train_loss": 0.566877440582934,
51
+ "train_runtime": 2411.1952,
52
+ "train_samples_per_second": 0.461,
53
+ "train_steps_per_second": 0.058
54
+ }
55
+ ],
56
+ "logging_steps": 25,
57
+ "max_steps": 139,
58
+ "num_input_tokens_seen": 0,
59
+ "num_train_epochs": 1,
60
+ "save_steps": 25,
61
+ "total_flos": 9030484680671232.0,
62
+ "train_batch_size": 2,
63
+ "trial_name": null,
64
+ "trial_params": null
65
+ }