Views
No views yet
[!IMPORTANT] HuatuoGPT-3-8B is set to thinking mode by default. The output contains a<think>...</think>reasoning block followed by the final response after</think>.
| Model | Description | Backbone | Link |
|---|---|---|---|
| HuatuoGPT-3-32B | 32B medical LLM trained with SeedRL | Qwen3-32B | HF Link |
| HuatuoGPT-3-8B | 8B medical LLM trained with SeedRL | Qwen3-8B-Base | HF Link |
| HuatuoGPT-3-7B-Pangu | 7B medical LLM trained with SeedRL | openPangu-Embedded-7B | HF Link |
Qwen3-8B. You can deploy it with tools like vLLM or SGLang, or perform direct inference:1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model_name = "FreedomIntelligence/HuatuoGPT-3-8B"
4
5tokenizer = AutoTokenizer.from_pretrained(model_name)
6model = AutoModelForCausalLM.from_pretrained(
7 model_name,
8 torch_dtype="auto",
9 device_map="auto"
10)
11
12messages = [
13 {"role": "user", "content": "What are the common causes of chest pain?"}
14]
15
16text = tokenizer.apply_chat_template(
17 messages,
18 tokenize=False,
19 add_generation_prompt=True
20)
21
22inputs = tokenizer([text], return_tensors="pt").to(model.device)
23outputs = model.generate(**inputs, max_new_tokens=4096)
24print(tokenizer.decode(outputs[0], skip_special_tokens=True))1@inproceedings{huatuogpt3,
2 title={OnePO: Direct One-stage Policy Optimization for SFT-free Domain Adaptation},
3 author={Chen, Junying and Xie, Xinyuan and Li, Ziniu and Wang, Benyou},
4 booktitle={Proceedings of the 43rd International Conference on Machine Learning},
5 series={Proceedings of Machine Learning Research},
6 volume={306},
7 year={2026}
8}