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