ncls-p commited on
Commit
d56d835
·
verified ·
1 Parent(s): 1491497

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
+ library_name: transformers
3
+ tags:
4
+ - prime-rl
5
+ - verifiers
6
+ - prime-intellect
7
+ - reinforcement-learning
8
+ - reasoning
9
+ - agentic
10
+ - mixture-of-experts
11
+ - mlx
12
+ - mlx-my-repo
13
+ license: mit
14
+ language:
15
+ - en
16
+ base_model: PrimeIntellect/INTELLECT-3
17
+ pipeline_tag: text-generation
18
+ ---
19
+
20
+ # ncls-p/INTELLECT-3-mlx-2Bit
21
+
22
+ The Model [ncls-p/INTELLECT-3-mlx-2Bit](https://huggingface.co/ncls-p/INTELLECT-3-mlx-2Bit) was converted to MLX format from [PrimeIntellect/INTELLECT-3](https://huggingface.co/PrimeIntellect/INTELLECT-3) using mlx-lm version **0.28.3**.
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("ncls-p/INTELLECT-3-mlx-2Bit")
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
+ ```