Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,127 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: arcee-ai/Virtuoso-Small
|
4 |
+
tags:
|
5 |
+
- mlx
|
6 |
+
model-index:
|
7 |
+
- name: Virtuoso-Small
|
8 |
+
results:
|
9 |
+
- task:
|
10 |
+
type: text-generation
|
11 |
+
name: Text Generation
|
12 |
+
dataset:
|
13 |
+
name: IFEval (0-Shot)
|
14 |
+
type: HuggingFaceH4/ifeval
|
15 |
+
args:
|
16 |
+
num_few_shot: 0
|
17 |
+
metrics:
|
18 |
+
- type: inst_level_strict_acc and prompt_level_strict_acc
|
19 |
+
value: 79.35
|
20 |
+
name: strict accuracy
|
21 |
+
source:
|
22 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=arcee-ai/Virtuoso-Small
|
23 |
+
name: Open LLM Leaderboard
|
24 |
+
- task:
|
25 |
+
type: text-generation
|
26 |
+
name: Text Generation
|
27 |
+
dataset:
|
28 |
+
name: BBH (3-Shot)
|
29 |
+
type: BBH
|
30 |
+
args:
|
31 |
+
num_few_shot: 3
|
32 |
+
metrics:
|
33 |
+
- type: acc_norm
|
34 |
+
value: 50.4
|
35 |
+
name: normalized accuracy
|
36 |
+
source:
|
37 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=arcee-ai/Virtuoso-Small
|
38 |
+
name: Open LLM Leaderboard
|
39 |
+
- task:
|
40 |
+
type: text-generation
|
41 |
+
name: Text Generation
|
42 |
+
dataset:
|
43 |
+
name: MATH Lvl 5 (4-Shot)
|
44 |
+
type: hendrycks/competition_math
|
45 |
+
args:
|
46 |
+
num_few_shot: 4
|
47 |
+
metrics:
|
48 |
+
- type: exact_match
|
49 |
+
value: 34.29
|
50 |
+
name: exact match
|
51 |
+
source:
|
52 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=arcee-ai/Virtuoso-Small
|
53 |
+
name: Open LLM Leaderboard
|
54 |
+
- task:
|
55 |
+
type: text-generation
|
56 |
+
name: Text Generation
|
57 |
+
dataset:
|
58 |
+
name: GPQA (0-shot)
|
59 |
+
type: Idavidrein/gpqa
|
60 |
+
args:
|
61 |
+
num_few_shot: 0
|
62 |
+
metrics:
|
63 |
+
- type: acc_norm
|
64 |
+
value: 11.52
|
65 |
+
name: acc_norm
|
66 |
+
source:
|
67 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=arcee-ai/Virtuoso-Small
|
68 |
+
name: Open LLM Leaderboard
|
69 |
+
- task:
|
70 |
+
type: text-generation
|
71 |
+
name: Text Generation
|
72 |
+
dataset:
|
73 |
+
name: MuSR (0-shot)
|
74 |
+
type: TAUR-Lab/MuSR
|
75 |
+
args:
|
76 |
+
num_few_shot: 0
|
77 |
+
metrics:
|
78 |
+
- type: acc_norm
|
79 |
+
value: 14.44
|
80 |
+
name: acc_norm
|
81 |
+
source:
|
82 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=arcee-ai/Virtuoso-Small
|
83 |
+
name: Open LLM Leaderboard
|
84 |
+
- task:
|
85 |
+
type: text-generation
|
86 |
+
name: Text Generation
|
87 |
+
dataset:
|
88 |
+
name: MMLU-PRO (5-shot)
|
89 |
+
type: TIGER-Lab/MMLU-Pro
|
90 |
+
config: main
|
91 |
+
split: test
|
92 |
+
args:
|
93 |
+
num_few_shot: 5
|
94 |
+
metrics:
|
95 |
+
- type: acc
|
96 |
+
value: 46.57
|
97 |
+
name: accuracy
|
98 |
+
source:
|
99 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=arcee-ai/Virtuoso-Small
|
100 |
+
name: Open LLM Leaderboard
|
101 |
+
---
|
102 |
+
|
103 |
+
# Felladrin/Virtuoso-Small-Q8-mlx
|
104 |
+
|
105 |
+
The Model [Felladrin/Virtuoso-Small-Q8-mlx](https://huggingface.co/Felladrin/Virtuoso-Small-Q8-mlx) was converted to MLX format from [arcee-ai/Virtuoso-Small](https://huggingface.co/arcee-ai/Virtuoso-Small) using mlx-lm version **0.19.2**.
|
106 |
+
|
107 |
+
## Use with mlx
|
108 |
+
|
109 |
+
```bash
|
110 |
+
pip install mlx-lm
|
111 |
+
```
|
112 |
+
|
113 |
+
```python
|
114 |
+
from mlx_lm import load, generate
|
115 |
+
|
116 |
+
model, tokenizer = load("Felladrin/Virtuoso-Small-Q8-mlx")
|
117 |
+
|
118 |
+
prompt="hello"
|
119 |
+
|
120 |
+
if hasattr(tokenizer, "apply_chat_template") and tokenizer.chat_template is not None:
|
121 |
+
messages = [{"role": "user", "content": prompt}]
|
122 |
+
prompt = tokenizer.apply_chat_template(
|
123 |
+
messages, tokenize=False, add_generation_prompt=True
|
124 |
+
)
|
125 |
+
|
126 |
+
response = generate(model, tokenizer, prompt=prompt, verbose=True)
|
127 |
+
```
|