maxrubin629 commited on
Commit
ef865fc
·
verified ·
1 Parent(s): 710a159

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
+ 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
+ tags:
20
+ - mlx
21
+ ---
22
+
23
+ # maxrubin629/Dolphin3.0-Mistral-24B-Q4-mlx
24
+
25
+ The Model [maxrubin629/Dolphin3.0-Mistral-24B-Q4-mlx](https://huggingface.co/maxrubin629/Dolphin3.0-Mistral-24B-Q4-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**.
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("maxrubin629/Dolphin3.0-Mistral-24B-Q4-mlx")
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
+ ```