galen / README.md
ahmed-ai's picture
Update README.md
a6452bd verified
metadata
inference: false
datasets:
  - medalpaca/medical_meadow_medqa
language:
  - en
library_name: transformers
tags:
  - biology
  - medical
  - QA
  - healthcare
license: mit

Galen

Galen is fine-tuned from Mistral-7B-Instruct-v0.2, using medical quesion answering dataset

Galen's view about future of medicine and AI:

alt text

Get Started

Install "accelerate" to use CUDA GPU

pip install accelerate
from transformers import AutoTokenizer, pipeline
tokenizer = AutoTokenizer.from_pretrained('ahmed-ai/galen')
model_pipeline = pipeline(task="text-generation", model='ahmed-ai/galen', tokenizer=tokenizer, max_length=256, temperature=0.5, top_p=0.6)
result = model_pipeline('What is squamous carcinoma')
#print the generated text
print(result[0]['generated_text'][len(prompt):])