LoneStriker commited on
Commit
c4b7d53
1 Parent(s): 4ded21e

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -1,35 +1,5 @@
1
- *.7z filter=lfs diff=lfs merge=lfs -text
2
- *.arrow filter=lfs diff=lfs merge=lfs -text
3
- *.bin filter=lfs diff=lfs merge=lfs -text
4
- *.bz2 filter=lfs diff=lfs merge=lfs -text
5
- *.ckpt filter=lfs diff=lfs merge=lfs -text
6
- *.ftz filter=lfs diff=lfs merge=lfs -text
7
- *.gz filter=lfs diff=lfs merge=lfs -text
8
- *.h5 filter=lfs diff=lfs merge=lfs -text
9
- *.joblib filter=lfs diff=lfs merge=lfs -text
10
- *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
- *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
- *.model filter=lfs diff=lfs merge=lfs -text
13
- *.msgpack filter=lfs diff=lfs merge=lfs -text
14
- *.npy filter=lfs diff=lfs merge=lfs -text
15
- *.npz filter=lfs diff=lfs merge=lfs -text
16
- *.onnx filter=lfs diff=lfs merge=lfs -text
17
- *.ot filter=lfs diff=lfs merge=lfs -text
18
- *.parquet filter=lfs diff=lfs merge=lfs -text
19
- *.pb filter=lfs diff=lfs merge=lfs -text
20
- *.pickle filter=lfs diff=lfs merge=lfs -text
21
- *.pkl filter=lfs diff=lfs merge=lfs -text
22
- *.pt filter=lfs diff=lfs merge=lfs -text
23
- *.pth filter=lfs diff=lfs merge=lfs -text
24
- *.rar filter=lfs diff=lfs merge=lfs -text
25
- *.safetensors filter=lfs diff=lfs merge=lfs -text
26
- saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
- *.tar.* filter=lfs diff=lfs merge=lfs -text
28
- *.tar filter=lfs diff=lfs merge=lfs -text
29
- *.tflite filter=lfs diff=lfs merge=lfs -text
30
- *.tgz filter=lfs diff=lfs merge=lfs -text
31
- *.wasm filter=lfs diff=lfs merge=lfs -text
32
- *.xz 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
 
