CuckmeisterFuller commited on
Commit
86a28c2
·
verified ·
1 Parent(s): f0370a9

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +50 -0
README.md ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ license_name: qwen-research
4
+ license_link: https://huggingface.co/Qwen/Qwen2.5-3B/blob/main/LICENSE
5
+ datasets:
6
+ - OpenCoder-LLM/opc-sft-stage1
7
+ - OpenCoder-LLM/opc-sft-stage2
8
+ - microsoft/orca-agentinstruct-1M-v1
9
+ - microsoft/orca-math-word-problems-200k
10
+ - NousResearch/hermes-function-calling-v1
11
+ - AI-MO/NuminaMath-CoT
12
+ - AI-MO/NuminaMath-TIR
13
+ - allenai/tulu-3-sft-mixture
14
+ - cognitivecomputations/dolphin-coder
15
+ - HuggingFaceTB/smoltalk
16
+ - cognitivecomputations/samantha-data
17
+ - m-a-p/CodeFeedback-Filtered-Instruction
18
+ - m-a-p/Code-Feedback
19
+ language:
20
+ - en
21
+ base_model: cognitivecomputations/Dolphin3.0-Qwen2.5-3b
22
+ tags:
23
+ - mlx
24
+ ---
25
+
26
+ # CuckmeisterFuller/Dolphin3.0-Qwen2.5-3b-Q4-mlx
27
+
28
+ The Model [CuckmeisterFuller/Dolphin3.0-Qwen2.5-3b-Q4-mlx](https://huggingface.co/CuckmeisterFuller/Dolphin3.0-Qwen2.5-3b-Q4-mlx) was converted to MLX format from [cognitivecomputations/Dolphin3.0-Qwen2.5-3b](https://huggingface.co/cognitivecomputations/Dolphin3.0-Qwen2.5-3b) using mlx-lm version **0.20.5**.
29
+
30
+ ## Use with mlx
31
+
32
+ ```bash
33
+ pip install mlx-lm
34
+ ```
35
+
36
+ ```python
37
+ from mlx_lm import load, generate
38
+
39
+ model, tokenizer = load("CuckmeisterFuller/Dolphin3.0-Qwen2.5-3b-Q4-mlx")
40
+
41
+ prompt="hello"
42
+
43
+ if hasattr(tokenizer, "apply_chat_template") and tokenizer.chat_template is not None:
44
+ messages = [{"role": "user", "content": prompt}]
45
+ prompt = tokenizer.apply_chat_template(
46
+ messages, tokenize=False, add_generation_prompt=True
47
+ )
48
+
49
+ response = generate(model, tokenizer, prompt=prompt, verbose=True)
50
+ ```