Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language: en
|
3 |
+
license: apache-2.0
|
4 |
+
tags:
|
5 |
+
- text-generation-inference
|
6 |
+
- transformers
|
7 |
+
- ruslanmv
|
8 |
+
- llama
|
9 |
+
- trl
|
10 |
+
- llama-cpp
|
11 |
+
- gguf-my-repo
|
12 |
+
base_model: meta-llama/Meta-Llama-3-8B
|
13 |
+
datasets:
|
14 |
+
- ruslanmv/ai-medical-chatbot
|
15 |
+
---
|
16 |
+
|
17 |
+
# Anoxiom/Medical-Llama3-8B-Q6_K-GGUF
|
18 |
+
This model was converted to GGUF format from [`ruslanmv/Medical-Llama3-8B`](https://huggingface.co/ruslanmv/Medical-Llama3-8B) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
19 |
+
Refer to the [original model card](https://huggingface.co/ruslanmv/Medical-Llama3-8B) for more details on the model.
|
20 |
+
## Use with llama.cpp
|
21 |
+
|
22 |
+
Install llama.cpp through brew.
|
23 |
+
|
24 |
+
```bash
|
25 |
+
brew install ggerganov/ggerganov/llama.cpp
|
26 |
+
```
|
27 |
+
Invoke the llama.cpp server or the CLI.
|
28 |
+
|
29 |
+
CLI:
|
30 |
+
|
31 |
+
```bash
|
32 |
+
llama-cli --hf-repo Anoxiom/Medical-Llama3-8B-Q6_K-GGUF --model medical-llama3-8b.Q6_K.gguf -p "The meaning to life and the universe is"
|
33 |
+
```
|
34 |
+
|
35 |
+
Server:
|
36 |
+
|
37 |
+
```bash
|
38 |
+
llama-server --hf-repo Anoxiom/Medical-Llama3-8B-Q6_K-GGUF --model medical-llama3-8b.Q6_K.gguf -c 2048
|
39 |
+
```
|
40 |
+
|
41 |
+
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.
|
42 |
+
|
43 |
+
```
|
44 |
+
git clone https://github.com/ggerganov/llama.cpp && cd llama.cpp && make && ./main -m medical-llama3-8b.Q6_K.gguf -n 128
|
45 |
+
```
|