1
+ OpenBioLLM-Llama3-8B-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
2
+ OpenBioLLM-Llama3-8B-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
3
+ OpenBioLLM-Llama3-8B-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
4
+ OpenBioLLM-Llama3-8B-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
5
+ OpenBioLLM-Llama3-8B-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
OpenBioLLM-Llama3-8B-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d735c3cdd026632ff951b9296320fa564536b18a1b79aad31d3849b49d8f77ff
3
+ size 4321955680
OpenBioLLM-Llama3-8B-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a561f511c4bc0b3e307253dfb821d409ff06bf53ef1803edfbc7d08c9093f80f
3
+ size 4920733536
OpenBioLLM-Llama3-8B-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a9d1029679031ee9c892d8547638587ed3936f505d510cacae14e3d0244dcd5
3
+ size 5732986720
OpenBioLLM-Llama3-8B-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d10229ab0084f98dd25f5d5ad207af2bda05fdf4e7183153aad6505d77925899
3
+ size 6596005728
OpenBioLLM-Llama3-8B-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb77cfc68c32d7575233067e081540c0ed0d9c42ed545207de876719dea95d50
3
+ size 8540770144
README.md ADDED
@@ -0,0 +1,367 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: meta-llama/Meta-Llama-3-8B
3
+ tags:
4
+ - llama-3
5
+ - llama
6
+ - Mixtral
7
+ - instruct
8
+ - finetune
9
+ - chatml
10
+ - DPO
11
+ - RLHF
12
+ - gpt4
13
+ - distillation
14
+ model-index:
15
+ - name: OpenBioLLM-8B
16
+ results: []
17
+ license: llama3
18
+ language:
19
+ - en
20
+ widget:
21
+ - example_title: OpenBioLLM-8B
22
+ messages:
23
+ - role: system
24
+ content: >-
25
+ You are an expert and experienced from the healthcare and biomedical domain with extensive medical knowledge and practical experience.
26
+ - role: user
27
+ content: How long does it take for newborn jaundice to go away?
28
+ output:
29
+ text: >-
30
+ Newborn jaundice, also known as neonatal jaundice, is a common condition in newborns where the yellowing of the skin and eyes occurs due to an elevated level of bilirubin in the blood. Bilirubin is a yellow pigment that forms when red blood cells break down. In most cases, newborn jaundice resolves on its own without any specific treatment.
31
+
32
+ The duration of newborn jaundice can vary depending on several factors such as the underlying cause, gestational age at birth, and individual variations in bilirubin metabolism. Here are some general guidelines:
33
+
34
+ 1. Physiological jaundice: This is the most common type of newborn jaundice and usually appears within 24-72 hours after birth. It tends to peak between the second and fifth day of life and gradually improves over the next week or two. By the time the baby is one week old, the jaundice should have mostly resolved.
35
+ 2. Breast milk jaundice: This type of jaundice occurs in breastfed babies and may appear later than physiological jaundice, typically between the fifth and fourteenth day of life. It tends to persist for a longer duration but usually resolves within six weeks after birth.
36
+ 3. Pathological jaundice: This type of jaundice is less common and occurs due to an underlying medical condition that affects bilirubin metabolism or liver function. The duration of pathological jaundice depends on the specific cause and may require treatment.
37
+
38
+ It's important for parents to monitor their newborn's jaundice closely and seek medical advice if the jaundice progresses rapidly, becomes severe, or is accompanied by other symptoms such as poor feeding, lethargy, or excessive sleepiness. In these cases, further evaluation and management may be necessary.
39
+ Remember that each baby is unique, and the timing of jaundice resolution can vary. If you have concerns about your newborn's jaundice, it's always best to consult with a healthcare professional for personalized advice and guidance.
40
+ ---
41
+
42
+
43
+ <div align="center">
44
+ <img width="260px" src="https://cdn-uploads.huggingface.co/production/uploads/5f3fe13d79c1ba4c353d0c19/BrQCb95lmEIFz79QAmoNA.png"></div>
45
+
46
+
47
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/5f3fe13d79c1ba4c353d0c19/2FhDh8NDvMl7iSxbQz9BP.png)
48
+
49
+
50
+
51
+
52
+ <div align="center">
53
+
54
+ <h1>Advancing Open-source Large Language Models in Medical Domain</h1>
55
+ </div>
56
+
57
+ <p align="center" style="margin-top: 0px;">
58
+ <a href="https://colab.research.google.com/drive/1F5oV20InEYeAJGmBwYF9NM_QhLmjBkKJ?usp=sharing">
59
+ <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;"/>
60
+ <span class="link-text" style=" margin-right: 5px;">Online Demo</span>
61
+ </a> |
62
+ <a href="https://github.com/openlifescience-ai">
63
+ <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;"/>
64
+ <span class="link-text" style=" margin-right: 5px;">GitHub</span>
65
+ </a> |
66
+ <a href="#">
67
+ <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;"/>
68
+ <span class="link-text" style="margin-right: 5px;">Paper</span>
69
+ </a> |
70
+ <a href="https://discord.gg/A5Fjf5zC69">
71
+ <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;"/>
72
+ <span class="link-text">Discord</span>
73
+ </a>
74
+ </p>
75
+
76
+ ![image/jpeg](https://cdn-uploads.huggingface.co/production/uploads/5f3fe13d79c1ba4c353d0c19/KGmRE5w2sepNtwsEu8t7K.jpeg)
77
+
78
+ Introducing OpenBioLLM-8B: A State-of-the-Art Open Source Biomedical Large Language Model
79
+
80
+
81
+ OpenBioLLM-8B 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.
82
+
83
+ 🏥 **Biomedical Specialization**: OpenBioLLM-8B 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.
84
+
85
+ 🎓 **Superior Performance**: With 8 billion parameters, OpenBioLLM-8B 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-3.5 and Meditron-70B on biomedical benchmarks.
86
+
87
+ 🧠 **Advanced Training Techniques**: OpenBioLLM-8B builds upon the powerful foundations of the **Meta-Llama-3-8B** and [Meta-Llama-3-8B](meta-llama/Meta-Llama-3-8B) 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:
88
+
89
+ <div align="center">
90
+ <img width="1200px" src="https://cdn-uploads.huggingface.co/production/uploads/5f3fe13d79c1ba4c353d0c19/oPchsJsEpQoGcGXVbh7YS.png">
91
+ </div>
92
+
93
+ - **Policy Optimization**: [Direct Preference Optimization: Your Language Model is Secretly a Reward Model (DPO)](https://arxiv.org/abs/2305.18290)
94
+ - **Ranking Dataset**: [berkeley-nest/Nectar](https://huggingface.co/datasets/berkeley-nest/Nectar)
95
+ - **Fine-tuning dataset**: Custom Medical Instruct dataset (We plan to release a sample training dataset in our upcoming paper; please stay updated)
96
+
97
+ This combination of cutting-edge techniques enables OpenBioLLM-8B to align with key capabilities and preferences for biomedical applications.
98
+
99
+ ⚙️ **Release Details**:
100
+
101
+ - **Model Size**: 8 billion parameters
102
+ - **Quantization**: Optimized quantized versions available [Here](https://huggingface.co/aaditya/OpenBioLLM-8B-GGUF)
103
+ - **Language(s) (NLP):** en
104
+ - **Developed By**: [Ankit Pal (Aaditya Ura)](https://aadityaura.github.io/) from Saama AI Labs
105
+ - **License:** Meta-Llama License
106
+ - **Fine-tuned from models:** [meta-llama/Meta-Llama-3-8B](meta-llama/Meta-Llama-3-8B)
107
+ - **Resources for more information:**
108
+ - Paper: Coming soon
109
+
110
+ The model can be fine-tuned for more specialized tasks and datasets as needed.
111
+
112
+ OpenBioLLM-8B 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.
113
+
114
+ We are excited to share OpenBioLLM-8B with researchers and developers around the world.
115
+
116
+
117
+ ### Use with transformers
118
+
119
+ **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.**
120
+
121
+ See the snippet below for usage with Transformers:
122
+
123
+ ```python
124
+ import transformers
125
+ import torch
126
+
127
+ model_id = "aaditya/OpenBioLLM-Llama3-8B"
128
+
129
+ pipeline = transformers.pipeline(
130
+ "text-generation",
131
+ model=model_id,
132
+ model_kwargs={"torch_dtype": torch.bfloat16},
133
+ device="auto",
134
+ )
135
+
136
+ messages = [
137
+ {"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."},
138
+ {"role": "user", "content": "How can i split a 3mg or 4mg waefin pill so i can get a 2.5mg pill?"},
139
+ ]
140
+
141
+ prompt = pipeline.tokenizer.apply_chat_template(
142
+ messages,
143
+ tokenize=False,
144
+ add_generation_prompt=True
145
+ )
146
+
147
+ terminators = [
148
+ pipeline.tokenizer.eos_token_id,
149
+ pipeline.tokenizer.convert_tokens_to_ids("<|eot_id|>")
150
+ ]
151
+
152
+ outputs = pipeline(
153
+ prompt,
154
+ max_new_tokens=256,
155
+ eos_token_id=terminators,
156
+ do_sample=True,
157
+ temperature=0.0,
158
+ top_p=0.9,
159
+ )
160
+ print(outputs[0]["generated_text"][len(prompt):])
161
+ ```
162
+
163
+ ## **Training procedure**
164
+
165
+ ### **Training hyperparameters**
166
+
167
+ <details>
168
+ <summary>Click to see details</summary>
169
+
170
+ - learning_rate: 0.0002
171
+ - lr_scheduler: cosine
172
+ - train_batch_size: 12
173
+ - eval_batch_size: 8
174
+ - GPU: H100 80GB SXM5
175
+ - num_devices: 1
176
+ - optimizer: adamw_bnb_8bit
177
+ - lr_scheduler_warmup_steps: 100
178
+ - num_epochs: 4
179
+ </details>
180
+
181
+
182
+ ### **Peft hyperparameters**
183
+
184
+ <details>
185
+ <summary>Click to see details</summary>
186
+
187
+ - adapter: qlora
188
+ - lora_r: 128
189
+ - lora_alpha: 256
190
+ - lora_dropout: 0.05
191
+ - lora_target_linear: true
192
+
193
+ -lora_target_modules:
194
+ - q_proj
195
+ - v_proj
196
+ - k_proj
197
+ - o_proj
198
+ - gate_proj
199
+ - down_proj
200
+ - up_proj
201
+ </details>
202
+
203
+
204
+
205
+ ### **Training results**
206
+
207
+ ### **Framework versions**
208
+
209
+ - Transformers 4.39.3
210
+ - Pytorch 2.1.2+cu121
211
+ - Datasets 2.18.0
212
+ - Tokenizers 0.15.1
213
+ - Axolotl
214
+ - Lm harness for evaluation
215
+
216
+
217
+ # Benchmark Results
218
+
219
+ 🔥 OpenBioLLM-8B demonstrates superior performance compared to larger models, such as GPT-3.5, Meditron-70B across 9 diverse biomedical datasets, achieving state-of-the-art results with an average score of 72.50%, 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.
220
+
221
+ 🚨 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.
222
+
223
+ | | Clinical KG | Medical Genetics | Anatomy | Pro Medicine | College Biology | College Medicine | MedQA 4 opts | PubMedQA | MedMCQA | Avg |
224
+ |--------------------|-------------|------------------|---------|--------------|-----------------|------------------|--------------|----------|---------|-------|
225
+ | **OpenBioLLM-70B** | **92.93** | **93.197** | **83.904** | 93.75 | 93.827 | **85.749** | 78.162 | 78.97 | **74.014** | **86.05588** |
226
+ | Med-PaLM-2 (5-shot) | 88.3 | 90 | 77.8 | **95.2** | 94.4 | 80.9 | **79.7** | **79.2** | 71.3 | 84.08 |
227
+ | **GPT-4** | 86.04 | 91 | 80 | 93.01 | **95.14** | 76.88 | 78.87 | 75.2 | 69.52 | 82.85 |
228
+ | 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 |
229
+ | **OpenBioLLM-8B** | 76.101 | 86.1 | 69.829 | 78.21 | 84.213 | 68.042 | 58.993 | 74.12 | 56.913 | 72.502 |
230
+ | Gemini-1.0 | 76.7 | 75.8 | 66.7 | 77.7 | 88 | 69.2 | 58 | 70.7 | 54.3 | 70.79 |
231
+ | GPT-3.5 Turbo 1106 | 74.71 | 74 | 72.79 | 72.79 | 72.91 | 64.73 | 57.71 | 72.66 | 53.79 | 66 |
232
+ | Meditron-70B | 66.79 | 69 | 53.33 | 71.69 | 76.38 | 63 | 57.1 | 76.6 | 46.85 | 64.52 |
233
+ | gemma-7b | 69.81 | 70 | 59.26 | 66.18 | 79.86 | 60.12 | 47.21 | 76.2 | 48.96 | 64.18 |
234
+ | Mistral-7B-v0.1 | 68.68 | 71 | 55.56 | 68.38 | 68.06 | 59.54 | 50.82 | 75.4 | 48.2 | 62.85 |
235
+ | Apollo-7B | 62.26 | 72 | 61.48 | 69.12 | 70.83 | 55.49 | 55.22 | 39.8 | 53.77 | 60 |
236
+ | MedAlpaca-7b | 57.36 | 69 | 57.04 | 67.28 | 65.28 | 54.34 | 41.71 | 72.8 | 37.51 | 58.03 |
237
+ | BioMistral-7B | 59.9 | 64 | 56.5 | 60.4 | 59 | 54.7 | 50.6 | 77.5 | 48.1 | 57.3 |
238
+ | AlpaCare-llama2-7b | 49.81 | 49 | 45.92 | 33.82 | 50 | 43.35 | 29.77 | 72.2 | 34.42 | 45.36 |
239
+ | ClinicalGPT | 30.56 | 27 | 30.37 | 19.48 | 25 | 24.27 | 26.08 | 63.8 | 28.18 | 30.52 |
240
+
241
+ <div align="center">
242
+ <img width="1600px" src="https://cdn-uploads.huggingface.co/production/uploads/5f3fe13d79c1ba4c353d0c19/_SzdcJSBjZyo8RS1bTEkP.png">
243
+ </div>
244
+
245
+ ## Detailed Medical Subjectwise accuracy
246
+
247
+
248
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/5f3fe13d79c1ba4c353d0c19/UXF-V0col0Z0sS6BGPBkE.png)
249
+
250
+ # Use Cases & Examples
251
+
252
+ 🚨 **Below results are from the quantized version of OpenBioLLM-70B**
253
+
254
+
255
+ # Summarize Clinical Notes
256
+
257
+ OpenBioLLM-70B can efficiently analyze and summarize complex clinical notes, EHR data, and discharge summaries, extracting key information and generating concise, structured summaries
258
+
259
+
260
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/5f3fe13d79c1ba4c353d0c19/xdwdBgOxNi_TfML0hKlI8.png)
261
+
262
+ # Answer Medical Questions
263
+
264
+ OpenBioLLM-70B can provide answers to a wide range of medical questions.
265
+
266
+
267
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/5f3fe13d79c1ba4c353d0c19/zO95GlwOQEZqCKQF69mE6.png)
268
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/5f3fe13d79c1ba4c353d0c19/OKBczKw7gWeW5xsuDpc27.png)
269
+
270
+ <details>
271
+ <summary>Click to see details</summary>
272
+
273
+
274
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/5f3fe13d79c1ba4c353d0c19/eJGHT5khppYvJb8fQ-YW4.png)
275
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/5f3fe13d79c1ba4c353d0c19/Cnbwrqa_-ORHRuNRC2P6Y.png)
276
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/5f3fe13d79c1ba4c353d0c19/J9DhdcvukAc9mnnW9fj2C.png)
277
+
278
+ </details>
279
+
280
+ # Clinical Entity Recognition
281
+
282
+ 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.
283
+
284
+
285
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/5f3fe13d79c1ba4c353d0c19/_69BW4k9LVABFwtxixL45.png)
286
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/5f3fe13d79c1ba4c353d0c19/DKy5wYCoPhoPPUc1-x8_J.png)
287
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/5f3fe13d79c1ba4c353d0c19/7WD9zCCBZT4-4XlfnIQjl.png)
288
+
289
+ # Biomarkers Extraction
290
+
291
+
292
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/5f3fe13d79c1ba4c353d0c19/ZttoM4AiteT7gFYVhjIpN.png)
293
+
294
+
295
+ # Classification
296
+
297
+ OpenBioLLM-70B can perform various biomedical classification tasks, such as disease prediction, sentiment analysis, medical document categorization
298
+
299
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/5f3fe13d79c1ba4c353d0c19/Bf5MW1d75qT-1F_TR_hC0.png)
300
+
301
+ # De-Identification
302
+
303
+ OpenBioLLM-70B can detect and remove personally identifiable information (PII) from medical records, ensuring patient privacy and compliance with data protection regulations like HIPAA.
304
+
305
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/5f3fe13d79c1ba4c353d0c19/hKX4kzm--Tw5bj6K78msy.png)
306
+
307
+
308
+
309
+ **Advisory Notice!** 
310
+
311
+ While OpenBioLLM-70B & 8B 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.
312
+
313
+ Therefore, we strongly advise against using OpenBioLLM-70B & 8B 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.
314
+ OpenBioLLM-70B & 8B are 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.
315
+
316
+ Appropriately adapting and validating OpenBioLLM-70B & 8B for specific medical use cases would require significant additional work, potentially including:
317
+
318
+ - Thorough testing and evaluation in relevant clinical scenarios
319
+ - Alignment with evidence-based guidelines and best practices
320
+ - Mitigation of potential biases and failure modes
321
+ - Integration with human oversight and interpretation
322
+ - Compliance with regulatory and ethical standards
323
+
324
+ Always consult a qualified healthcare provider for personal medical needs.
325
+
326
+
327
+
328
+ # Citation
329
+
330
+ If you find OpenBioLLM-70B & 8B useful in your work, please cite the model as follows:
331
+
332
+ ```
333
+ @misc{OpenBioLLMs,
334
+ author = {Ankit Pal, Malaikannan Sankarasubbu},
335
+ title = {OpenBioLLMs: Advancing Open-Source Large Language Models for Healthcare and Life Sciences},
336
+ year = {2024},
337
+ publisher = {Hugging Face},
338
+ journal = {Hugging Face repository},
339
+ howpublished = {\url{https://huggingface.co/aaditya/OpenBioLLM-Llama3-70B}}
340
+ }
341
+ ```
342
+
343
+ The accompanying paper is currently in progress and will be released soon.
344
+
345
+ <div align="center">
346
+ <h2> 💌 Contact </h2>
347
+ </div>
348
+
349
+ We look forward to hearing you and collaborating on this exciting project!
350
+
351
+ **Contributors:**
352
+ - [Ankit Pal (Aaditya Ura)](https://aadityaura.github.io/) [aadityaura at gmail dot com]
353
+ - Saama AI Labs
354
+ - 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.
355
+
356
+
357
+ # References
358
+
359
+ We thank the [Meta Team](meta-llama/Meta-Llama-3-70B-Instruct) for their amazing models!
360
+
361
+
362
+ Result sources
363
+
364
+ - [1] GPT-4 [Capabilities of GPT-4 on Medical Challenge Problems] (https://arxiv.org/abs/2303.13375)
365
+ - [2] Med-PaLM-1 [Large Language Models Encode Clinical Knowledge](https://arxiv.org/abs/2212.13138)
366
+ - [3] Med-PaLM-2 [Towards Expert-Level Medical Question Answering with Large Language Models](https://arxiv.org/abs/2305.09617)
367
+ - [4] Gemini-1.0 [Gemini Goes to Med School](https://arxiv.org/abs/2402.07023)