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