Discover and explore top open-source AI tools and projects—updated daily.
Zeyi-LinLLM fine-tuning for specialized medical chat
Top 97.5% on SourcePulse
This repository offers fine-tuned versions of the Qwen3-1.7B language model, specifically adapted for medical domain chat applications with an "R1 inference style". It targets developers and researchers seeking specialized medical LLMs, providing a dataset and scripts for both full parameter and LoRA fine-tuning to facilitate the creation of models adept at medical query response.
How It Works
The project fine-tunes the Qwen3-1.7B base model using either full parameter updates or the memory-efficient LoRA technique. It employs the delicate_medical_r1_data dataset and includes dedicated scripts (train.py, train_lora.py) for each training methodology. The objective is to achieve a distinct "R1 inference style" tailored for medical conversations, as illustrated by the provided example dialogue.
Quick Start & Requirements
pip install -r requirements.txtMAX_LENGTH.python data.py for automated dataset download, preprocessing, and validation split.python train.py (full parameter) or python train_lora.py (LoRA).python inference.py (full parameter) or python inference_lora.py (LoRA).Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
7 months ago
Inactive