hentograf commited on
Commit
8ec4de4
·
verified ·
1 Parent(s): 9a91e5f

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +42 -0
README.md ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ tags:
4
+ - ablated
5
+ - ablation
6
+ - abliterated
7
+ - uncensored
8
+ - nani
9
+ - reasoning
10
+ - qwen
11
+ - deepseek
12
+ - mlx
13
+ - mlx-my-repo
14
+ license: mit
15
+ base_model: NaniDAO/deepseek-r1-qwen-2.5-32B-ablated
16
+ ---
17
+
18
+ # hentograf/deepseek-r1-qwen-2.5-32B-ablated-Q4-mlx
19
+
20
+ The Model [hentograf/deepseek-r1-qwen-2.5-32B-ablated-Q4-mlx](https://huggingface.co/hentograf/deepseek-r1-qwen-2.5-32B-ablated-Q4-mlx) was converted to MLX format from [NaniDAO/deepseek-r1-qwen-2.5-32B-ablated](https://huggingface.co/NaniDAO/deepseek-r1-qwen-2.5-32B-ablated) using mlx-lm version **0.20.5**.
21
+
22
+ ## Use with mlx
23
+
24
+ ```bash
25
+ pip install mlx-lm
26
+ ```
27
+
28
+ ```python
29
+ from mlx_lm import load, generate
30
+
31
+ model, tokenizer = load("hentograf/deepseek-r1-qwen-2.5-32B-ablated-Q4-mlx")
32
+
33
+ prompt="hello"
34
+
35
+ if hasattr(tokenizer, "apply_chat_template") and tokenizer.chat_template is not None:
36
+ messages = [{"role": "user", "content": prompt}]
37
+ prompt = tokenizer.apply_chat_template(
38
+ messages, tokenize=False, add_generation_prompt=True
39
+ )
40
+
41
+ response = generate(model, tokenizer, prompt=prompt, verbose=True)
42
+ ```