FreedomIntelligence/HuatuoGPT-3-27B · Hugging Face
Summary
HuatuoGPT-3-27B is a medical language model built on Qwen3.8-27B using One-stage Policy Optimization (OnePO), a reinforcement learning method for domain adaptation without supervised fine-tuning.
View Cached Full Text
Cached at: 09/24/26, 09:13 PM
FreedomIntelligence/HuatuoGPT-3-27B · Hugging Face
Source: https://huggingface.co/FreedomIntelligence/HuatuoGPT-3-27B
https://huggingface.co/FreedomIntelligence/HuatuoGPT-3-27B#introductionIntroduction
HuatuoGPT-3-27Bis a medical LLM built onQwen3.8-27BwithOne-stage Policy Optimization (OnePO). OnePO adapts language models to medicine in a single reinforcement-learning stage, without preceding domain-specific supervised fine-tuning. Teacher responses provide temporary guidance and are retired as the model improves.
We release thetraining code,medical RL dataset, and8B rubric grader.
**HuatuoGPT-3 requires thinking mode.**Keep
enable\_thinking=Trueduring inference. The model generates reasoning before providing its final answer after</think\>.
https://huggingface.co/FreedomIntelligence/HuatuoGPT-3-27B#model-infoModel Info
ModelBackbonePurposeAccessHuatuoGPT-3-9BQwen3.5-9BMedical reasoningHF LinkHuatuoGPT-3-27BQwen3.8-27BMedical reasoningHF Link
https://huggingface.co/FreedomIntelligence/HuatuoGPT-3-27B#usageUsage
HuatuoGPT-3-27Bcan be used likeQwen3.8-27Band deployed withvLLMorSGLang.
For direct text inference, use a Transformers version with Qwen3.5 support (transformers\>=5\.4\.0) andaccelerate:
from transformers import AutoModelForImageTextToText, AutoProcessor
model_id = "FreedomIntelligence/HuatuoGPT-3-27B"
processor = AutoProcessor.from_pretrained(model_id)
model = AutoModelForImageTextToText.from_pretrained(
model_id,
dtype="auto",
device_map="auto",
).eval()
messages = [{
"role": "user",
"content": [{"type": "text", "text": "What are the common causes of chest pain?"}],
}]
inputs = processor.apply_chat_template(
messages,
tokenize=True,
add_generation_prompt=True,
enable_thinking=True,
return_dict=True,
return_tensors="pt",
).to(model.device)
outputs = model.generate(**inputs, max_new_tokens=4096)
response = outputs[0, inputs["input_ids"].shape[-1]:]
print(processor.decode(response, skip_special_tokens=True))
https://huggingface.co/FreedomIntelligence/HuatuoGPT-3-27B#%F0%9F%93%96-citation📖 Citation
@inproceedings{chen2026onepo,
title={OnePO: Direct One-stage Policy Optimization for SFT-free Domain Adaptation},
author={Chen, Junying and Xie, Xinyuan and Li, Ziniu and Wang, Benyou},
booktitle={Proceedings of the 43rd International Conference on Machine Learning},
year={2026}
}
Similar Articles
Qwen/Qwen3.6-27B-FP8
Alibaba releases Qwen3.6-27B-FP8, a 27B FP8-quantized model with strong agentic coding and reasoning benchmarks, now available on Hugging Face.
huihui-ai/Huihui-Qwen3.8-27B-abliterated
This is an uncensored version of the Qwen3.8-27B AI model created using abliteration to remove refusals, serving as a proof-of-concept for modifying LLMs without extensive tools.
Jackrong/Qwopus3.6-27B-Coder-MTP-GGUF
A GGUF quantized version of the Qwopus3.6-27B-Coder-MTP model is released on Hugging Face, optimized for local inference and compatible with Transformers, vLLM, SGLang, and Unsloth Studio.
Huihui-ai Qwen 3.8 Ablit Available
A new version of the Huihui-ai Qwen model is available on Hugging Face, and the user is pulling it for use in analysis and services, noting previous versions were effective.
HauhauCS/Qwen3.8-27B-Uncensored-HauhauCS-Aggressive-MTP-GGUF
This release introduces an uncensored aggressive variant of the Qwen3.8-27B AI model, featuring HauhauCS FastMTP acceleration for improved document and reasoning throughput, along with vision support.