aimeri commited on
Commit
f84051c
·
verified ·
1 Parent(s): 8d24030

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +46 -0
README.md ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ thumbnail: https://cdn-uploads.huggingface.co/production/uploads/66c26b6fb01b19d8c3c2467b/jg2NWmCUfPyzizm2USjMt.jpeg
3
+ datasets:
4
+ - NewEden/Orion-LIT
5
+ - NewEden/Orion-Asstr-Stories-16K
6
+ - Mielikki/Erebus-87k
7
+ - PocketDoc/Dans-MemoryCore-CoreCurriculum-Small
8
+ - Nitral-AI/ARES-ShareGPT
9
+ - Gryphe/Sonnet3.5-SlimOrcaDedupCleaned-20k
10
+ - NewEden/Claude-Instruct-2.7K
11
+ - NewEden/Claude-Instruct-5K
12
+ base_model: Delta-Vector/Hamanasu-15B-Instruct
13
+ tags:
14
+ - phi
15
+ - roleplay
16
+ - finetune
17
+ - storywriting
18
+ - mlx
19
+ - mlx-my-repo
20
+ ---
21
+
22
+ # aimeri/Hamanasu-15B-Instruct-6bit
23
+
24
+ The Model [aimeri/Hamanasu-15B-Instruct-6bit](https://huggingface.co/aimeri/Hamanasu-15B-Instruct-6bit) was converted to MLX format from [Delta-Vector/Hamanasu-15B-Instruct](https://huggingface.co/Delta-Vector/Hamanasu-15B-Instruct) using mlx-lm version **0.21.5**.
25
+
26
+ ## Use with mlx
27
+
28
+ ```bash
29
+ pip install mlx-lm
30
+ ```
31
+
32
+ ```python
33
+ from mlx_lm import load, generate
34
+
35
+ model, tokenizer = load("aimeri/Hamanasu-15B-Instruct-6bit")
36
+
37
+ prompt="hello"
38
+
39
+ if hasattr(tokenizer, "apply_chat_template") and tokenizer.chat_template is not None:
40
+ messages = [{"role": "user", "content": prompt}]
41
+ prompt = tokenizer.apply_chat_template(
42
+ messages, tokenize=False, add_generation_prompt=True
43
+ )
44
+
45
+ response = generate(model, tokenizer, prompt=prompt, verbose=True)
46
+ ```