Run this model with HF Jobs

Run suayptalha/Qwen3-0.6B-Medical-Expert on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/suayptalha/Qwen3-0.6B-Medical-Expert. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/suayptalha/Qwen3-0.6B-Medical-Expert on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/suayptalha/Qwen3-0.6B-Medical-Expert. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/suayptalha/Qwen3-0.6B-Medical-Expert. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

Qwen3-0.6B-Medical-Expert

This project performs full fine-tuning on the Qwen3-0.6B language model to enhance its medical reasoning and clinical understanding capabilities. Training was conducted on the FreedomIntelligence/medical-o1-reasoning-SFT dataset using bfloat16 (bf16) precision for efficient optimization.

Training Procedure

  1. Dataset Preparation

    • The FreedomIntelligence/medical-o1-reasoning-SFT dataset was used.
    • Each example consists of medically relevant instructions or questions paired with detailed, step-by-step clinical reasoning responses.
    • Prompts were structured to encourage safe, factual, and coherent medical reasoning chains.
  2. Model Loading and Configuration

    • Qwen3 base model weights were loaded via the unsloth library in bf16 precision.
    • All model layers were fully updated (full_finetuning=True) to effectively adapt the model to medical reasoning and decision-making tasks.
  3. Supervised Fine-Tuning

    • Fine-tuning was conducted using the Hugging Face TRL library with the Supervised Fine-Tuning (SFT) approach.
    • The model was trained to follow clinical instructions, interpret symptoms, and generate reasoned diagnoses or treatment suggestions.

Purpose and Outcome

  • The model’s ability to interpret medical instructions and generate step-by-step clinical reasoning has been significantly enhanced.
  • It produces responses that combine factual accuracy with transparent reasoning, making it useful in educational and assistive medical AI contexts.

License

This project is licensed under the Apache License 2.0. See the LICENSE file for details.

Support

Buy Me A Coffee

Downloads last month
63
Safetensors
Model size
0.6B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 1 Ask for provider support

Model tree for suayptalha/Qwen3-0.6B-Medical-Expert

Finetuned
Qwen/Qwen3-0.6B
Finetuned
(1,557)
this model
Finetunes
1 model
Merges
5 models
Quantizations
3 models

Dataset used to train suayptalha/Qwen3-0.6B-Medical-Expert

Collection including suayptalha/Qwen3-0.6B-Medical-Expert