introvoyz041 commited on
Commit
407fab6
·
verified ·
1 Parent(s): 76496d1

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +47 -0
README.md ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - en
5
+ - code
6
+ library_name: transformers
7
+ tags:
8
+ - causal-lm
9
+ - moe
10
+ - mixture-of-experts
11
+ - qwen
12
+ - distillation
13
+ - svd
14
+ - lora-merged
15
+ - code-generation
16
+ - mlx
17
+ - mlx-my-repo
18
+ - mlx
19
+ - mlx-my-repo
20
+ base_model: YOYO-AI/Qwen3-Coder-30B-A3B-Instruct-480B-Distill-V2-Fp32-mlx-fp16
21
+ ---
22
+
23
+ # introvoyz041/Qwen3-Coder-30B-A3B-Instruct-480B-Distill-V2-Fp32-mlx-fp16-mlx-4Bit
24
+
25
+ The Model [introvoyz041/Qwen3-Coder-30B-A3B-Instruct-480B-Distill-V2-Fp32-mlx-fp16-mlx-4Bit](https://huggingface.co/introvoyz041/Qwen3-Coder-30B-A3B-Instruct-480B-Distill-V2-Fp32-mlx-fp16-mlx-4Bit) was converted to MLX format from [YOYO-AI/Qwen3-Coder-30B-A3B-Instruct-480B-Distill-V2-Fp32-mlx-fp16](https://huggingface.co/YOYO-AI/Qwen3-Coder-30B-A3B-Instruct-480B-Distill-V2-Fp32-mlx-fp16) using mlx-lm version **0.28.3**.
26
+
27
+ ## Use with mlx
28
+
29
+ ```bash
30
+ pip install mlx-lm
31
+ ```
32
+
33
+ ```python
34
+ from mlx_lm import load, generate
35
+
36
+ model, tokenizer = load("introvoyz041/Qwen3-Coder-30B-A3B-Instruct-480B-Distill-V2-Fp32-mlx-fp16-mlx-4Bit")
37
+
38
+ prompt="hello"
39
+
40
+ if hasattr(tokenizer, "apply_chat_template") and tokenizer.chat_template is not None:
41
+ messages = [{"role": "user", "content": prompt}]
42
+ prompt = tokenizer.apply_chat_template(
43
+ messages, tokenize=False, add_generation_prompt=True
44
+ )
45
+
46
+ response = generate(model, tokenizer, prompt=prompt, verbose=True)
47
+ ```