Jlonge4 commited on
Commit
3e9b507
·
verified ·
1 Parent(s): 23588ef

Jlonge4/phi-4-mini-guard

Browse files
README.md CHANGED
@@ -34,9 +34,9 @@ This model was trained with SFT.
34
  ### Framework versions
35
 
36
  - TRL: 0.12.0
37
- - Transformers: 4.51.3
38
  - Pytorch: 2.6.0+cu124
39
- - Datasets: 3.5.0
40
  - Tokenizers: 0.21.1
41
 
42
  ## Citations
 
34
  ### Framework versions
35
 
36
  - TRL: 0.12.0
37
+ - Transformers: 4.52.4
38
  - Pytorch: 2.6.0+cu124
39
+ - Datasets: 3.6.0
40
  - Tokenizers: 0.21.1
41
 
42
  ## Citations
adapter_config.json CHANGED
@@ -3,6 +3,7 @@
3
  "auto_mapping": null,
4
  "base_model_name_or_path": "microsoft/Phi-4-mini-instruct",
5
  "bias": "none",
 
6
  "eva_config": null,
7
  "exclude_modules": null,
8
  "fan_in_fan_out": false,
@@ -24,12 +25,13 @@
24
  "revision": null,
25
  "target_modules": [
26
  "k_proj",
27
- "o_proj",
28
  "q_proj",
29
- "gate_proj",
30
- "v_proj"
31
  ],
32
  "task_type": "CAUSAL_LM",
 
33
  "use_dora": false,
34
  "use_rslora": true
35
  }
 
3
  "auto_mapping": null,
4
  "base_model_name_or_path": "microsoft/Phi-4-mini-instruct",
5
  "bias": "none",
6
+ "corda_config": null,
7
  "eva_config": null,
8
  "exclude_modules": null,
9
  "fan_in_fan_out": false,
 
25
  "revision": null,
26
  "target_modules": [
27
  "k_proj",
28
+ "v_proj",
29
  "q_proj",
30
+ "o_proj",
31
+ "gate_proj"
32
  ],
33
  "task_type": "CAUSAL_LM",
34
+ "trainable_token_indices": null,
35
  "use_dora": false,
36
  "use_rslora": true
37
  }
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3c0071c27b67b03a03f63f7e46a52f0dc033b2e231a99d5043e3a9f6b32ad44d
3
  size 12591456
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c50d2936bc88e3b8b59126a316d144342e4b314d3a524f58c7f29f7130c29ad0
3
  size 12591456
chat_template.jinja ADDED
@@ -0,0 +1 @@
 
 
1
+ {% for message in messages %}{% if message['role'] == 'system' and 'tools' in message and message['tools'] is not none %}{{ '<|' + message['role'] + '|>' + message['content'] + '<|tool|>' + message['tools'] + '<|/tool|>' + '<|end|>' }}{% else %}{{ '<|' + message['role'] + '|>' + message['content'] + '<|end|>' }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|assistant|>' }}{% else %}{{ eos_token }}{% endif %}
runs/Jun07_18-39-45_af7edff27e55/events.out.tfevents.1749321586.af7edff27e55.1551.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29a963dc0710a310a996bdf2b3e351d43812d5a7e39f04ffe57cf1003fbffdd2
3
+ size 31497
runs/Jun07_18-41-09_af7edff27e55/events.out.tfevents.1749321670.af7edff27e55.1551.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5350cc0e7be738ff0808b34912a0ad0dde1c13fc49edbfbd238fde45b2016d13
3
+ size 15270
runs/Jun07_18-41-58_af7edff27e55/events.out.tfevents.1749321719.af7edff27e55.1551.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f94762e3e4e44caa86ad5b1af25b973b82254ae2dc58f04d80f92cf1e1b8fd83
3
+ size 19563
runs/Jun07_18-43-47_af7edff27e55/events.out.tfevents.1749321828.af7edff27e55.1551.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c2a243c88745c9e6080589bc8804952c1c99ef317924536a65afeb9cfa56c3a1
3
+ size 32997
tokenizer_config.json CHANGED
@@ -101,7 +101,6 @@
101
  }
102
  },
103
  "bos_token": "<|endoftext|>",
104
- "chat_template": "{% for message in messages %}{% if message['role'] == 'system' and 'tools' in message and message['tools'] is not none %}{{ '<|' + message['role'] + '|>' + message['content'] + '<|tool|>' + message['tools'] + '<|/tool|>' + '<|end|>' }}{% else %}{{ '<|' + message['role'] + '|>' + message['content'] + '<|end|>' }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|assistant|>' }}{% else %}{{ eos_token }}{% endif %}",
105
  "clean_up_tokenization_spaces": false,
106
  "eos_token": "<|endoftext|>",
107
  "extra_special_tokens": {},
 
101
  }
102
  },
103
  "bos_token": "<|endoftext|>",
 
104
  "clean_up_tokenization_spaces": false,
105
  "eos_token": "<|endoftext|>",
106
  "extra_special_tokens": {},
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:40cfdafcfc1420576282083ed5f9e60a6de06243d2f5028aa23488e3800c74f3
3
  size 5560
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c23c5aa705ab18b85a693ce593d6b8782ab22644415d9e949972b5f7dc36d3c1
3
  size 5560