medalpaca/medalpaca-lora-30b-8bit

Model

15

stars

4

commits

2

linked in READMEs

Apr 3, 2023

updated

endpoints_compatible
medical
text-generation
transformers

README

MedAlpaca LoRA 30b 8bit

Table of Contents

Model Description

Model Description

Architecture

medalpaca-lora-30b-8bit is a large language model specifically fine-tuned for medical domain tasks. It is based on LLaMA (Large Language Model Meta AI) and contains 7 billion parameters. The primary goal of this model is to improve question-answering and medical dialogue tasks. It was trained using LoRA and quantized, to reduce memory footprint.

Training Data

The training data for this project was sourced from various resources. Firstly, we used Anki flashcards to automatically generate questions, from the front of the cards and anwers from the back of the card. Secondly, we generated medical question-answer pairs from Wikidoc. We extracted paragraphs with relevant headings, and used Chat-GPT 3.5 to generate questions from the headings and using the corresponding paragraphs as answers. This dataset is still under development and we believe that approximately 70% of these question answer pairs are factual correct. Thirdly, we used StackExchange to extract question-answer pairs, taking the top-rated question from five categories: Academia, Bioinformatics, Biology, Fitness, and Health. Additionally, we used a dataset from ChatDoctor consisting of 200,000 question-answer pairs, available at https://github.com/Kent0n-Li/ChatDoctor.

Sourcen items
ChatDoc large200000
wikidoc67704
Stackexchange academia40865
Anki flashcards33955
Stackexchange biology27887
Stackexchange fitness9833
Stackexchange health7721
Wikidoc patient information5942
Stackexchange bioinformatics5407

Limitations

The model may not perform effectively outside the scope of the medical domain. The training data primarily targets the knowledge level of medical students, which may result in limitations when addressing the needs of board-certified physicians. The model has not been tested in real-world applications, so its efficacy and accuracy are currently unknown. It should never be used as a substitute for a doctor's opinion and must be treated as a research tool only.

Contributors

kbressem

3 commits

KB
Keno Bressem

1 commits

medalpaca/medalpaca-lora-30b-8bit

Model

15

stars

4

commits

2

linked in READMEs

Apr 3, 2023

updated

endpoints_compatible
medical
text-generation
transformers

README

MedAlpaca LoRA 30b 8bit

Table of Contents

Model Description

Model Description

Architecture

medalpaca-lora-30b-8bit is a large language model specifically fine-tuned for medical domain tasks. It is based on LLaMA (Large Language Model Meta AI) and contains 7 billion parameters. The primary goal of this model is to improve question-answering and medical dialogue tasks. It was trained using LoRA and quantized, to reduce memory footprint.

Training Data

The training data for this project was sourced from various resources. Firstly, we used Anki flashcards to automatically generate questions, from the front of the cards and anwers from the back of the card. Secondly, we generated medical question-answer pairs from Wikidoc. We extracted paragraphs with relevant headings, and used Chat-GPT 3.5 to generate questions from the headings and using the corresponding paragraphs as answers. This dataset is still under development and we believe that approximately 70% of these question answer pairs are factual correct. Thirdly, we used StackExchange to extract question-answer pairs, taking the top-rated question from five categories: Academia, Bioinformatics, Biology, Fitness, and Health. Additionally, we used a dataset from ChatDoctor consisting of 200,000 question-answer pairs, available at https://github.com/Kent0n-Li/ChatDoctor.

Sourcen items
ChatDoc large200000
wikidoc67704
Stackexchange academia40865
Anki flashcards33955
Stackexchange biology27887
Stackexchange fitness9833
Stackexchange health7721
Wikidoc patient information5942
Stackexchange bioinformatics5407

Limitations

The model may not perform effectively outside the scope of the medical domain. The training data primarily targets the knowledge level of medical students, which may result in limitations when addressing the needs of board-certified physicians. The model has not been tested in real-world applications, so its efficacy and accuracy are currently unknown. It should never be used as a substitute for a doctor's opinion and must be treated as a research tool only.

Contributors

kbressem

3 commits

KB
Keno Bressem

1 commits