WiNGPT2  by winninghealth

Medical LLM for intelligent Q&A, diagnosis support, and medical knowledge access

created 1 year ago
404 stars

Top 72.9% on sourcepulse

GitHubView on GitHub
Project Summary

WiNGPT2 is a large language model specialized for the healthcare domain, offering intelligent medical Q&A, diagnostic support, and knowledge services. It aims to enhance efficiency and quality in healthcare by integrating professional medical knowledge and data. The project targets medical professionals and general users seeking reliable health information.

How It Works

WiNGPT2 is built upon Transformer architecture, leveraging models like Gemma and Llama 3 as base pre-trained models. It incorporates advanced techniques such as RoPE relative positional encoding, SwiGLU activation, and RMSNorm for improved performance. The model is trained on a vast, curated dataset of medical literature, guidelines, and clinical data, with specific optimizations for various healthcare scenarios and tasks.

Quick Start & Requirements

  • Install/Run: Use Hugging Face transformers library.
    from transformers import AutoModelForCausalLM, AutoTokenizer
    model_path = "WiNGPT2-7B-Chat" # Or other available models
    tokenizer = AutoTokenizer.from_pretrained(model_path, trust_remote_code=True)
    model = AutoModelForCausalLM.from_pretrained(model_path, trust_remote_code=True).to("cuda")
    
  • Prerequisites: Python, PyTorch, Hugging Face transformers. GPU with sufficient VRAM is recommended for optimal performance.
  • Demo: A simple chatbot example is available (demo.py).
  • Models: Available on Hugging Face Hub (e.g., WiNGPT2-7B-Chat, WiNGPT2-14B-Chat, WiNGPT2-Llama3-8B-Chat, and quantized versions).

Highlighted Details

  • Offers specialized models like WiNGPT2-Gemma-2-9B and WiNGPT2-Llama3-8B.
  • Supports quantized versions (AWQ, GGUF) for efficient deployment.
  • Evaluated on custom benchmarks (WiNEval-MCKQuiz, WiNEval-MSceQA) showing competitive performance.
  • Includes a roadmap for multimodal capabilities with WiNGPT-3.

Maintenance & Community

  • Actively updated with new model releases and benchmark results.
  • Community discussion via WeChat group (QR code provided in README).
  • Contact via email (wair@winning.com.cn) or website (https://www.winning.com.cn).

Licensing & Compatibility

  • Project licensed under Apache License 2.0.
  • Model weights are subject to the base model's license (e.g., Qwen-7B). Compatibility for commercial use should be verified against base model licenses.

Limitations & Caveats

  • While providing AI doctor functionalities, WiNGPT2's advice is for reference only and does not replace professional medical consultation.
  • The project disclaims warranties for accuracy, reliability, or completeness, and users bear responsibility for decisions made based on its output.
  • Some application examples mentioned (e.g., image report generation) may involve technologies beyond the core WiNGPT2 model.
Health Check
Last commit

8 months ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
16 stars in the last 90 days

Explore Similar Projects

Starred by George Hotz George Hotz(Author of tinygrad; Founder of the tiny corp, comma.ai), Calvin French-Owen Calvin French-Owen(Coounder of Segment), and
12 more.

StableLM by Stability-AI

0.0%
16k
Language models by Stability AI
created 2 years ago
updated 1 year ago
Feedback? Help us improve.