CoolFace
Modelpublic

CBrootA/Qwen-MediCare-BD

sourceHugging Facemitupdated 5mo agoView on Hugging Face
2likes101downloads
Model Card

๐Ÿฅ Qwen-MediCare-BD

Bangladesh's First Offline Medical AI Assistant

Model Description

Qwen-MediCare-BD-3B is a fine-tuned medical language model based on Qwen2.5-3B-Instruct, specifically trained on Bangladesh-specific medical data. It provides accurate medical information offline, making it ideal for regions with limited internet connectivity.

Key Features

  • โ€”๐Ÿ‡ง๐Ÿ‡ฉ Bangladesh-specific: Includes local diseases, drugs, and medical context
  • โ€”๐Ÿ“ฑ Mobile-ready: Quantized to Q4KM (1.8GB)
  • โ€”๐Ÿ”’ 100% Offline: No internet required for inference
  • โ€”๐Ÿฉบ Medically validated: Trained on 30,523 medical Q&A pairs
  • โ€”๐Ÿ’š Multilingual: Supports English and Bangla queries

Model Variants

VariantSizeFormatUse Case
Full Model6.2 GBSafetensorsTraining/Research
Q4KM1.8 GBGGUFMobile/Edge devices
LoRA Adapters114 MBSafetensorsFine-tuning

Quick Start

Using Transformers

python
from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained(
    "CBrootA/Qwen-MediCare-BD",
    device_map="auto",
    load_in_4bit=True
)
tokenizer = AutoTokenizer.from_pretrained("CBrootA/Qwen-MediCare-BD")

messages = [
    {"role": "system", "content": "You are a medical assistant for Bangladesh."},
    {"role": "user", "content": "What are dengue symptoms?"}
]

inputs = tokenizer.apply_chat_template(messages, return_tensors="pt").to("cuda")
outputs = model.generate(inputs, max_new_tokens=256)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)