m1guelperez commited on
Commit
c86f72b
1 Parent(s): de3d7cf

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +94 -0
README.md ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-3
11
+ - instruct
12
+ - finetune
13
+ - chatml
14
+ - DPO
15
+ - RLHF
16
+ - gpt4
17
+ - distillation
18
+ - heathcare
19
+ - medical
20
+ - clinical
21
+ - med
22
+ - lifescience
23
+ - Pharmaceutical
24
+ - Pharma
25
+ - llama-cpp
26
+ - gguf-my-repo
27
+ base_model: ruslanmv/Medical-Llama3-8B
28
+ datasets:
29
+ - ruslanmv/ai-medical-chatbot
30
+ widget:
31
+ - example_title: Medical-Llama3-8B
32
+ messages:
33
+ - role: system
34
+ content: You are an expert and experienced from the healthcare and biomedical
35
+ domain with extensive medical knowledge and practical experience.
36
+ - role: user
37
+ content: How long does it take for newborn jaundice to go away?
38
+ output:
39
+ text: Newborn jaundice, also known as neonatal jaundice, is a common condition
40
+ in newborns where the yellowing of the skin and eyes occurs due to an elevated
41
+ level of bilirubin in the blood. Bilirubin is a yellow pigment that forms when
42
+ red blood cells break down. In most cases, newborn jaundice resolves on its
43
+ own without any specific treatment. The duration of newborn jaundice can vary
44
+ depending on several factors such as the underlying cause, gestational age at
45
+ birth, and individual variations in bilirubin metabolism. Here are some general
46
+ guidelines
47
+ model-index:
48
+ - name: Medical-Llama3-8B
49
+ results: []
50
+ ---
51
+
52
+ # m1guelperez/Medical-Llama3-8B-Q8_0-GGUF
53
+ 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.
54
+ Refer to the [original model card](https://huggingface.co/ruslanmv/Medical-Llama3-8B) for more details on the model.
55
+
56
+ ## Use with llama.cpp
57
+ Install llama.cpp through brew (works on Mac and Linux)
58
+
59
+ ```bash
60
+ brew install llama.cpp
61
+
62
+ ```
63
+ Invoke the llama.cpp server or the CLI.
64
+
65
+ ### CLI:
66
+ ```bash
67
+ llama-cli --hf-repo m1guelperez/Medical-Llama3-8B-Q8_0-GGUF --hf-file medical-llama3-8b-q8_0.gguf -p "The meaning to life and the universe is"
68
+ ```
69
+
70
+ ### Server:
71
+ ```bash
72
+ llama-server --hf-repo m1guelperez/Medical-Llama3-8B-Q8_0-GGUF --hf-file medical-llama3-8b-q8_0.gguf -c 2048
73
+ ```
74
+
75
+ 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.
76
+
77
+ Step 1: Clone llama.cpp from GitHub.
78
+ ```
79
+ git clone https://github.com/ggerganov/llama.cpp
80
+ ```
81
+
82
+ 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).
83
+ ```
84
+ cd llama.cpp && LLAMA_CURL=1 make
85
+ ```
86
+
87
+ Step 3: Run inference through the main binary.
88
+ ```
89
+ ./llama-cli --hf-repo m1guelperez/Medical-Llama3-8B-Q8_0-GGUF --hf-file medical-llama3-8b-q8_0.gguf -p "The meaning to life and the universe is"
90
+ ```
91
+ or
92
+ ```
93
+ ./llama-server --hf-repo m1guelperez/Medical-Llama3-8B-Q8_0-GGUF --hf-file medical-llama3-8b-q8_0.gguf -c 2048
94
+ ```