Anuvab commited on
Commit
f31f4a0
·
verified ·
1 Parent(s): ce221af

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-1ep-1000
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-1000
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.5
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:83f74eedf4b04d44f2c3ff5e2bad205aa9a112e5ff02efb196e1b961cfbb56bd
3
  size 1182844512
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:46d22215a55899e608455e074cb7a9c35437dda5e5a922c0faed2dfe70395cbb
3
  size 1182844512
all_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.5,
3
+ "total_flos": 7567679883608064.0,
4
+ "train_loss": 0.6456813195656086,
5
+ "train_runtime": 1993.1291,
6
+ "train_samples": 1851,
7
+ "train_samples_per_second": 0.464,
8
+ "train_steps_per_second": 0.058
9
+ }
runs/Apr10_18-56-25_llamaguard2/events.out.tfevents.1712775395.llamaguard2.4075.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b0e7ae647e14aec772fd8ca487ed1bc2fa56908393f9651790bfdbf57b8220f3
3
- size 5945
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4600d83d7f623267f5e45d0b64e3aeb0df475430b4078eb0efb782f8a93abdc4
3
+ size 6293
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.5,
3
+ "total_flos": 7567679883608064.0,
4
+ "train_loss": 0.6456813195656086,
5
+ "train_runtime": 1993.1291,
6
+ "train_samples": 1851,
7
+ "train_samples_per_second": 0.464,
8
+ "train_steps_per_second": 0.058
9
+ }
trainer_state.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.5010799136069114,
5
+ "eval_steps": 500,
6
+ "global_step": 116,
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.6869832873344421,
14
+ "learning_rate": 0.0002,
15
+ "loss": 2.0793,
16
+ "step": 25
17
+ },
18
+ {
19
+ "epoch": 0.22,
20
+ "grad_norm": 0.3831043243408203,
21
+ "learning_rate": 0.0002,
22
+ "loss": 0.3566,
23
+ "step": 50
24
+ },
25
+ {
26
+ "epoch": 0.32,
27
+ "grad_norm": 0.13696692883968353,
28
+ "learning_rate": 0.0002,
29
+ "loss": 0.268,
30
+ "step": 75
31
+ },
32
+ {
33
+ "epoch": 0.43,
34
+ "grad_norm": 0.08374959230422974,
35
+ "learning_rate": 0.0002,
36
+ "loss": 0.142,
37
+ "step": 100
38
+ },
39
+ {
40
+ "epoch": 0.5,
41
+ "step": 116,
42
+ "total_flos": 7567679883608064.0,
43
+ "train_loss": 0.6456813195656086,
44
+ "train_runtime": 1993.1291,
45
+ "train_samples_per_second": 0.464,
46
+ "train_steps_per_second": 0.058
47
+ }
48
+ ],
49
+ "logging_steps": 25,
50
+ "max_steps": 116,
51
+ "num_input_tokens_seen": 0,
52
+ "num_train_epochs": 1,
53
+ "save_steps": 25,
54
+ "total_flos": 7567679883608064.0,
55
+ "train_batch_size": 2,
56
+ "trial_name": null,
57
+ "trial_params": null
58
+ }