benjamin5607 commited on
Commit
a9e9a97
·
verified ·
1 Parent(s): f91a5f0

Add model card

Browse files
Files changed (1) hide show
  1. README.md +36 -0
README.md ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: gemma
3
+ base_model: google/gemma-2-2b-it
4
+ tags:
5
+ - lora
6
+ - gemma2
7
+ - jekyll-hyde
8
+ - red-team
9
+ library_name: peft
10
+ ---
11
+
12
+ # Hyde LoRA — red-team / gray-zone probe persona
13
+
14
+ Part of [Jekyll & Hyde](https://github.com/Benjamin5607/model_JekyllHyde) (v1.5).
15
+
16
+ | | |
17
+ |---|---|
18
+ | **Base** | [google/gemma-2-2b-it](https://huggingface.co/google/gemma-2-2b-it) |
19
+ | **Pair adapter** | [jekyll-lora](https://huggingface.co/benjamin5607/jekyll-hyde-jekyll-lora) |
20
+ | **Demo Space** | [jekyll-hyde-demo](https://huggingface.co/spaces/benjamin5607/jekyll-hyde-demo) |
21
+
22
+ ## Load
23
+
24
+ ```python
25
+ from peft import PeftModel
26
+ from transformers import AutoModelForCausalLM
27
+
28
+ base = AutoModelForCausalLM.from_pretrained("google/gemma-2-2b-it")
29
+ model = PeftModel.from_pretrained(base, "benjamin5607/jekyll-hyde-hyde-lora")
30
+ ```
31
+
32
+ Blend with Jekyll via `add_weighted_adapter` (MoE) — see project docs.
33
+
34
+ ## License
35
+
36
+ Gemma [terms](https://ai.google.dev/gemma/terms) apply. Project code: MIT.