Downloads · 30 days
4
10% of all-time downloads
pathfinderNdoma/online-doctor-model
online-doctor-model is a question answering model from pathfinderNdoma. Use it when the input is a question plus a passage. It is set up for transformers. The card lists the license as creativeml-openrail-m.
libraryname: transformers tags: [biomedical, question-answering, healthcare]
Downloads · 30 days
4
10% of all-time downloads
All-time downloads
40
Public
Parameters
363M
1.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.5 GB · 100%
From the Hugging Face model README
library_name: transformers
tags: [biomedical, question-answering, healthcare]
This model is a fine-tuned version of the dmis-lab/biobert-large-cased-v1.1-squad model. It is designed to answer questions related to diseases based on symptom descriptions, providing a question-answering pipeline to help healthcare professionals and users. This model has been trained on a custom dataset of diseases and their symptoms for predictive question answering.
This is a question-answering model fine-tuned using the BioBERT architecture, specifically adapted for healthcare-related questions. The model is designed to extract answers from a disease-symptom dataset based on user-inputted symptoms or queries.
dmis-lab/biobert-large-cased-v1.1-squadThis model can be used in the following cases:
This model should be used with caution, and its answers should be reviewed by qualified healthcare professionals.
Use the following code to get started with the model:
from transformers import pipeline
qa_pipeline = pipeline("question-answering", model="your-username/online-doctor-model")
# Example question and context
question = "What are the symptoms of diabetes?"
context = "Diabetes: increased thirst, frequent urination, hunger, fatigue, blurred vision."
result = qa_pipeline(question=question, context=context)
print(result['answer'])
The model is fine-tuned on a custom dataset containing diseases and their respective symptoms.
The model was evaluated on a held-out portion of the custom disease-symptom dataset.
The model was evaluated using the SQuAD metrics, including F1 score and Exact Match (EM).
The model performs well on the task of extracting relevant symptoms and disease-related answers based on the question provided. However, its performance is limited to the diseases and symptoms present in the training data.
The model is based on the BioBERT architecture fine-tuned for the SQuAD task, with a focus on healthcare question-answering.
If you use this model, please cite it as:
@misc{Ndoma2024onlinedoctor,
author = {Ayamba Victor Ndoma},
title = {Online Doctor Model for Disease Prediction},
year = {2024},
howpublished = {\url{https://huggingface.co/your-username/online-doctor-model}},
}
For questions or feedback, please contact [email protected].