Basher17 commited on
Commit
b3c7be1
·
verified ·
1 Parent(s): 3409b35

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +51 -0
README.md ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: llama3.3
5
+ library_name: transformers
6
+ tags:
7
+ - Llama-3.3
8
+ - Instruct
9
+ - loyal AI
10
+ - fingerprint
11
+ - finetune
12
+ - chat
13
+ - gpt4
14
+ - synthetic data
15
+ - roleplaying
16
+ - unhinged
17
+ - funny
18
+ - opinionated
19
+ - assistant
20
+ - companion
21
+ - friend
22
+ - mlx
23
+ - mlx-my-repo
24
+ base_model: SentientAGI/Dobby-Unhinged-Llama-3.3-70B
25
+ ---
26
+
27
+ # Basher17/Dobby-Unhinged-Llama-3.3-70B-mlx-4Bit
28
+
29
+ The Model [Basher17/Dobby-Unhinged-Llama-3.3-70B-mlx-4Bit](https://huggingface.co/Basher17/Dobby-Unhinged-Llama-3.3-70B-mlx-4Bit) was converted to MLX format from [SentientAGI/Dobby-Unhinged-Llama-3.3-70B](https://huggingface.co/SentientAGI/Dobby-Unhinged-Llama-3.3-70B) using mlx-lm version **0.26.4**.
30
+
31
+ ## Use with mlx
32
+
33
+ ```bash
34
+ pip install mlx-lm
35
+ ```
36
+
37
+ ```python
38
+ from mlx_lm import load, generate
39
+
40
+ model, tokenizer = load("Basher17/Dobby-Unhinged-Llama-3.3-70B-mlx-4Bit")
41
+
42
+ prompt="hello"
43
+
44
+ if hasattr(tokenizer, "apply_chat_template") and tokenizer.chat_template is not None:
45
+ messages = [{"role": "user", "content": prompt}]
46
+ prompt = tokenizer.apply_chat_template(
47
+ messages, tokenize=False, add_generation_prompt=True
48
+ )
49
+
50
+ response = generate(model, tokenizer, prompt=prompt, verbose=True)
51
+ ```