KYUNGYONG commited on
Commit
f43df3b
·
verified ·
1 Parent(s): acdfca5

Upload README.md with huggingface_hub

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