yethdev commited on
Commit
82e80e7
·
verified ·
1 Parent(s): fc41b48

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +53 -0
README.md ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: mistralai/Mistral-7B-Instruct-v0.3
4
+ tags:
5
+ - manumit
6
+ - uncensored
7
+ - decensored
8
+ language:
9
+ - en
10
+ library_name: transformers
11
+ pipeline_tag: text-generation
12
+ ---
13
+
14
+ # Mistral 7B Instruct v0.3 manumit
15
+
16
+ This is a decensored build of [mistralai/Mistral-7B-Instruct-v0.3](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.3), processed with manumit and released by yethdev.
17
+
18
+ manumit is a private pipeline built to remove refusal behavior from open models while keeping as much of the original capability as possible. It ships as ordinary merged weights. No adapters, no special runtime, no system prompt tricks. Load it the same way you would load the base model.
19
+
20
+ ## Benchmarks
21
+
22
+ | Benchmark | Mistral 7B Instruct v0.3 (stock) | Mistral 7B Instruct v0.3 (manumit) |
23
+ |---|---|---|
24
+ | AdvBench compliance | 75.0% | 95.8% |
25
+ | JailbreakBench compliance | 91.7% | 100.0% |
26
+ | MMLU-Pro | 32.9% | 31.4% |
27
+
28
+ AdvBench and JailbreakBench compliance are measured on held out prompt sets the model was not tuned against. MMLU-Pro is a knowledge and reasoning check, not a fluency score, so it reflects real capability retention rather than how clean the text reads.
29
+
30
+ This build keeps about 96% of the base model's MMLU-Pro score while answering far more of the prompts it used to refuse.
31
+
32
+ ## Usage
33
+
34
+ ```python
35
+ from transformers import AutoModelForCausalLM, AutoTokenizer
36
+
37
+ model_id = "yethdev/mistral-7b-manumit"
38
+ tokenizer = AutoTokenizer.from_pretrained(model_id)
39
+ model = AutoModelForCausalLM.from_pretrained(model_id, dtype="bfloat16", device_map="auto")
40
+
41
+ messages = [{"role": "user", "content": "Hello"}]
42
+ inputs = tokenizer.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt").to(model.device)
43
+ output = model.generate(inputs, max_new_tokens=256)
44
+ print(tokenizer.decode(output[0][inputs.shape[1]:], skip_special_tokens=True))
45
+ ```
46
+
47
+ ## Responsible use
48
+
49
+ This model answers a much wider range of prompts than the base release, including ones the base model was tuned to refuse. It is intended for research, red teaming, and personal use by adults. You are responsible for how you use it and for complying with the base model's license and the laws that apply to you. Do not deploy it in a public facing product without your own moderation layer.
50
+
51
+ ## License
52
+
53
+ Distributed under the same license as the base model (apache-2.0). See the base model page for full terms.