Fmuaddib commited on
Commit
287f244
·
verified ·
1 Parent(s): 50968f7

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +35 -0
README.md ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ thumbnail: https://cdn-uploads.huggingface.co/production/uploads/6625f4a8a8d1362ebcc3851a/albSlnUy9dPVGVuLlsBua.jpeg
4
+ language:
5
+ - en
6
+ base_model: ArliAI/QwQ-32B-ArliAI-RpR-v1
7
+ tags:
8
+ - mlx
9
+ ---
10
+
11
+ # Fmuaddib/QwQ-32B-ArliAI-RpR-v1-mlx-8Bit
12
+
13
+ The Model [Fmuaddib/QwQ-32B-ArliAI-RpR-v1-mlx-8Bit](https://huggingface.co/Fmuaddib/QwQ-32B-ArliAI-RpR-v1-mlx-8Bit) was converted to MLX format from [ArliAI/QwQ-32B-ArliAI-RpR-v1](https://huggingface.co/ArliAI/QwQ-32B-ArliAI-RpR-v1) using mlx-lm version **0.22.1**.
14
+
15
+ ## Use with mlx
16
+
17
+ ```bash
18
+ pip install mlx-lm
19
+ ```
20
+
21
+ ```python
22
+ from mlx_lm import load, generate
23
+
24
+ model, tokenizer = load("Fmuaddib/QwQ-32B-ArliAI-RpR-v1-mlx-8Bit")
25
+
26
+ prompt="hello"
27
+
28
+ if hasattr(tokenizer, "apply_chat_template") and tokenizer.chat_template is not None:
29
+ messages = [{"role": "user", "content": prompt}]
30
+ prompt = tokenizer.apply_chat_template(
31
+ messages, tokenize=False, add_generation_prompt=True
32
+ )
33
+
34
+ response = generate(model, tokenizer, prompt=prompt, verbose=True)
35
+ ```