Bottom-up Domain-specific Superintelligence: A Reliable Knowledge Graph is What We Need
Paper
โข 2507.13966 โข Published
YAML Metadata Warning: empty or missing yaml metadata in repo card
Check out the documentation for more information.
QwQ-Med-3 is a medical reasoning model fine-tuned from Qwen/QwQ-32B on up to three-hop reasoning paths derived from a medical Knowledge Graph. It is introduced in the paper "Bottom-up Domain-specific Superintelligence: A Reliable Knowledge Graph is What We Need" by Bhishma Dedhia, Yuval Kansal, and Niraj K. Jha.
QwQ-Med-3 is trained using an SFT pipeline:
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained(
"yuvalkansal/QwQ-Med-3",
torch_dtype="auto",
device_map="auto",
)
tokenizer = AutoTokenizer.from_pretrained("yuvalkansal/QwQ-Med-3")
prompt = "A 45-year-old patient presents with..."
messages = [{"role": "user", "content": prompt}]
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer([text], return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=512)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
If you use this model, please cite:
@misc{dedhia2025bottomupsuperintelligence,
author = "{Dedhia, Bhishma and Kansal, Yuval and Jha, Niraj K.}",
title = "Bottom-up Domain-specific Superintelligence: A Reliable Knowledge Graph is What We Need",
year = "2025",
url = {https://arxiv.org/abs/2507.13966}
}