Felladrin commited on
Commit
665cbcf
·
verified ·
1 Parent(s): 04956e9

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +44 -0
README.md ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ - fr
5
+ - es
6
+ - pt
7
+ tags:
8
+ - falcon3
9
+ - abliterated
10
+ - uncensored
11
+ - mlx
12
+ - mlx-my-repo
13
+ base_model: huihui-ai/Falcon3-10B-Instruct-abliterated
14
+ license: other
15
+ license_name: falcon-llm-license
16
+ license_link: https://falconllm.tii.ae/falcon-terms-and-conditions.html
17
+ library_name: transformers
18
+ ---
19
+
20
+ # Felladrin/Falcon3-10B-Instruct-abliterated-Q8-mlx
21
+
22
+ The Model [Felladrin/Falcon3-10B-Instruct-abliterated-Q8-mlx](https://huggingface.co/Felladrin/Falcon3-10B-Instruct-abliterated-Q8-mlx) was converted to MLX format from [huihui-ai/Falcon3-10B-Instruct-abliterated](https://huggingface.co/huihui-ai/Falcon3-10B-Instruct-abliterated) using mlx-lm version **0.20.5**.
23
+
24
+ ## Use with mlx
25
+
26
+ ```bash
27
+ pip install mlx-lm
28
+ ```
29
+
30
+ ```python
31
+ from mlx_lm import load, generate
32
+
33
+ model, tokenizer = load("Felladrin/Falcon3-10B-Instruct-abliterated-Q8-mlx")
34
+
35
+ prompt="hello"
36
+
37
+ if hasattr(tokenizer, "apply_chat_template") and tokenizer.chat_template is not None:
38
+ messages = [{"role": "user", "content": prompt}]
39
+ prompt = tokenizer.apply_chat_template(
40
+ messages, tokenize=False, add_generation_prompt=True
41
+ )
42
+
43
+ response = generate(model, tokenizer, prompt=prompt, verbose=True)
44
+ ```