medical-ai-assistant
a set of checkpoints for a medical AI assistant
2 min readupdated
This repository contains five trained PyTorch checkpoints for an educational multimodal medical project combining skin lesion analysis, breath sounds, lab metrics, and symptoms. It relies on specialized architectures: U-Net for skin lesion segmentation, convolutional neural networks (CNNs) for respiratory spectrograms, multilayer perceptrons (MLPs) for tabular data, and bidirectional LSTMs (BiLSTM) with an attention mechanism for symptom classification. The weights are intended strictly for research and educational purposes, as the project has not undergone clinical validation. The platform will be useful for developers and students studying applied medical AI and multimodal architectures.
Key features
- Includes weights for skin analysis, breath sounds, lab tests, and a text chatbot.
- Uses a combination of classical architectures: U-Net, CNN, MLP, and BiLSTM.
- Distributed under an unspecified license for the weights and an MIT license for the code in the GitHub repository.
- Developed as a student research prototype without clinical guarantees.
What you can do
- Integrate the skin checkpoints (U-Net) into dermatological image segmentation pipelines.
- Apply the CNN model to classify respiratory sounds using mel-spectrograms.
- Test the MLP classifier on your own tabular medical datasets.
- Use the BiLSTM model to analyze textual symptom descriptions.
Example
An example of loading the model weights into PyTorch using huggingface_hub:
import torch
from huggingface_hub import hf_hub_download
path = hf_hub_download("triq0/medical-ai-assistant", "checkpoints/skin_model_full.pth")
ckpt = torch.load(path, map_location="cpu", weights_only=False)
print(ckpt.keys() if isinstance(ckpt, dict) else type(ckpt))
Read more
DetailsProject evaluation metrics: Skin (segmentation) — IoU 0.844, Dice 0.914; Lab — accuracy 0.37, ROC-AUC 0.835; Sound — accuracy 1.000
Trained on small public datasets (ISIC 2016, ICBHI, Coswara, diabetes datasets)
Hardware requirements: training was performed on a single GTX 1650 graphics card










Comments