Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- README.md +396 -0
- llama3-openbiollm-70b.Q4_0.gguf +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
llama3-openbiollm-70b.Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,396 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: meta-llama/Meta-Llama-3-70B-Instruct
|
3 |
+
tags:
|
4 |
+
- llama-3
|
5 |
+
- llama
|
6 |
+
- Mixtral
|
7 |
+
- instruct
|
8 |
+
- finetune
|
9 |
+
- chatml
|
10 |
+
- DPO
|
11 |
+
- RLHF
|
12 |
+
- gpt4
|
13 |
+
- distillation
|
14 |
+
- heathcare
|
15 |
+
- medical
|
16 |
+
- clinical
|
17 |
+
- med
|
18 |
+
- lifescience
|
19 |
+
- Pharmaceutical
|
20 |
+
- Pharma
|
21 |
+
model-index:
|
22 |
+
- name: OpenBioLLM-70B
|
23 |
+
results: []
|
24 |
+
license: llama3
|
25 |
+
language:
|
26 |
+
- en
|
27 |
+
widget:
|
28 |
+
- example_title: OpenBioLLM-70B
|
29 |
+
messages:
|
30 |
+
- role: system
|
31 |
+
content: >-
|
32 |
+
You are an expert and experienced from the healthcare and biomedical
|
33 |
+
domain with extensive medical knowledge and practical experience.
|
34 |
+
- role: user
|
35 |
+
content: How long does it take for newborn jaundice to go away?
|
36 |
+
output:
|
37 |
+
text: >-
|
38 |
+
Newborn jaundice, also known as neonatal jaundice, is a common condition
|
39 |
+
in newborns where the yellowing of the skin and eyes occurs due to an
|
40 |
+
elevated level of bilirubin in the blood. Bilirubin is a yellow pigment
|
41 |
+
that forms when red blood cells break down. In most cases, newborn
|
42 |
+
jaundice resolves on its own without any specific treatment.
|
43 |
+
|
44 |
+
The duration of newborn jaundice can vary depending on several factors
|
45 |
+
such as the underlying cause, gestational age at birth, and individual
|
46 |
+
variations in bilirubin metabolism. Here are some general guidelines:
|
47 |
+
|
48 |
+
1. Physiological jaundice: This is the most common type of newborn
|
49 |
+
jaundice and usually appears within 24-72 hours after birth. It tends to
|
50 |
+
peak between the second and fifth day of life and gradually improves over
|
51 |
+
the next week or two. By the time the baby is one week old, the jaundice
|
52 |
+
should have mostly resolved. 2. Breast milk jaundice: This type of
|
53 |
+
jaundice occurs in breastfed babies and may appear later than
|
54 |
+
physiological jaundice, typically between the fifth and fourteenth day of
|
55 |
+
life. It tends to persist for a longer duration but usually resolves
|
56 |
+
within six weeks after birth. 3. Pathological jaundice: This type of
|
57 |
+
jaundice is less common and occurs due to an underlying medical condition
|
58 |
+
that affects bilirubin metabolism or liver function. The duration of
|
59 |
+
pathological jaundice depends on the specific cause and may require
|
60 |
+
treatment.
|
61 |
+
|
62 |
+
It's important for parents to monitor their newborn's jaundice closely and
|
63 |
+
seek medical advice if the jaundice progresses rapidly, becomes severe, or
|
64 |
+
is accompanied by other symptoms such as poor feeding, lethargy, or
|
65 |
+
excessive sleepiness. In these cases, further evaluation and management
|
66 |
+
may be necessary. Remember that each baby is unique, and the timing of
|
67 |
+
jaundice resolution can vary. If you have concerns about your newborn's
|
68 |
+
jaundice, it's always best to consult with a healthcare professional for
|
69 |
+
personalized advice and guidance.
|
70 |
+
---
|
71 |
+
|
72 |
+
|
73 |
+
<div align="center">
|
74 |
+
<img width="260px" src="https://cdn-uploads.huggingface.co/production/uploads/5f3fe13d79c1ba4c353d0c19/BrQCb95lmEIFz79QAmoNA.png"></div>
|
75 |
+
|
76 |
+
![image/png](https://cdn-uploads.huggingface.co/production/uploads/5f3fe13d79c1ba4c353d0c19/fJIOPJnY6Ff6fUiSIuMEt.png)
|
77 |
+
|
78 |
+
|
79 |
+
|
80 |
+
|
81 |
+
<div align="center">
|
82 |
+
|
83 |
+
<h1>Advancing Open-source Large Language Models in Medical Domain</h1>
|
84 |
+
</div>
|
85 |
+
|
86 |
+
<p align="center" style="margin-top: 0px;">
|
87 |
+
<a href="https://colab.research.google.com/drive/1F5oV20InEYeAJGmBwYF9NM_QhLmjBkKJ?usp=sharing">
|
88 |
+
<img src="https://colab.research.google.com/assets/colab-badge.svg" alt="OpenChat Logo" style="width:20px; vertical-align: middle; display: inline-block; margin-right: 5px; margin-left: 10px; margin-top: 0px; margin-bottom: 0px;"/>
|
89 |
+
<span class="link-text" style=" margin-right: 5px;">Online Demo</span>
|
90 |
+
</a> |
|
91 |
+
<a href="https://github.com/openlifescience-ai">
|
92 |
+
<img src="https://github.githubassets.com/assets/GitHub-Mark-ea2971cee799.png" alt="GitHub Logo" style="width:20px; vertical-align: middle; display: inline-block; margin-right: 5px; margin-left: 5px; margin-top: 0px; margin-bottom: 0px;"/>
|
93 |
+
<span class="link-text" style=" margin-right: 5px;">GitHub</span>
|
94 |
+
</a> |
|
95 |
+
<a href="#">
|
96 |
+
<img src="https://github.com/alpayariyak/openchat/blob/master/assets/arxiv-logomark-small-square-border.png?raw=true" alt="ArXiv Logo" style="width:20px; vertical-align: middle; display: inline-block; margin-right: 5px; margin-left: 5px; margin-top: 0px; margin-bottom: 0px;"/>
|
97 |
+
<span class="link-text" style="margin-right: 5px;">Paper</span>
|
98 |
+
</a> |
|
99 |
+
<a href="https://discord.gg/A5Fjf5zC69">
|
100 |
+
<img src="https://cloud.githubusercontent.com/assets/6291467/26705903/96c2d66e-477c-11e7-9f4e-f3c0efe96c9a.png" alt="Discord Logo" style="width:20px; vertical-align: middle; display: inline-block; margin-right: 5px; margin-left: 5px; margin-top: 0px; margin-bottom: 0px;"/>
|
101 |
+
<span class="link-text">Discord</span>
|
102 |
+
</a>
|
103 |
+
</p>
|
104 |
+
|
105 |
+
![image/jpeg](https://cdn-uploads.huggingface.co/production/uploads/5f3fe13d79c1ba4c353d0c19/KGmRE5w2sepNtwsEu8t7K.jpeg)
|
106 |
+
|
107 |
+
Introducing OpenBioLLM-70B: A State-of-the-Art Open Source Biomedical Large Language Model
|
108 |
+
|
109 |
+
|
110 |
+
OpenBioLLM-70B is an advanced open source language model designed specifically for the biomedical domain. Developed by Saama AI Labs, this model leverages cutting-edge techniques to achieve state-of-the-art performance on a wide range of biomedical tasks.
|
111 |
+
|
112 |
+
🏥 **Biomedical Specialization**: OpenBioLLM-70B is tailored for the unique language and knowledge requirements of the medical and life sciences fields. It was fine-tuned on a vast corpus of high-quality biomedical data, enabling it to understand and generate text with domain-specific accuracy and fluency.
|
113 |
+
|
114 |
+
🎓 **Superior Performance**: With 70 billion parameters, OpenBioLLM-70B outperforms other open source biomedical language models of similar scale. It has also demonstrated better results compared to larger proprietary & open-source models like GPT-4, Gemini, Meditron-70B, Med-PaLM-1 & Med-PaLM-2 on biomedical benchmarks.
|
115 |
+
|
116 |
+
🧠 **Advanced Training Techniques**: OpenBioLLM-70B builds upon the powerful foundations of the **Meta-Llama-3-70B-Instruct** and [Meta-Llama-3-70B-Instruct](meta-llama/Meta-Llama-3-70B-Instruct) models. It incorporates the DPO dataset and fine-tuning recipe along with a custom diverse medical instruction dataset. Key components of the training pipeline include:
|
117 |
+
|
118 |
+
<div align="center">
|
119 |
+
<img width="1200px" src="https://cdn-uploads.huggingface.co/production/uploads/5f3fe13d79c1ba4c353d0c19/oPchsJsEpQoGcGXVbh7YS.png">
|
120 |
+
</div>
|
121 |
+
|
122 |
+
|
123 |
+
- **Policy Optimization**: [Direct Preference Optimization: Your Language Model is Secretly a Reward Model (DPO)](https://arxiv.org/abs/2305.18290)
|
124 |
+
- **Fine-tuning dataset**: Custom Medical Instruct dataset (We plan to release a sample training dataset in our upcoming paper; please stay updated)
|
125 |
+
|
126 |
+
This combination of cutting-edge techniques enables OpenBioLLM-70B to align with key capabilities and preferences for biomedical applications.
|
127 |
+
|
128 |
+
⚙️ **Release Details**:
|
129 |
+
|
130 |
+
- **Model Size**: 70 billion parameters
|
131 |
+
- **Quantization**: Optimized quantized versions available [Here](https://huggingface.co/aaditya/OpenBioLLM-70B-GGUF)
|
132 |
+
- **Language(s) (NLP):** en
|
133 |
+
- **Developed By**: [Ankit Pal (Aaditya Ura)](https://aadityaura.github.io/) from Saama AI Labs
|
134 |
+
- **License:** Meta-Llama License
|
135 |
+
- **Fine-tuned from models:** [Meta-Llama-3-70B-Instruct](meta-llama/Meta-Llama-3-70B-Instruct)
|
136 |
+
- **Resources for more information:**
|
137 |
+
- Paper: Coming soon
|
138 |
+
|
139 |
+
The model can be fine-tuned for more specialized tasks and datasets as needed.
|
140 |
+
|
141 |
+
OpenBioLLM-70B represents an important step forward in democratizing advanced language AI for the biomedical community. By leveraging state-of-the-art architectures and training techniques from leading open source efforts like Llama-3, we have created a powerful tool to accelerate innovation and discovery in healthcare and the life sciences.
|
142 |
+
|
143 |
+
We are excited to share OpenBioLLM-70B with researchers and developers around the world.
|
144 |
+
|
145 |
+
|
146 |
+
### Use with transformers
|
147 |
+
|
148 |
+
**Important: Please use the exact chat template provided by Llama-3 instruct version. Otherwise there will be a degradation in the performance. The model output can be verbose in rare cases. Please consider setting temperature = 0 to make this happen less.**
|
149 |
+
|
150 |
+
See the snippet below for usage with Transformers:
|
151 |
+
|
152 |
+
```python
|
153 |
+
import transformers
|
154 |
+
import torch
|
155 |
+
|
156 |
+
model_id = "aaditya/OpenBioLLM-Llama3-70B"
|
157 |
+
|
158 |
+
pipeline = transformers.pipeline(
|
159 |
+
"text-generation",
|
160 |
+
model=model_id,
|
161 |
+
model_kwargs={"torch_dtype": torch.bfloat16},
|
162 |
+
device="auto",
|
163 |
+
)
|
164 |
+
|
165 |
+
messages = [
|
166 |
+
{"role": "system", "content": "You are an expert and experienced from the healthcare and biomedical domain with extensive medical knowledge and practical experience. Your name is OpenBioLLM, and you were developed by Saama AI Labs. who's willing to help answer the user's query with explanation. In your explanation, leverage your deep medical expertise such as relevant anatomical structures, physiological processes, diagnostic criteria, treatment guidelines, or other pertinent medical concepts. Use precise medical terminology while still aiming to make the explanation clear and accessible to a general audience."},
|
167 |
+
{"role": "user", "content": "How can i split a 3mg or 4mg waefin pill so i can get a 2.5mg pill?"},
|
168 |
+
]
|
169 |
+
|
170 |
+
prompt = pipeline.tokenizer.apply_chat_template(
|
171 |
+
messages,
|
172 |
+
tokenize=False,
|
173 |
+
add_generation_prompt=True
|
174 |
+
)
|
175 |
+
|
176 |
+
terminators = [
|
177 |
+
pipeline.tokenizer.eos_token_id,
|
178 |
+
pipeline.tokenizer.convert_tokens_to_ids("<|eot_id|>")
|
179 |
+
]
|
180 |
+
|
181 |
+
outputs = pipeline(
|
182 |
+
prompt,
|
183 |
+
max_new_tokens=256,
|
184 |
+
eos_token_id=terminators,
|
185 |
+
do_sample=True,
|
186 |
+
temperature=0.0,
|
187 |
+
top_p=0.9,
|
188 |
+
)
|
189 |
+
print(outputs[0]["generated_text"][len(prompt):])
|
190 |
+
```
|
191 |
+
|
192 |
+
## **Training procedure**
|
193 |
+
|
194 |
+
### **Training hyperparameters**
|
195 |
+
|
196 |
+
<details>
|
197 |
+
<summary>Click to see details</summary>
|
198 |
+
|
199 |
+
- learning_rate: 0.0002
|
200 |
+
- lr_scheduler: cosine
|
201 |
+
- train_batch_size: 12
|
202 |
+
- eval_batch_size: 8
|
203 |
+
- GPU: H100 80GB SXM5
|
204 |
+
- num_devices: 8
|
205 |
+
- optimizer: adamw_bnb_8bit
|
206 |
+
- lr_scheduler_warmup_steps: 100
|
207 |
+
- num_epochs: 4
|
208 |
+
</details>
|
209 |
+
|
210 |
+
|
211 |
+
### **Peft hyperparameters**
|
212 |
+
|
213 |
+
<details>
|
214 |
+
<summary>Click to see details</summary>
|
215 |
+
|
216 |
+
- adapter: qlora
|
217 |
+
- lora_r: 128
|
218 |
+
- lora_alpha: 256
|
219 |
+
- lora_dropout: 0.05
|
220 |
+
- lora_target_linear: true
|
221 |
+
|
222 |
+
-lora_target_modules:
|
223 |
+
- q_proj
|
224 |
+
- v_proj
|
225 |
+
- k_proj
|
226 |
+
- o_proj
|
227 |
+
- gate_proj
|
228 |
+
- down_proj
|
229 |
+
- up_proj
|
230 |
+
</details>
|
231 |
+
|
232 |
+
|
233 |
+
|
234 |
+
### **Training results**
|
235 |
+
|
236 |
+
### **Framework versions**
|
237 |
+
|
238 |
+
- Transformers 4.39.3
|
239 |
+
- Pytorch 2.1.2+cu121
|
240 |
+
- Datasets 2.18.0
|
241 |
+
- Tokenizers 0.15.1
|
242 |
+
- Axolotl
|
243 |
+
- Lm harness for evaluation
|
244 |
+
|
245 |
+
|
246 |
+
# Benchmark Results
|
247 |
+
|
248 |
+
🔥 OpenBioLLM-70B demonstrates superior performance compared to larger models, such as GPT-4, Gemini, Meditron-70B, Med-PaLM-1 & Med-PaLM-2 across 9 diverse biomedical datasets, achieving state-of-the-art results with an average score of 86.06%, despite having a significantly smaller parameter count. The model's strong performance in domain-specific tasks, such as Clinical KG, Medical Genetics, and PubMedQA, highlights its ability to effectively capture and apply biomedical knowledge.
|
249 |
+
|
250 |
+
🚨 The GPT-4, Med-PaLM-1, and Med-PaLM-2 results are taken from their official papers. Since Med-PaLM doesn't provide zero-shot accuracy, we are using 5-shot accuracy from their paper for comparison. All results presented are in the zero-shot setting, except for Med-PaLM-2 and Med-PaLM-1, which use 5-shot accuracy.
|
251 |
+
|
252 |
+
| | Clinical KG | Medical Genetics | Anatomy | Pro Medicine | College Biology | College Medicine | MedQA 4 opts | PubMedQA | MedMCQA | Avg |
|
253 |
+
|--------------------|-------------|------------------|---------|--------------|-----------------|------------------|--------------|----------|---------|-------|
|
254 |
+
| **OpenBioLLM-70B** | **92.93** | **93.197** | **83.904** | 93.75 | 93.827 | **85.749** | 78.162 | 78.97 | **74.014** | **86.05588** |
|
255 |
+
| Med-PaLM-2 (5-shot) | 88.3 | 90 | 77.8 | **95.2** | 94.4 | 80.9 | **79.7** | **79.2** | 71.3 | 84.08 |
|
256 |
+
| **GPT-4** | 86.04 | 91 | 80 | 93.01 | **95.14** | 76.88 | 78.87 | 75.2 | 69.52 | 82.85 |
|
257 |
+
| Med-PaLM-1 (Flan-PaLM, 5-shot) | 80.4 | 75 | 63.7 | 83.8 | 88.9 | 76.3 | 67.6 | 79 | 57.6 | 74.7 |
|
258 |
+
| **OpenBioLLM-8B** | 76.101 | 86.1 | 69.829 | 78.21 | 84.213 | 68.042 | 58.993 | 74.12 | 56.913 | 72.502 |
|
259 |
+
| Gemini-1.0 | 76.7 | 75.8 | 66.7 | 77.7 | 88 | 69.2 | 58 | 70.7 | 54.3 | 70.79 |
|
260 |
+
| GPT-3.5 Turbo 1106 | 74.71 | 74 | 72.79 | 72.79 | 72.91 | 64.73 | 57.71 | 72.66 | 53.79 | 66 |
|
261 |
+
| Meditron-70B | 66.79 | 69 | 53.33 | 71.69 | 76.38 | 63 | 57.1 | 76.6 | 46.85 | 64.52 |
|
262 |
+
| gemma-7b | 69.81 | 70 | 59.26 | 66.18 | 79.86 | 60.12 | 47.21 | 76.2 | 48.96 | 64.18 |
|
263 |
+
| Mistral-7B-v0.1 | 68.68 | 71 | 55.56 | 68.38 | 68.06 | 59.54 | 50.82 | 75.4 | 48.2 | 62.85 |
|
264 |
+
| Apollo-7B | 62.26 | 72 | 61.48 | 69.12 | 70.83 | 55.49 | 55.22 | 39.8 | 53.77 | 60 |
|
265 |
+
| MedAlpaca-7b | 57.36 | 69 | 57.04 | 67.28 | 65.28 | 54.34 | 41.71 | 72.8 | 37.51 | 58.03 |
|
266 |
+
| BioMistral-7B | 59.9 | 64 | 56.5 | 60.4 | 59 | 54.7 | 50.6 | 77.5 | 48.1 | 57.3 |
|
267 |
+
| AlpaCare-llama2-7b | 49.81 | 49 | 45.92 | 33.82 | 50 | 43.35 | 29.77 | 72.2 | 34.42 | 45.36 |
|
268 |
+
| ClinicalGPT | 30.56 | 27 | 30.37 | 19.48 | 25 | 24.27 | 26.08 | 63.8 | 28.18 | 30.52 |
|
269 |
+
|
270 |
+
<div align="center">
|
271 |
+
<img width="1600px" src="https://cdn-uploads.huggingface.co/production/uploads/5f3fe13d79c1ba4c353d0c19/_SzdcJSBjZyo8RS1bTEkP.png">
|
272 |
+
</div>
|
273 |
+
|
274 |
+
## Detailed Medical Subjectwise accuracy
|
275 |
+
|
276 |
+
|
277 |
+
![image/png](https://cdn-uploads.huggingface.co/production/uploads/5f3fe13d79c1ba4c353d0c19/UXF-V0col0Z0sS6BGPBkE.png)
|
278 |
+
|
279 |
+
# Use Cases & Examples
|
280 |
+
|
281 |
+
🚨 **Below results are from the quantized version of OpenBioLLM-70B
|
282 |
+
|
283 |
+
|
284 |
+
# Summarize Clinical Notes
|
285 |
+
|
286 |
+
OpenBioLLM-70B can efficiently analyze and summarize complex clinical notes, EHR data, and discharge summaries, extracting key information and generating concise, structured summaries
|
287 |
+
|
288 |
+
|
289 |
+
![image/png](https://cdn-uploads.huggingface.co/production/uploads/5f3fe13d79c1ba4c353d0c19/xdwdBgOxNi_TfML0hKlI8.png)
|
290 |
+
|
291 |
+
# Answer Medical Questions
|
292 |
+
|
293 |
+
OpenBioLLM-70B can provide answers to a wide range of medical questions.
|
294 |
+
|
295 |
+
|
296 |
+
![image/png](https://cdn-uploads.huggingface.co/production/uploads/5f3fe13d79c1ba4c353d0c19/zO95GlwOQEZqCKQF69mE6.png)
|
297 |
+
![image/png](https://cdn-uploads.huggingface.co/production/uploads/5f3fe13d79c1ba4c353d0c19/OKBczKw7gWeW5xsuDpc27.png)
|
298 |
+
|
299 |
+
<details>
|
300 |
+
<summary>Click to see details</summary>
|
301 |
+
|
302 |
+
|
303 |
+
![image/png](https://cdn-uploads.huggingface.co/production/uploads/5f3fe13d79c1ba4c353d0c19/eJGHT5khppYvJb8fQ-YW4.png)
|
304 |
+
![image/png](https://cdn-uploads.huggingface.co/production/uploads/5f3fe13d79c1ba4c353d0c19/Cnbwrqa_-ORHRuNRC2P6Y.png)
|
305 |
+
![image/png](https://cdn-uploads.huggingface.co/production/uploads/5f3fe13d79c1ba4c353d0c19/J9DhdcvukAc9mnnW9fj2C.png)
|
306 |
+
|
307 |
+
</details>
|
308 |
+
|
309 |
+
# Clinical Entity Recognition
|
310 |
+
|
311 |
+
OpenBioLLM-70B can perform advanced clinical entity recognition by identifying and extracting key medical concepts, such as diseases, symptoms, medications, procedures, and anatomical structures, from unstructured clinical text. By leveraging its deep understanding of medical terminology and context, the model can accurately annotate and categorize clinical entities, enabling more efficient information retrieval, data analysis, and knowledge discovery from electronic health records, research articles, and other biomedical text sources. This capability can support various downstream applications, such as clinical decision support, pharmacovigilance, and medical research.
|
312 |
+
|
313 |
+
|
314 |
+
![image/png](https://cdn-uploads.huggingface.co/production/uploads/5f3fe13d79c1ba4c353d0c19/_69BW4k9LVABFwtxixL45.png)
|
315 |
+
![image/png](https://cdn-uploads.huggingface.co/production/uploads/5f3fe13d79c1ba4c353d0c19/DKy5wYCoPhoPPUc1-x8_J.png)
|
316 |
+
![image/png](https://cdn-uploads.huggingface.co/production/uploads/5f3fe13d79c1ba4c353d0c19/7WD9zCCBZT4-4XlfnIQjl.png)
|
317 |
+
|
318 |
+
# Biomarkers Extraction
|
319 |
+
|
320 |
+
|
321 |
+
![image/png](https://cdn-uploads.huggingface.co/production/uploads/5f3fe13d79c1ba4c353d0c19/ZttoM4AiteT7gFYVhjIpN.png)
|
322 |
+
|
323 |
+
|
324 |
+
# Classification
|
325 |
+
|
326 |
+
OpenBioLLM-70B can perform various biomedical classification tasks, such as disease prediction, sentiment analysis, medical document categorization
|
327 |
+
|
328 |
+
![image/png](https://cdn-uploads.huggingface.co/production/uploads/5f3fe13d79c1ba4c353d0c19/Bf5MW1d75qT-1F_TR_hC0.png)
|
329 |
+
|
330 |
+
# De-Identification
|
331 |
+
|
332 |
+
OpenBioLLM-70B can detect and remove personally identifiable information (PII) from medical records, ensuring patient privacy and compliance with data protection regulations like HIPAA.
|
333 |
+
|
334 |
+
![image/png](https://cdn-uploads.huggingface.co/production/uploads/5f3fe13d79c1ba4c353d0c19/hKX4kzm--Tw5bj6K78msy.png)
|
335 |
+
|
336 |
+
|
337 |
+
|
338 |
+
**Advisory Notice!**
|
339 |
+
|
340 |
+
While OpenBioLLM-70B leverages high-quality data sources, its outputs may still contain inaccuracies, biases, or misalignments that could pose risks if relied upon for medical decision-making without further testing and refinement. The model's performance has not yet been rigorously evaluated in randomized controlled trials or real-world healthcare environments.
|
341 |
+
|
342 |
+
Therefore, we strongly advise against using OpenBioLLM-70B for any direct patient care, clinical decision support, or other professional medical purposes at this time. Its use should be limited to research, development, and exploratory applications by qualified individuals who understand its limitations.
|
343 |
+
OpenBioLLM-70B is intended solely as a research tool to assist healthcare professionals and should never be considered a replacement for the professional judgment and expertise of a qualified medical doctor.
|
344 |
+
|
345 |
+
Appropriately adapting and validating OpenBioLLM-70B for specific medical use cases would require significant additional work, potentially including:
|
346 |
+
|
347 |
+
- Thorough testing and evaluation in relevant clinical scenarios
|
348 |
+
- Alignment with evidence-based guidelines and best practices
|
349 |
+
- Mitigation of potential biases and failure modes
|
350 |
+
- Integration with human oversight and interpretation
|
351 |
+
- Compliance with regulatory and ethical standards
|
352 |
+
|
353 |
+
Always consult a qualified healthcare provider for personal medical needs.
|
354 |
+
|
355 |
+
|
356 |
+
|
357 |
+
# Citation
|
358 |
+
|
359 |
+
If you find OpenBioLLM-70B & 8B useful in your work, please cite the model as follows:
|
360 |
+
|
361 |
+
```
|
362 |
+
@misc{OpenBioLLMs,
|
363 |
+
author = {Ankit Pal, Malaikannan Sankarasubbu},
|
364 |
+
title = {OpenBioLLMs: Advancing Open-Source Large Language Models for Healthcare and Life Sciences},
|
365 |
+
year = {2024},
|
366 |
+
publisher = {Hugging Face},
|
367 |
+
journal = {Hugging Face repository},
|
368 |
+
howpublished = {\url{https://huggingface.co/aaditya/OpenBioLLM-Llama3-70B}}
|
369 |
+
}
|
370 |
+
```
|
371 |
+
|
372 |
+
The accompanying paper is currently in progress and will be released soon.
|
373 |
+
|
374 |
+
<div align="center">
|
375 |
+
<h2> 💌 Contact </h2>
|
376 |
+
</div>
|
377 |
+
|
378 |
+
We look forward to hearing you and collaborating on this exciting project!
|
379 |
+
|
380 |
+
**Contributors:**
|
381 |
+
- [Ankit Pal (Aaditya Ura)](https://aadityaura.github.io/) [aadityaura at gmail dot com]
|
382 |
+
- Saama AI Labs
|
383 |
+
- Note: I am looking for a funded PhD opportunity, especially if it fits my Responsible Generative AI, Multimodal LLMs, Geometric Deep Learning, and Healthcare AI skillset.
|
384 |
+
|
385 |
+
|
386 |
+
# References
|
387 |
+
|
388 |
+
We thank the [Meta Team](meta-llama/Meta-Llama-3-70B-Instruct) for their amazing models!
|
389 |
+
|
390 |
+
|
391 |
+
Result sources
|
392 |
+
|
393 |
+
- [1] GPT-4 [Capabilities of GPT-4 on Medical Challenge Problems] (https://arxiv.org/abs/2303.13375)
|
394 |
+
- [2] Med-PaLM-1 [Large Language Models Encode Clinical Knowledge](https://arxiv.org/abs/2212.13138)
|
395 |
+
- [3] Med-PaLM-2 [Towards Expert-Level Medical Question Answering with Large Language Models](https://arxiv.org/abs/2305.09617)
|
396 |
+
- [4] Gemini-1.0 [Gemini Goes to Med School](https://arxiv.org/abs/2402.07023)
|
llama3-openbiollm-70b.Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:df67d04774ad99ff5351c414fd3e97496e912e8201fcc0fa252bff3eb49452cf
|
3 |
+
size 39969733024
|