Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,161 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
license: apache-2.0
|
5 |
+
tags:
|
6 |
+
- mistral
|
7 |
+
- not-for-all-audiences
|
8 |
+
- merge
|
9 |
+
- llama-cpp
|
10 |
+
- gguf-my-repo
|
11 |
+
base_model: TeeZee/DarkSapling-7B-v2.0
|
12 |
+
pipeline_tag: text-generation
|
13 |
+
inference: false
|
14 |
+
model-index:
|
15 |
+
- name: DarkSapling-7B-v2.0
|
16 |
+
results:
|
17 |
+
- task:
|
18 |
+
type: text-generation
|
19 |
+
name: Text Generation
|
20 |
+
dataset:
|
21 |
+
name: AI2 Reasoning Challenge (25-Shot)
|
22 |
+
type: ai2_arc
|
23 |
+
config: ARC-Challenge
|
24 |
+
split: test
|
25 |
+
args:
|
26 |
+
num_few_shot: 25
|
27 |
+
metrics:
|
28 |
+
- type: acc_norm
|
29 |
+
value: 64.16
|
30 |
+
name: normalized accuracy
|
31 |
+
source:
|
32 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=TeeZee/DarkSapling-7B-v2.0
|
33 |
+
name: Open LLM Leaderboard
|
34 |
+
- task:
|
35 |
+
type: text-generation
|
36 |
+
name: Text Generation
|
37 |
+
dataset:
|
38 |
+
name: HellaSwag (10-Shot)
|
39 |
+
type: hellaswag
|
40 |
+
split: validation
|
41 |
+
args:
|
42 |
+
num_few_shot: 10
|
43 |
+
metrics:
|
44 |
+
- type: acc_norm
|
45 |
+
value: 85.1
|
46 |
+
name: normalized accuracy
|
47 |
+
source:
|
48 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=TeeZee/DarkSapling-7B-v2.0
|
49 |
+
name: Open LLM Leaderboard
|
50 |
+
- task:
|
51 |
+
type: text-generation
|
52 |
+
name: Text Generation
|
53 |
+
dataset:
|
54 |
+
name: MMLU (5-Shot)
|
55 |
+
type: cais/mmlu
|
56 |
+
config: all
|
57 |
+
split: test
|
58 |
+
args:
|
59 |
+
num_few_shot: 5
|
60 |
+
metrics:
|
61 |
+
- type: acc
|
62 |
+
value: 64.37
|
63 |
+
name: accuracy
|
64 |
+
source:
|
65 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=TeeZee/DarkSapling-7B-v2.0
|
66 |
+
name: Open LLM Leaderboard
|
67 |
+
- task:
|
68 |
+
type: text-generation
|
69 |
+
name: Text Generation
|
70 |
+
dataset:
|
71 |
+
name: TruthfulQA (0-shot)
|
72 |
+
type: truthful_qa
|
73 |
+
config: multiple_choice
|
74 |
+
split: validation
|
75 |
+
args:
|
76 |
+
num_few_shot: 0
|
77 |
+
metrics:
|
78 |
+
- type: mc2
|
79 |
+
value: 52.21
|
80 |
+
source:
|
81 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=TeeZee/DarkSapling-7B-v2.0
|
82 |
+
name: Open LLM Leaderboard
|
83 |
+
- task:
|
84 |
+
type: text-generation
|
85 |
+
name: Text Generation
|
86 |
+
dataset:
|
87 |
+
name: Winogrande (5-shot)
|
88 |
+
type: winogrande
|
89 |
+
config: winogrande_xl
|
90 |
+
split: validation
|
91 |
+
args:
|
92 |
+
num_few_shot: 5
|
93 |
+
metrics:
|
94 |
+
- type: acc
|
95 |
+
value: 78.61
|
96 |
+
name: accuracy
|
97 |
+
source:
|
98 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=TeeZee/DarkSapling-7B-v2.0
|
99 |
+
name: Open LLM Leaderboard
|
100 |
+
- task:
|
101 |
+
type: text-generation
|
102 |
+
name: Text Generation
|
103 |
+
dataset:
|
104 |
+
name: GSM8k (5-shot)
|
105 |
+
type: gsm8k
|
106 |
+
config: main
|
107 |
+
split: test
|
108 |
+
args:
|
109 |
+
num_few_shot: 5
|
110 |
+
metrics:
|
111 |
+
- type: acc
|
112 |
+
value: 45.41
|
113 |
+
name: accuracy
|
114 |
+
source:
|
115 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=TeeZee/DarkSapling-7B-v2.0
|
116 |
+
name: Open LLM Leaderboard
|
117 |
+
---
|
118 |
+
|
119 |
+
# Ransss/DarkSapling-7B-v2.0-Q8_0-GGUF
|
120 |
+
This model was converted to GGUF format from [`TeeZee/DarkSapling-7B-v2.0`](https://huggingface.co/TeeZee/DarkSapling-7B-v2.0) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
121 |
+
Refer to the [original model card](https://huggingface.co/TeeZee/DarkSapling-7B-v2.0) for more details on the model.
|
122 |
+
|
123 |
+
## Use with llama.cpp
|
124 |
+
Install llama.cpp through brew (works on Mac and Linux)
|
125 |
+
|
126 |
+
```bash
|
127 |
+
brew install llama.cpp
|
128 |
+
|
129 |
+
```
|
130 |
+
Invoke the llama.cpp server or the CLI.
|
131 |
+
|
132 |
+
### CLI:
|
133 |
+
```bash
|
134 |
+
llama --hf-repo Ransss/DarkSapling-7B-v2.0-Q8_0-GGUF --hf-file darksapling-7b-v2.0-q8_0.gguf -p "The meaning to life and the universe is"
|
135 |
+
```
|
136 |
+
|
137 |
+
### Server:
|
138 |
+
```bash
|
139 |
+
llama-server --hf-repo Ransss/DarkSapling-7B-v2.0-Q8_0-GGUF --hf-file darksapling-7b-v2.0-q8_0.gguf -c 2048
|
140 |
+
```
|
141 |
+
|
142 |
+
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.
|
143 |
+
|
144 |
+
Step 1: Clone llama.cpp from GitHub.
|
145 |
+
```
|
146 |
+
git clone https://github.com/ggerganov/llama.cpp
|
147 |
+
```
|
148 |
+
|
149 |
+
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).
|
150 |
+
```
|
151 |
+
cd llama.cpp && LLAMA_CURL=1 make
|
152 |
+
```
|
153 |
+
|
154 |
+
Step 3: Run inference through the main binary.
|
155 |
+
```
|
156 |
+
./main --hf-repo Ransss/DarkSapling-7B-v2.0-Q8_0-GGUF --hf-file darksapling-7b-v2.0-q8_0.gguf -p "The meaning to life and the universe is"
|
157 |
+
```
|
158 |
+
or
|
159 |
+
```
|
160 |
+
./server --hf-repo Ransss/DarkSapling-7B-v2.0-Q8_0-GGUF --hf-file darksapling-7b-v2.0-q8_0.gguf -c 2048
|
161 |
+
```
|