Triangle104 commited on
Commit
6775ff0
1 Parent(s): 1e51651

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +152 -0
README.md ADDED
@@ -0,0 +1,152 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: nbeerbower/Mistral-Small-Drummer-22B
3
+ datasets:
4
+ - jondurbin/gutenberg-dpo-v0.1
5
+ - nbeerbower/gutenberg2-dpo
6
+ library_name: transformers
7
+ license: other
8
+ license_name: mrl
9
+ license_link: https://mistral.ai/licenses/MRL-0.1.md
10
+ tags:
11
+ - llama-cpp
12
+ - gguf-my-repo
13
+ model-index:
14
+ - name: Mistral-Small-Drummer-22B
15
+ results:
16
+ - task:
17
+ type: text-generation
18
+ name: Text Generation
19
+ dataset:
20
+ name: IFEval (0-Shot)
21
+ type: HuggingFaceH4/ifeval
22
+ args:
23
+ num_few_shot: 0
24
+ metrics:
25
+ - type: inst_level_strict_acc and prompt_level_strict_acc
26
+ value: 63.31
27
+ name: strict accuracy
28
+ source:
29
+ url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=nbeerbower/Mistral-Small-Drummer-22B
30
+ name: Open LLM Leaderboard
31
+ - task:
32
+ type: text-generation
33
+ name: Text Generation
34
+ dataset:
35
+ name: BBH (3-Shot)
36
+ type: BBH
37
+ args:
38
+ num_few_shot: 3
39
+ metrics:
40
+ - type: acc_norm
41
+ value: 40.12
42
+ name: normalized accuracy
43
+ source:
44
+ url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=nbeerbower/Mistral-Small-Drummer-22B
45
+ name: Open LLM Leaderboard
46
+ - task:
47
+ type: text-generation
48
+ name: Text Generation
49
+ dataset:
50
+ name: MATH Lvl 5 (4-Shot)
51
+ type: hendrycks/competition_math
52
+ args:
53
+ num_few_shot: 4
54
+ metrics:
55
+ - type: exact_match
56
+ value: 16.69
57
+ name: exact match
58
+ source:
59
+ url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=nbeerbower/Mistral-Small-Drummer-22B
60
+ name: Open LLM Leaderboard
61
+ - task:
62
+ type: text-generation
63
+ name: Text Generation
64
+ dataset:
65
+ name: GPQA (0-shot)
66
+ type: Idavidrein/gpqa
67
+ args:
68
+ num_few_shot: 0
69
+ metrics:
70
+ - type: acc_norm
71
+ value: 12.42
72
+ name: acc_norm
73
+ source:
74
+ url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=nbeerbower/Mistral-Small-Drummer-22B
75
+ name: Open LLM Leaderboard
76
+ - task:
77
+ type: text-generation
78
+ name: Text Generation
79
+ dataset:
80
+ name: MuSR (0-shot)
81
+ type: TAUR-Lab/MuSR
82
+ args:
83
+ num_few_shot: 0
84
+ metrics:
85
+ - type: acc_norm
86
+ value: 9.8
87
+ name: acc_norm
88
+ source:
89
+ url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=nbeerbower/Mistral-Small-Drummer-22B
90
+ name: Open LLM Leaderboard
91
+ - task:
92
+ type: text-generation
93
+ name: Text Generation
94
+ dataset:
95
+ name: MMLU-PRO (5-shot)
96
+ type: TIGER-Lab/MMLU-Pro
97
+ config: main
98
+ split: test
99
+ args:
100
+ num_few_shot: 5
101
+ metrics:
102
+ - type: acc
103
+ value: 34.39
104
+ name: accuracy
105
+ source:
106
+ url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=nbeerbower/Mistral-Small-Drummer-22B
107
+ name: Open LLM Leaderboard
108
+ ---
109
+
110
+ # Triangle104/Mistral-Small-Drummer-22B-Q4_K_M-GGUF
111
+ This model was converted to GGUF format from [`nbeerbower/Mistral-Small-Drummer-22B`](https://huggingface.co/nbeerbower/Mistral-Small-Drummer-22B) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
112
+ Refer to the [original model card](https://huggingface.co/nbeerbower/Mistral-Small-Drummer-22B) for more details on the model.
113
+
114
+ ## Use with llama.cpp
115
+ Install llama.cpp through brew (works on Mac and Linux)
116
+
117
+ ```bash
118
+ brew install llama.cpp
119
+
120
+ ```
121
+ Invoke the llama.cpp server or the CLI.
122
+
123
+ ### CLI:
124
+ ```bash
125
+ llama-cli --hf-repo Triangle104/Mistral-Small-Drummer-22B-Q4_K_M-GGUF --hf-file mistral-small-drummer-22b-q4_k_m.gguf -p "The meaning to life and the universe is"
126
+ ```
127
+
128
+ ### Server:
129
+ ```bash
130
+ llama-server --hf-repo Triangle104/Mistral-Small-Drummer-22B-Q4_K_M-GGUF --hf-file mistral-small-drummer-22b-q4_k_m.gguf -c 2048
131
+ ```
132
+
133
+ Note: You can also use this checkpoint directly through the [usage steps](https://github.com/ggerganov/llama.cpp?tab=readme-ov-file#usage) listed in the Llama.cpp repo as well.
134
+
135
+ Step 1: Clone llama.cpp from GitHub.
136
+ ```
137
+ git clone https://github.com/ggerganov/llama.cpp
138
+ ```
139
+
140
+ Step 2: Move into the llama.cpp folder and build it with `LLAMA_CURL=1` flag along with other hardware-specific flags (for ex: LLAMA_CUDA=1 for Nvidia GPUs on Linux).
141
+ ```
142
+ cd llama.cpp && LLAMA_CURL=1 make
143
+ ```
144
+
145
+ Step 3: Run inference through the main binary.
146
+ ```
147
+ ./llama-cli --hf-repo Triangle104/Mistral-Small-Drummer-22B-Q4_K_M-GGUF --hf-file mistral-small-drummer-22b-q4_k_m.gguf -p "The meaning to life and the universe is"
148
+ ```
149
+ or
150
+ ```
151
+ ./llama-server --hf-repo Triangle104/Mistral-Small-Drummer-22B-Q4_K_M-GGUF --hf-file mistral-small-drummer-22b-q4_k_m.gguf -c 2048
152
+ ```