CuckmeisterFuller commited on
Commit
93a8876
·
verified ·
1 Parent(s): ff83c78

Upload README.md with huggingface_hub

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