Triangle104 commited on
Commit
7a927f3
1 Parent(s): 1c03e35

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +151 -0
README.md ADDED
@@ -0,0 +1,151 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: gemma
5
+ library_name: transformers
6
+ tags:
7
+ - chat
8
+ - llama-cpp
9
+ - gguf-my-repo
10
+ pipeline_tag: text-generation
11
+ base_model: anthracite-org/magnum-v4-9b
12
+ model-index:
13
+ - name: magnum-v4-9b
14
+ results:
15
+ - task:
16
+ type: text-generation
17
+ name: Text Generation
18
+ dataset:
19
+ name: IFEval (0-Shot)
20
+ type: HuggingFaceH4/ifeval
21
+ args:
22
+ num_few_shot: 0
23
+ metrics:
24
+ - type: inst_level_strict_acc and prompt_level_strict_acc
25
+ value: 35.03
26
+ name: strict accuracy
27
+ source:
28
+ url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=anthracite-org/magnum-v4-9b
29
+ name: Open LLM Leaderboard
30
+ - task:
31
+ type: text-generation
32
+ name: Text Generation
33
+ dataset:
34
+ name: BBH (3-Shot)
35
+ type: BBH
36
+ args:
37
+ num_few_shot: 3
38
+ metrics:
39
+ - type: acc_norm
40
+ value: 33.27
41
+ name: normalized accuracy
42
+ source:
43
+ url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=anthracite-org/magnum-v4-9b
44
+ name: Open LLM Leaderboard
45
+ - task:
46
+ type: text-generation
47
+ name: Text Generation
48
+ dataset:
49
+ name: MATH Lvl 5 (4-Shot)
50
+ type: hendrycks/competition_math
51
+ args:
52
+ num_few_shot: 4
53
+ metrics:
54
+ - type: exact_match
55
+ value: 11.63
56
+ name: exact match
57
+ source:
58
+ url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=anthracite-org/magnum-v4-9b
59
+ name: Open LLM Leaderboard
60
+ - task:
61
+ type: text-generation
62
+ name: Text Generation
63
+ dataset:
64
+ name: GPQA (0-shot)
65
+ type: Idavidrein/gpqa
66
+ args:
67
+ num_few_shot: 0
68
+ metrics:
69
+ - type: acc_norm
70
+ value: 12.98
71
+ name: acc_norm
72
+ source:
73
+ url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=anthracite-org/magnum-v4-9b
74
+ name: Open LLM Leaderboard
75
+ - task:
76
+ type: text-generation
77
+ name: Text Generation
78
+ dataset:
79
+ name: MuSR (0-shot)
80
+ type: TAUR-Lab/MuSR
81
+ args:
82
+ num_few_shot: 0
83
+ metrics:
84
+ - type: acc_norm
85
+ value: 15.65
86
+ name: acc_norm
87
+ source:
88
+ url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=anthracite-org/magnum-v4-9b
89
+ name: Open LLM Leaderboard
90
+ - task:
91
+ type: text-generation
92
+ name: Text Generation
93
+ dataset:
94
+ name: MMLU-PRO (5-shot)
95
+ type: TIGER-Lab/MMLU-Pro
96
+ config: main
97
+ split: test
98
+ args:
99
+ num_few_shot: 5
100
+ metrics:
101
+ - type: acc
102
+ value: 32.81
103
+ name: accuracy
104
+ source:
105
+ url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=anthracite-org/magnum-v4-9b
106
+ name: Open LLM Leaderboard
107
+ ---
108
+
109
+ # Triangle104/magnum-v4-9b-Q5_K_M-GGUF
110
+ This model was converted to GGUF format from [`anthracite-org/magnum-v4-9b`](https://huggingface.co/anthracite-org/magnum-v4-9b) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
111
+ Refer to the [original model card](https://huggingface.co/anthracite-org/magnum-v4-9b) for more details on the model.
112
+
113
+ ## Use with llama.cpp
114
+ Install llama.cpp through brew (works on Mac and Linux)
115
+
116
+ ```bash
117
+ brew install llama.cpp
118
+
119
+ ```
120
+ Invoke the llama.cpp server or the CLI.
121
+
122
+ ### CLI:
123
+ ```bash
124
+ llama-cli --hf-repo Triangle104/magnum-v4-9b-Q5_K_M-GGUF --hf-file magnum-v4-9b-q5_k_m.gguf -p "The meaning to life and the universe is"
125
+ ```
126
+
127
+ ### Server:
128
+ ```bash
129
+ llama-server --hf-repo Triangle104/magnum-v4-9b-Q5_K_M-GGUF --hf-file magnum-v4-9b-q5_k_m.gguf -c 2048
130
+ ```
131
+
132
+ 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.
133
+
134
+ Step 1: Clone llama.cpp from GitHub.
135
+ ```
136
+ git clone https://github.com/ggerganov/llama.cpp
137
+ ```
138
+
139
+ 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).
140
+ ```
141
+ cd llama.cpp && LLAMA_CURL=1 make
142
+ ```
143
+
144
+ Step 3: Run inference through the main binary.
145
+ ```
146
+ ./llama-cli --hf-repo Triangle104/magnum-v4-9b-Q5_K_M-GGUF --hf-file magnum-v4-9b-q5_k_m.gguf -p "The meaning to life and the universe is"
147
+ ```
148
+ or
149
+ ```
150
+ ./llama-server --hf-repo Triangle104/magnum-v4-9b-Q5_K_M-GGUF --hf-file magnum-v4-9b-q5_k_m.gguf -c 2048
151
+ ```