Downloads · 30 days
13
52% of all-time downloads
OcheAnkeli/Medic-chatbot
Medic-chatbot is a text generation model from OcheAnkeli. Use it when you need the model to write or continue text. It is set up for peft.
This project focuses on building a medical domain-specific chatbot using the DeepSeek R1 model. The chatbot is fine-tuned on the Medical O1 Reasoning SFT dataset to provide accurate, step-by-step reasoning for medical…
Downloads · 30 days
13
52% of all-time downloads
All-time downloads
25
Public
Repo size
271 MB
Likes
0
Public
Click a slice to open those files.
.safetensors503 MB · 79%
From the Hugging Face model README
This project focuses on building a medical domain-specific chatbot using the DeepSeek R1 model. The chatbot is fine-tuned on the Medical O1 Reasoning SFT dataset to provide accurate, step-by-step reasoning for medical queries. It is designed to assist healthcare professionals, students, and patients by offering quick, reliable answers to medical questions while ensuring domain specificity.
Purpose of the Chatbot The purpose of this project is to develop a medical domain-specific chatbot capable of understanding and responding to medical queries with logical, step-by-step reasoning. The chatbot is designed to assist healthcare professionals, students, and patients by providing accurate and concise medical information. Domain Alignment The chatbot is aligned with the medical domain, focusing on clinical reasoning, diagnostics, and treatment planning. It is trained on the Medical O1 Reasoning SFT dataset, which contains medical questions, chain-of-thought reasoning, and responses. This alignment ensures that the chatbot can handle complex medical queries while maintaining domain specificity. Relevance and Necessity
Hardware Type: GPU (A100 or T4) is sufficient
Preprocessing Steps
The fine-tuned model was evaluated using the following metrics:
Quantitative Metrics BLEU Score: Measures the similarity between the model's responses and reference answers.
Initial Model: 0.70 Fine-Tuned Model: 0.90 Improvement: 28.57% Perplexity: Measures how well the model predicts the next token.
Initial Model: 3.50 Fine-Tuned Model: 2.68 Improvement: 23.43% BERTScore: Evaluates the precision, recall, and F1 score of the generated text.
Precision: 0.80 (14.29% improvement) Recall: 0.80 (23.08% improvement) F1: 0.80 (19.40% improvement)
The chatbot effectively handles medical queries while maintaining domain specificity, making it a valuable tool for healthcare professionals, students, and patients.