fatimaaa1 commited on
Commit
634819c
1 Parent(s): f12d8b9

Upload 7 files

Browse files
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-Llama3-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)
config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "meta-llama/Meta-Llama-3-8B",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 128000,
9
+ "eos_token_id": 128001,
10
+ "hidden_act": "silu",
11
+ "hidden_size": 4096,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 14336,
14
+ "max_position_embeddings": 8192,
15
+ "model_type": "llama",
16
+ "num_attention_heads": 32,
17
+ "num_hidden_layers": 32,
18
+ "num_key_value_heads": 8,
19
+ "pretraining_tp": 1,
20
+ "rms_norm_eps": 1e-05,
21
+ "rope_scaling": null,
22
+ "rope_theta": 500000.0,
23
+ "tie_word_embeddings": false,
24
+ "torch_dtype": "bfloat16",
25
+ "transformers_version": "4.40.0.dev0",
26
+ "use_cache": false,
27
+ "vocab_size": 128256
28
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 128000,
4
+ "do_sample": true,
5
+ "eos_token_id": 128001,
6
+ "transformers_version": "4.40.0.dev0"
7
+ }
gitattributes ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
pytorch_model.bin.index.json ADDED
@@ -0,0 +1,298 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "total_size": 16060522496
4
+ },
5
+ "weight_map": {
6
+ "lm_head.weight": "pytorch_model-00004-of-00004.bin",
7
+ "model.embed_tokens.weight": "pytorch_model-00001-of-00004.bin",
8
+ "model.layers.0.input_layernorm.weight": "pytorch_model-00001-of-00004.bin",
9
+ "model.layers.0.mlp.down_proj.weight": "pytorch_model-00001-of-00004.bin",
10
+ "model.layers.0.mlp.gate_proj.weight": "pytorch_model-00001-of-00004.bin",
11
+ "model.layers.0.mlp.up_proj.weight": "pytorch_model-00001-of-00004.bin",
12
+ "model.layers.0.post_attention_layernorm.weight": "pytorch_model-00001-of-00004.bin",
13
+ "model.layers.0.self_attn.k_proj.weight": "pytorch_model-00001-of-00004.bin",
14
+ "model.layers.0.self_attn.o_proj.weight": "pytorch_model-00001-of-00004.bin",
15
+ "model.layers.0.self_attn.q_proj.weight": "pytorch_model-00001-of-00004.bin",
16
+ "model.layers.0.self_attn.v_proj.weight": "pytorch_model-00001-of-00004.bin",
17
+ "model.layers.1.input_layernorm.weight": "pytorch_model-00001-of-00004.bin",
18
+ "model.layers.1.mlp.down_proj.weight": "pytorch_model-00001-of-00004.bin",
19
+ "model.layers.1.mlp.gate_proj.weight": "pytorch_model-00001-of-00004.bin",
20
+ "model.layers.1.mlp.up_proj.weight": "pytorch_model-00001-of-00004.bin",
21
+ "model.layers.1.post_attention_layernorm.weight": "pytorch_model-00001-of-00004.bin",
22
+ "model.layers.1.self_attn.k_proj.weight": "pytorch_model-00001-of-00004.bin",
23
+ "model.layers.1.self_attn.o_proj.weight": "pytorch_model-00001-of-00004.bin",
24
+ "model.layers.1.self_attn.q_proj.weight": "pytorch_model-00001-of-00004.bin",
25
+ "model.layers.1.self_attn.v_proj.weight": "pytorch_model-00001-of-00004.bin",
26
+ "model.layers.10.input_layernorm.weight": "pytorch_model-00002-of-00004.bin",
27
+ "model.layers.10.mlp.down_proj.weight": "pytorch_model-00002-of-00004.bin",
28
+ "model.layers.10.mlp.gate_proj.weight": "pytorch_model-00002-of-00004.bin",
29
+ "model.layers.10.mlp.up_proj.weight": "pytorch_model-00002-of-00004.bin",
30
+ "model.layers.10.post_attention_layernorm.weight": "pytorch_model-00002-of-00004.bin",
31
+ "model.layers.10.self_attn.k_proj.weight": "pytorch_model-00002-of-00004.bin",
32
+ "model.layers.10.self_attn.o_proj.weight": "pytorch_model-00002-of-00004.bin",
33
+ "model.layers.10.self_attn.q_proj.weight": "pytorch_model-00002-of-00004.bin",
34
+ "model.layers.10.self_attn.v_proj.weight": "pytorch_model-00002-of-00004.bin",
35
+ "model.layers.11.input_layernorm.weight": "pytorch_model-00002-of-00004.bin",
36
+ "model.layers.11.mlp.down_proj.weight": "pytorch_model-00002-of-00004.bin",
37
+ "model.layers.11.mlp.gate_proj.weight": "pytorch_model-00002-of-00004.bin",
38
+ "model.layers.11.mlp.up_proj.weight": "pytorch_model-00002-of-00004.bin",
39
+ "model.layers.11.post_attention_layernorm.weight": "pytorch_model-00002-of-00004.bin",
40
+ "model.layers.11.self_attn.k_proj.weight": "pytorch_model-00002-of-00004.bin",
41
+ "model.layers.11.self_attn.o_proj.weight": "pytorch_model-00002-of-00004.bin",
42
+ "model.layers.11.self_attn.q_proj.weight": "pytorch_model-00002-of-00004.bin",
43
+ "model.layers.11.self_attn.v_proj.weight": "pytorch_model-00002-of-00004.bin",
44
+ "model.layers.12.input_layernorm.weight": "pytorch_model-00002-of-00004.bin",
45
+ "model.layers.12.mlp.down_proj.weight": "pytorch_model-00002-of-00004.bin",
46
+ "model.layers.12.mlp.gate_proj.weight": "pytorch_model-00002-of-00004.bin",
47
+ "model.layers.12.mlp.up_proj.weight": "pytorch_model-00002-of-00004.bin",
48
+ "model.layers.12.post_attention_layernorm.weight": "pytorch_model-00002-of-00004.bin",
49
+ "model.layers.12.self_attn.k_proj.weight": "pytorch_model-00002-of-00004.bin",
50
+ "model.layers.12.self_attn.o_proj.weight": "pytorch_model-00002-of-00004.bin",
51
+ "model.layers.12.self_attn.q_proj.weight": "pytorch_model-00002-of-00004.bin",
52
+ "model.layers.12.self_attn.v_proj.weight": "pytorch_model-00002-of-00004.bin",
53
+ "model.layers.13.input_layernorm.weight": "pytorch_model-00002-of-00004.bin",
54
+ "model.layers.13.mlp.down_proj.weight": "pytorch_model-00002-of-00004.bin",
55
+ "model.layers.13.mlp.gate_proj.weight": "pytorch_model-00002-of-00004.bin",
56
+ "model.layers.13.mlp.up_proj.weight": "pytorch_model-00002-of-00004.bin",
57
+ "model.layers.13.post_attention_layernorm.weight": "pytorch_model-00002-of-00004.bin",
58
+ "model.layers.13.self_attn.k_proj.weight": "pytorch_model-00002-of-00004.bin",
59
+ "model.layers.13.self_attn.o_proj.weight": "pytorch_model-00002-of-00004.bin",
60
+ "model.layers.13.self_attn.q_proj.weight": "pytorch_model-00002-of-00004.bin",
61
+ "model.layers.13.self_attn.v_proj.weight": "pytorch_model-00002-of-00004.bin",
62
+ "model.layers.14.input_layernorm.weight": "pytorch_model-00002-of-00004.bin",
63
+ "model.layers.14.mlp.down_proj.weight": "pytorch_model-00002-of-00004.bin",
64
+ "model.layers.14.mlp.gate_proj.weight": "pytorch_model-00002-of-00004.bin",
65
+ "model.layers.14.mlp.up_proj.weight": "pytorch_model-00002-of-00004.bin",
66
+ "model.layers.14.post_attention_layernorm.weight": "pytorch_model-00002-of-00004.bin",
67
+ "model.layers.14.self_attn.k_proj.weight": "pytorch_model-00002-of-00004.bin",
68
+ "model.layers.14.self_attn.o_proj.weight": "pytorch_model-00002-of-00004.bin",
69
+ "model.layers.14.self_attn.q_proj.weight": "pytorch_model-00002-of-00004.bin",
70
+ "model.layers.14.self_attn.v_proj.weight": "pytorch_model-00002-of-00004.bin",
71
+ "model.layers.15.input_layernorm.weight": "pytorch_model-00002-of-00004.bin",
72
+ "model.layers.15.mlp.down_proj.weight": "pytorch_model-00002-of-00004.bin",
73
+ "model.layers.15.mlp.gate_proj.weight": "pytorch_model-00002-of-00004.bin",
74
+ "model.layers.15.mlp.up_proj.weight": "pytorch_model-00002-of-00004.bin",
75
+ "model.layers.15.post_attention_layernorm.weight": "pytorch_model-00002-of-00004.bin",
76
+ "model.layers.15.self_attn.k_proj.weight": "pytorch_model-00002-of-00004.bin",
77
+ "model.layers.15.self_attn.o_proj.weight": "pytorch_model-00002-of-00004.bin",
78
+ "model.layers.15.self_attn.q_proj.weight": "pytorch_model-00002-of-00004.bin",
79
+ "model.layers.15.self_attn.v_proj.weight": "pytorch_model-00002-of-00004.bin",
80
+ "model.layers.16.input_layernorm.weight": "pytorch_model-00002-of-00004.bin",
81
+ "model.layers.16.mlp.down_proj.weight": "pytorch_model-00002-of-00004.bin",
82
+ "model.layers.16.mlp.gate_proj.weight": "pytorch_model-00002-of-00004.bin",
83
+ "model.layers.16.mlp.up_proj.weight": "pytorch_model-00002-of-00004.bin",
84
+ "model.layers.16.post_attention_layernorm.weight": "pytorch_model-00002-of-00004.bin",
85
+ "model.layers.16.self_attn.k_proj.weight": "pytorch_model-00002-of-00004.bin",
86
+ "model.layers.16.self_attn.o_proj.weight": "pytorch_model-00002-of-00004.bin",
87
+ "model.layers.16.self_attn.q_proj.weight": "pytorch_model-00002-of-00004.bin",
88
+ "model.layers.16.self_attn.v_proj.weight": "pytorch_model-00002-of-00004.bin",
89
+ "model.layers.17.input_layernorm.weight": "pytorch_model-00002-of-00004.bin",
90
+ "model.layers.17.mlp.down_proj.weight": "pytorch_model-00002-of-00004.bin",
91
+ "model.layers.17.mlp.gate_proj.weight": "pytorch_model-00002-of-00004.bin",
92
+ "model.layers.17.mlp.up_proj.weight": "pytorch_model-00002-of-00004.bin",
93
+ "model.layers.17.post_attention_layernorm.weight": "pytorch_model-00002-of-00004.bin",
94
+ "model.layers.17.self_attn.k_proj.weight": "pytorch_model-00002-of-00004.bin",
95
+ "model.layers.17.self_attn.o_proj.weight": "pytorch_model-00002-of-00004.bin",
96
+ "model.layers.17.self_attn.q_proj.weight": "pytorch_model-00002-of-00004.bin",
97
+ "model.layers.17.self_attn.v_proj.weight": "pytorch_model-00002-of-00004.bin",
98
+ "model.layers.18.input_layernorm.weight": "pytorch_model-00002-of-00004.bin",
99
+ "model.layers.18.mlp.down_proj.weight": "pytorch_model-00002-of-00004.bin",
100
+ "model.layers.18.mlp.gate_proj.weight": "pytorch_model-00002-of-00004.bin",
101
+ "model.layers.18.mlp.up_proj.weight": "pytorch_model-00002-of-00004.bin",
102
+ "model.layers.18.post_attention_layernorm.weight": "pytorch_model-00002-of-00004.bin",
103
+ "model.layers.18.self_attn.k_proj.weight": "pytorch_model-00002-of-00004.bin",
104
+ "model.layers.18.self_attn.o_proj.weight": "pytorch_model-00002-of-00004.bin",
105
+ "model.layers.18.self_attn.q_proj.weight": "pytorch_model-00002-of-00004.bin",
106
+ "model.layers.18.self_attn.v_proj.weight": "pytorch_model-00002-of-00004.bin",
107
+ "model.layers.19.input_layernorm.weight": "pytorch_model-00002-of-00004.bin",
108
+ "model.layers.19.mlp.down_proj.weight": "pytorch_model-00002-of-00004.bin",
109
+ "model.layers.19.mlp.gate_proj.weight": "pytorch_model-00002-of-00004.bin",
110
+ "model.layers.19.mlp.up_proj.weight": "pytorch_model-00002-of-00004.bin",
111
+ "model.layers.19.post_attention_layernorm.weight": "pytorch_model-00002-of-00004.bin",
112
+ "model.layers.19.self_attn.k_proj.weight": "pytorch_model-00002-of-00004.bin",
113
+ "model.layers.19.self_attn.o_proj.weight": "pytorch_model-00002-of-00004.bin",
114
+ "model.layers.19.self_attn.q_proj.weight": "pytorch_model-00002-of-00004.bin",
115
+ "model.layers.19.self_attn.v_proj.weight": "pytorch_model-00002-of-00004.bin",
116
+ "model.layers.2.input_layernorm.weight": "pytorch_model-00001-of-00004.bin",
117
+ "model.layers.2.mlp.down_proj.weight": "pytorch_model-00001-of-00004.bin",
118
+ "model.layers.2.mlp.gate_proj.weight": "pytorch_model-00001-of-00004.bin",
119
+ "model.layers.2.mlp.up_proj.weight": "pytorch_model-00001-of-00004.bin",
120
+ "model.layers.2.post_attention_layernorm.weight": "pytorch_model-00001-of-00004.bin",
121
+ "model.layers.2.self_attn.k_proj.weight": "pytorch_model-00001-of-00004.bin",
122
+ "model.layers.2.self_attn.o_proj.weight": "pytorch_model-00001-of-00004.bin",
123
+ "model.layers.2.self_attn.q_proj.weight": "pytorch_model-00001-of-00004.bin",
124
+ "model.layers.2.self_attn.v_proj.weight": "pytorch_model-00001-of-00004.bin",
125
+ "model.layers.20.input_layernorm.weight": "pytorch_model-00003-of-00004.bin",
126
+ "model.layers.20.mlp.down_proj.weight": "pytorch_model-00003-of-00004.bin",
127
+ "model.layers.20.mlp.gate_proj.weight": "pytorch_model-00002-of-00004.bin",
128
+ "model.layers.20.mlp.up_proj.weight": "pytorch_model-00003-of-00004.bin",
129
+ "model.layers.20.post_attention_layernorm.weight": "pytorch_model-00003-of-00004.bin",
130
+ "model.layers.20.self_attn.k_proj.weight": "pytorch_model-00002-of-00004.bin",
131
+ "model.layers.20.self_attn.o_proj.weight": "pytorch_model-00002-of-00004.bin",
132
+ "model.layers.20.self_attn.q_proj.weight": "pytorch_model-00002-of-00004.bin",
133
+ "model.layers.20.self_attn.v_proj.weight": "pytorch_model-00002-of-00004.bin",
134
+ "model.layers.21.input_layernorm.weight": "pytorch_model-00003-of-00004.bin",
135
+ "model.layers.21.mlp.down_proj.weight": "pytorch_model-00003-of-00004.bin",
136
+ "model.layers.21.mlp.gate_proj.weight": "pytorch_model-00003-of-00004.bin",
137
+ "model.layers.21.mlp.up_proj.weight": "pytorch_model-00003-of-00004.bin",
138
+ "model.layers.21.post_attention_layernorm.weight": "pytorch_model-00003-of-00004.bin",
139
+ "model.layers.21.self_attn.k_proj.weight": "pytorch_model-00003-of-00004.bin",
140
+ "model.layers.21.self_attn.o_proj.weight": "pytorch_model-00003-of-00004.bin",
141
+ "model.layers.21.self_attn.q_proj.weight": "pytorch_model-00003-of-00004.bin",
142
+ "model.layers.21.self_attn.v_proj.weight": "pytorch_model-00003-of-00004.bin",
143
+ "model.layers.22.input_layernorm.weight": "pytorch_model-00003-of-00004.bin",
144
+ "model.layers.22.mlp.down_proj.weight": "pytorch_model-00003-of-00004.bin",
145
+ "model.layers.22.mlp.gate_proj.weight": "pytorch_model-00003-of-00004.bin",
146
+ "model.layers.22.mlp.up_proj.weight": "pytorch_model-00003-of-00004.bin",
147
+ "model.layers.22.post_attention_layernorm.weight": "pytorch_model-00003-of-00004.bin",
148
+ "model.layers.22.self_attn.k_proj.weight": "pytorch_model-00003-of-00004.bin",
149
+ "model.layers.22.self_attn.o_proj.weight": "pytorch_model-00003-of-00004.bin",
150
+ "model.layers.22.self_attn.q_proj.weight": "pytorch_model-00003-of-00004.bin",
151
+ "model.layers.22.self_attn.v_proj.weight": "pytorch_model-00003-of-00004.bin",
152
+ "model.layers.23.input_layernorm.weight": "pytorch_model-00003-of-00004.bin",
153
+ "model.layers.23.mlp.down_proj.weight": "pytorch_model-00003-of-00004.bin",
154
+ "model.layers.23.mlp.gate_proj.weight": "pytorch_model-00003-of-00004.bin",
155
+ "model.layers.23.mlp.up_proj.weight": "pytorch_model-00003-of-00004.bin",
156
+ "model.layers.23.post_attention_layernorm.weight": "pytorch_model-00003-of-00004.bin",
157
+ "model.layers.23.self_attn.k_proj.weight": "pytorch_model-00003-of-00004.bin",
158
+ "model.layers.23.self_attn.o_proj.weight": "pytorch_model-00003-of-00004.bin",
159
+ "model.layers.23.self_attn.q_proj.weight": "pytorch_model-00003-of-00004.bin",
160
+ "model.layers.23.self_attn.v_proj.weight": "pytorch_model-00003-of-00004.bin",
161
+ "model.layers.24.input_layernorm.weight": "pytorch_model-00003-of-00004.bin",
162
+ "model.layers.24.mlp.down_proj.weight": "pytorch_model-00003-of-00004.bin",
163
+ "model.layers.24.mlp.gate_proj.weight": "pytorch_model-00003-of-00004.bin",
164
+ "model.layers.24.mlp.up_proj.weight": "pytorch_model-00003-of-00004.bin",
165
+ "model.layers.24.post_attention_layernorm.weight": "pytorch_model-00003-of-00004.bin",
166
+ "model.layers.24.self_attn.k_proj.weight": "pytorch_model-00003-of-00004.bin",
167
+ "model.layers.24.self_attn.o_proj.weight": "pytorch_model-00003-of-00004.bin",
168
+ "model.layers.24.self_attn.q_proj.weight": "pytorch_model-00003-of-00004.bin",
169
+ "model.layers.24.self_attn.v_proj.weight": "pytorch_model-00003-of-00004.bin",
170
+ "model.layers.25.input_layernorm.weight": "pytorch_model-00003-of-00004.bin",
171
+ "model.layers.25.mlp.down_proj.weight": "pytorch_model-00003-of-00004.bin",
172
+ "model.layers.25.mlp.gate_proj.weight": "pytorch_model-00003-of-00004.bin",
173
+ "model.layers.25.mlp.up_proj.weight": "pytorch_model-00003-of-00004.bin",
174
+ "model.layers.25.post_attention_layernorm.weight": "pytorch_model-00003-of-00004.bin",
175
+ "model.layers.25.self_attn.k_proj.weight": "pytorch_model-00003-of-00004.bin",
176
+ "model.layers.25.self_attn.o_proj.weight": "pytorch_model-00003-of-00004.bin",
177
+ "model.layers.25.self_attn.q_proj.weight": "pytorch_model-00003-of-00004.bin",
178
+ "model.layers.25.self_attn.v_proj.weight": "pytorch_model-00003-of-00004.bin",
179
+ "model.layers.26.input_layernorm.weight": "pytorch_model-00003-of-00004.bin",
180
+ "model.layers.26.mlp.down_proj.weight": "pytorch_model-00003-of-00004.bin",
181
+ "model.layers.26.mlp.gate_proj.weight": "pytorch_model-00003-of-00004.bin",
182
+ "model.layers.26.mlp.up_proj.weight": "pytorch_model-00003-of-00004.bin",
183
+ "model.layers.26.post_attention_layernorm.weight": "pytorch_model-00003-of-00004.bin",
184
+ "model.layers.26.self_attn.k_proj.weight": "pytorch_model-00003-of-00004.bin",
185
+ "model.layers.26.self_attn.o_proj.weight": "pytorch_model-00003-of-00004.bin",
186
+ "model.layers.26.self_attn.q_proj.weight": "pytorch_model-00003-of-00004.bin",
187
+ "model.layers.26.self_attn.v_proj.weight": "pytorch_model-00003-of-00004.bin",
188
+ "model.layers.27.input_layernorm.weight": "pytorch_model-00003-of-00004.bin",
189
+ "model.layers.27.mlp.down_proj.weight": "pytorch_model-00003-of-00004.bin",
190
+ "model.layers.27.mlp.gate_proj.weight": "pytorch_model-00003-of-00004.bin",
191
+ "model.layers.27.mlp.up_proj.weight": "pytorch_model-00003-of-00004.bin",
192
+ "model.layers.27.post_attention_layernorm.weight": "pytorch_model-00003-of-00004.bin",
193
+ "model.layers.27.self_attn.k_proj.weight": "pytorch_model-00003-of-00004.bin",
194
+ "model.layers.27.self_attn.o_proj.weight": "pytorch_model-00003-of-00004.bin",
195
+ "model.layers.27.self_attn.q_proj.weight": "pytorch_model-00003-of-00004.bin",
196
+ "model.layers.27.self_attn.v_proj.weight": "pytorch_model-00003-of-00004.bin",
197
+ "model.layers.28.input_layernorm.weight": "pytorch_model-00003-of-00004.bin",
198
+ "model.layers.28.mlp.down_proj.weight": "pytorch_model-00003-of-00004.bin",
199
+ "model.layers.28.mlp.gate_proj.weight": "pytorch_model-00003-of-00004.bin",
200
+ "model.layers.28.mlp.up_proj.weight": "pytorch_model-00003-of-00004.bin",
201
+ "model.layers.28.post_attention_layernorm.weight": "pytorch_model-00003-of-00004.bin",
202
+ "model.layers.28.self_attn.k_proj.weight": "pytorch_model-00003-of-00004.bin",
203
+ "model.layers.28.self_attn.o_proj.weight": "pytorch_model-00003-of-00004.bin",
204
+ "model.layers.28.self_attn.q_proj.weight": "pytorch_model-00003-of-00004.bin",
205
+ "model.layers.28.self_attn.v_proj.weight": "pytorch_model-00003-of-00004.bin",
206
+ "model.layers.29.input_layernorm.weight": "pytorch_model-00003-of-00004.bin",
207
+ "model.layers.29.mlp.down_proj.weight": "pytorch_model-00003-of-00004.bin",
208
+ "model.layers.29.mlp.gate_proj.weight": "pytorch_model-00003-of-00004.bin",
209
+ "model.layers.29.mlp.up_proj.weight": "pytorch_model-00003-of-00004.bin",
210
+ "model.layers.29.post_attention_layernorm.weight": "pytorch_model-00003-of-00004.bin",
211
+ "model.layers.29.self_attn.k_proj.weight": "pytorch_model-00003-of-00004.bin",
212
+ "model.layers.29.self_attn.o_proj.weight": "pytorch_model-00003-of-00004.bin",
213
+ "model.layers.29.self_attn.q_proj.weight": "pytorch_model-00003-of-00004.bin",
214
+ "model.layers.29.self_attn.v_proj.weight": "pytorch_model-00003-of-00004.bin",
215
+ "model.layers.3.input_layernorm.weight": "pytorch_model-00001-of-00004.bin",
216
+ "model.layers.3.mlp.down_proj.weight": "pytorch_model-00001-of-00004.bin",
217
+ "model.layers.3.mlp.gate_proj.weight": "pytorch_model-00001-of-00004.bin",
218
+ "model.layers.3.mlp.up_proj.weight": "pytorch_model-00001-of-00004.bin",
219
+ "model.layers.3.post_attention_layernorm.weight": "pytorch_model-00001-of-00004.bin",
220
+ "model.layers.3.self_attn.k_proj.weight": "pytorch_model-00001-of-00004.bin",
221
+ "model.layers.3.self_attn.o_proj.weight": "pytorch_model-00001-of-00004.bin",
222
+ "model.layers.3.self_attn.q_proj.weight": "pytorch_model-00001-of-00004.bin",
223
+ "model.layers.3.self_attn.v_proj.weight": "pytorch_model-00001-of-00004.bin",
224
+ "model.layers.30.input_layernorm.weight": "pytorch_model-00003-of-00004.bin",
225
+ "model.layers.30.mlp.down_proj.weight": "pytorch_model-00003-of-00004.bin",
226
+ "model.layers.30.mlp.gate_proj.weight": "pytorch_model-00003-of-00004.bin",
227
+ "model.layers.30.mlp.up_proj.weight": "pytorch_model-00003-of-00004.bin",
228
+ "model.layers.30.post_attention_layernorm.weight": "pytorch_model-00003-of-00004.bin",
229
+ "model.layers.30.self_attn.k_proj.weight": "pytorch_model-00003-of-00004.bin",
230
+ "model.layers.30.self_attn.o_proj.weight": "pytorch_model-00003-of-00004.bin",
231
+ "model.layers.30.self_attn.q_proj.weight": "pytorch_model-00003-of-00004.bin",
232
+ "model.layers.30.self_attn.v_proj.weight": "pytorch_model-00003-of-00004.bin",
233
+ "model.layers.31.input_layernorm.weight": "pytorch_model-00004-of-00004.bin",
234
+ "model.layers.31.mlp.down_proj.weight": "pytorch_model-00004-of-00004.bin",
235
+ "model.layers.31.mlp.gate_proj.weight": "pytorch_model-00003-of-00004.bin",
236
+ "model.layers.31.mlp.up_proj.weight": "pytorch_model-00003-of-00004.bin",
237
+ "model.layers.31.post_attention_layernorm.weight": "pytorch_model-00004-of-00004.bin",
238
+ "model.layers.31.self_attn.k_proj.weight": "pytorch_model-00003-of-00004.bin",
239
+ "model.layers.31.self_attn.o_proj.weight": "pytorch_model-00003-of-00004.bin",
240
+ "model.layers.31.self_attn.q_proj.weight": "pytorch_model-00003-of-00004.bin",
241
+ "model.layers.31.self_attn.v_proj.weight": "pytorch_model-00003-of-00004.bin",
242
+ "model.layers.4.input_layernorm.weight": "pytorch_model-00001-of-00004.bin",
243
+ "model.layers.4.mlp.down_proj.weight": "pytorch_model-00001-of-00004.bin",
244
+ "model.layers.4.mlp.gate_proj.weight": "pytorch_model-00001-of-00004.bin",
245
+ "model.layers.4.mlp.up_proj.weight": "pytorch_model-00001-of-00004.bin",
246
+ "model.layers.4.post_attention_layernorm.weight": "pytorch_model-00001-of-00004.bin",
247
+ "model.layers.4.self_attn.k_proj.weight": "pytorch_model-00001-of-00004.bin",
248
+ "model.layers.4.self_attn.o_proj.weight": "pytorch_model-00001-of-00004.bin",
249
+ "model.layers.4.self_attn.q_proj.weight": "pytorch_model-00001-of-00004.bin",
250
+ "model.layers.4.self_attn.v_proj.weight": "pytorch_model-00001-of-00004.bin",
251
+ "model.layers.5.input_layernorm.weight": "pytorch_model-00001-of-00004.bin",
252
+ "model.layers.5.mlp.down_proj.weight": "pytorch_model-00001-of-00004.bin",
253
+ "model.layers.5.mlp.gate_proj.weight": "pytorch_model-00001-of-00004.bin",
254
+ "model.layers.5.mlp.up_proj.weight": "pytorch_model-00001-of-00004.bin",
255
+ "model.layers.5.post_attention_layernorm.weight": "pytorch_model-00001-of-00004.bin",
256
+ "model.layers.5.self_attn.k_proj.weight": "pytorch_model-00001-of-00004.bin",
257
+ "model.layers.5.self_attn.o_proj.weight": "pytorch_model-00001-of-00004.bin",
258
+ "model.layers.5.self_attn.q_proj.weight": "pytorch_model-00001-of-00004.bin",
259
+ "model.layers.5.self_attn.v_proj.weight": "pytorch_model-00001-of-00004.bin",
260
+ "model.layers.6.input_layernorm.weight": "pytorch_model-00001-of-00004.bin",
261
+ "model.layers.6.mlp.down_proj.weight": "pytorch_model-00001-of-00004.bin",
262
+ "model.layers.6.mlp.gate_proj.weight": "pytorch_model-00001-of-00004.bin",
263
+ "model.layers.6.mlp.up_proj.weight": "pytorch_model-00001-of-00004.bin",
264
+ "model.layers.6.post_attention_layernorm.weight": "pytorch_model-00001-of-00004.bin",
265
+ "model.layers.6.self_attn.k_proj.weight": "pytorch_model-00001-of-00004.bin",
266
+ "model.layers.6.self_attn.o_proj.weight": "pytorch_model-00001-of-00004.bin",
267
+ "model.layers.6.self_attn.q_proj.weight": "pytorch_model-00001-of-00004.bin",
268
+ "model.layers.6.self_attn.v_proj.weight": "pytorch_model-00001-of-00004.bin",
269
+ "model.layers.7.input_layernorm.weight": "pytorch_model-00001-of-00004.bin",
270
+ "model.layers.7.mlp.down_proj.weight": "pytorch_model-00001-of-00004.bin",
271
+ "model.layers.7.mlp.gate_proj.weight": "pytorch_model-00001-of-00004.bin",
272
+ "model.layers.7.mlp.up_proj.weight": "pytorch_model-00001-of-00004.bin",
273
+ "model.layers.7.post_attention_layernorm.weight": "pytorch_model-00001-of-00004.bin",
274
+ "model.layers.7.self_attn.k_proj.weight": "pytorch_model-00001-of-00004.bin",
275
+ "model.layers.7.self_attn.o_proj.weight": "pytorch_model-00001-of-00004.bin",
276
+ "model.layers.7.self_attn.q_proj.weight": "pytorch_model-00001-of-00004.bin",
277
+ "model.layers.7.self_attn.v_proj.weight": "pytorch_model-00001-of-00004.bin",
278
+ "model.layers.8.input_layernorm.weight": "pytorch_model-00001-of-00004.bin",
279
+ "model.layers.8.mlp.down_proj.weight": "pytorch_model-00001-of-00004.bin",
280
+ "model.layers.8.mlp.gate_proj.weight": "pytorch_model-00001-of-00004.bin",
281
+ "model.layers.8.mlp.up_proj.weight": "pytorch_model-00001-of-00004.bin",
282
+ "model.layers.8.post_attention_layernorm.weight": "pytorch_model-00001-of-00004.bin",
283
+ "model.layers.8.self_attn.k_proj.weight": "pytorch_model-00001-of-00004.bin",
284
+ "model.layers.8.self_attn.o_proj.weight": "pytorch_model-00001-of-00004.bin",
285
+ "model.layers.8.self_attn.q_proj.weight": "pytorch_model-00001-of-00004.bin",
286
+ "model.layers.8.self_attn.v_proj.weight": "pytorch_model-00001-of-00004.bin",
287
+ "model.layers.9.input_layernorm.weight": "pytorch_model-00002-of-00004.bin",
288
+ "model.layers.9.mlp.down_proj.weight": "pytorch_model-00002-of-00004.bin",
289
+ "model.layers.9.mlp.gate_proj.weight": "pytorch_model-00002-of-00004.bin",
290
+ "model.layers.9.mlp.up_proj.weight": "pytorch_model-00002-of-00004.bin",
291
+ "model.layers.9.post_attention_layernorm.weight": "pytorch_model-00002-of-00004.bin",
292
+ "model.layers.9.self_attn.k_proj.weight": "pytorch_model-00002-of-00004.bin",
293
+ "model.layers.9.self_attn.o_proj.weight": "pytorch_model-00002-of-00004.bin",
294
+ "model.layers.9.self_attn.q_proj.weight": "pytorch_model-00002-of-00004.bin",
295
+ "model.layers.9.self_attn.v_proj.weight": "pytorch_model-00002-of-00004.bin",
296
+ "model.norm.weight": "pytorch_model-00004-of-00004.bin"
297
+ }
298
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|begin_of_text|>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|end_of_text|>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<|end_of_text|>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ }
23
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff