isv2lf commited on
Commit
f669dea
·
verified ·
1 Parent(s): 4dfcdb8

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +40 -0
README.md ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: nicoboss/DeepSeek-R1-Distill-Qwen-14B-Uncensored
3
+ library_name: peft
4
+ tags:
5
+ - generated_from_trainer
6
+ - mlx
7
+ - mlx-my-repo
8
+ license: mit
9
+ datasets:
10
+ - Guilherme34/uncensor
11
+ model-index:
12
+ - name: DeepSeek-R1-Distill-Qwen-14B-Uncensored
13
+ results: []
14
+ ---
15
+
16
+ # isv2lf/DeepSeek-R1-Distill-Qwen-14B-Uncensored-Q6-mlx
17
+
18
+ The Model [isv2lf/DeepSeek-R1-Distill-Qwen-14B-Uncensored-Q6-mlx](https://huggingface.co/isv2lf/DeepSeek-R1-Distill-Qwen-14B-Uncensored-Q6-mlx) was converted to MLX format from [nicoboss/DeepSeek-R1-Distill-Qwen-14B-Uncensored](https://huggingface.co/nicoboss/DeepSeek-R1-Distill-Qwen-14B-Uncensored) using mlx-lm version **0.20.5**.
19
+
20
+ ## Use with mlx
21
+
22
+ ```bash
23
+ pip install mlx-lm
24
+ ```
25
+
26
+ ```python
27
+ from mlx_lm import load, generate
28
+
29
+ model, tokenizer = load("isv2lf/DeepSeek-R1-Distill-Qwen-14B-Uncensored-Q6-mlx")
30
+
31
+ prompt="hello"
32
+
33
+ if hasattr(tokenizer, "apply_chat_template") and tokenizer.chat_template is not None:
34
+ messages = [{"role": "user", "content": prompt}]
35
+ prompt = tokenizer.apply_chat_template(
36
+ messages, tokenize=False, add_generation_prompt=True
37
+ )
38
+
39
+ response = generate(model, tokenizer, prompt=prompt, verbose=True)
40
+ ```