Literature · PatSnap
Hiro-Pharma
A 7-billion-parameter language model for biomedical dialogue, text summarisation, and literature exploration.
What Hiro-Pharma is
Hiro-Pharma is a causal language model developed by PatSnap for conversational interaction and text generation across the biomedical and pharmaceutical domains. Adapted from the Qwen2.5-7B architecture, it is designed to assist researchers with non-clinical scientific workflows, literature comprehension, and domain terminology exploration.
Biomedical research relies on specialised vocabularies and intricate conceptual relationships that general-purpose language models often struggle to interpret accurately. Hiro-Pharma addresses this by focusing on domain-specific dialogue, providing an interactive assistant capable of answering objective questions, rewriting scientific material, and summarising dense texts for research and development teams.
How it works
Hiro-Pharma is built upon the Qwen2 causal language model architecture and supports an extended context window of up to 131,072 tokens, subject to hardware and runtime capacity. It was trained using internally generated synthetic biomedical dialogue data that features objective questions alongside multi-turn question-and-answer pairs, excluding real patient health information or confidential customer materials.
The training pipeline applies supervised fine-tuning followed by reinforcement learning. The reinforcement learning phase employs Group Relative Policy Optimization (GRPO) — an algorithm that optimizes policy outputs by comparing reward outcomes across groups of candidate generations. Implemented with the verl framework (version 0.3.1.dev), this alignment phase incorporates both rule-based and model-based reward mechanisms.
Key facts
- Base model
- Qwen/Qwen2.5-7B
- Architecture
- Qwen2 causal language model
- Context length
- Up to 131,072 tokens
- Tensor type
- BF16
- Format
- Sharded safetensors
- Supported languages
- English and Chinese
- Input format
- Text prompt
- Output format
- Text completion
What you can use it for
- Biomedical text summarisation and rewriting
- Condensing, explaining, and reframing technical passages from non-clinical biomedical literature to speed up information gathering.
- Interactive dialogue and workflow assistance
- Querying biomedical concepts, nomenclature, and research methodologies within an assistant-style dialogue interface.
- Biomedical dialogue evaluation
- Benchmarking and evaluating language model behaviour, instruction-following, and domain alignment in engineering settings.
Run it here
No installation and no GPU of your own: fill in the inputs and it runs on our servers. Results stay in your browser unless you sign in.
Runs on On-demand GPU
Runs on our servers with on-demand compute. A first run needs time to load the model; active capacity can be reused and scales down when idle.Run this model
Hiro-Pharma
Strengths and limits
Good at
- Supports long-context processing up to 131,072 tokens on compatible hardware.
- Fine-tuned specifically for biomedical dialogue using both rule-based and model-based reinforcement learning.
- Trained exclusively on synthetic data, avoiding the inclusion of private patient health information or confidential customer records.
Watch out for
- For research use only: it is not a medical device and must not be used for diagnosis, treatment or any clinical decision.
- May generate plausible but inaccurate or hallucinated pharmaceutical and medical statements.
- Cannot reliably distinguish established clinical evidence from hypotheses or preclinical findings.
- Not validated or approved for clinical diagnosis, patient triage, prescription decisions, or regulated health workflows.
- Lacks public benchmark scores, requiring empirical evaluation on task-specific data before adoption.
Inputs and outputs
You provide
Prompt
The model continues from here.
You get back
The model's completion.
Hiro-Pharma API
The same run, from your own code: one HTTP request with an API key, billed in the same credits as the Run button. A fast run answers with its outputs; a longer one answers with a poll_url to read.
curl https://corollary-labs.com/api/v1/models/patsnap-hiro-pharma/runs \
-H "Authorization: Bearer $COROLLARY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"inputs": {
"text": "<Prompt>"
}
}'Make an API key, then read the models reference.
Licence
Commercial use permitted · apache-2.0
apache-2.0, as the repository declares it. Read by the catalogue intake on 2026-11-28.
Questions
Can I use Hiro-Pharma commercially?
Commercial use permitted. apache-2.0, as the repository declares it. Read by the catalogue intake on 2026-11-28.
How do I run Hiro-Pharma without installing anything?
Use the form under “Run it here” on this page: fill in the inputs and press Run model. It runs on our servers on 1× A100 40GB, typically in 2.0min, and a run costs about 210 credits. Visitors without an account get 1,000 credits a month.
Can this model be used to advise patients or assist clinical decisions?
No. The model is not validated as a medical device or clinical decision support tool and must not be used for diagnosis, treatment planning, prescription decisions, or patient-facing advice.
What training methodology was used for Hiro-Pharma?
The model underwent supervised fine-tuning on synthetic biomedical dialogue datasets, followed by reinforcement learning using Group Relative Policy Optimization with rule- and model-based rewards.
What is the maximum context length supported?
The model supports context lengths of up to 131,072 tokens, depending on the serving infrastructure and available GPU memory.
Does the model training incorporate proprietary patient data?
No. The model was trained using internally generated synthetic dialogue data and contains no real patient records or protected health information.
How to cite it
Wu, W., Chen, L., Zhong, H., & Wang, W. (2025). Large Language Model's Multi-Capability Alignment in Biomedical Domain. arXiv preprint arXiv:2508.04278.
Written from Hiro-Pharma's own documentation (model card). Statements citing a figure that does not appear there are removed before publication. Licence and running details come from our registry.
