Literature · Joesh1
onca-2.0-12b
An oncology language model specialised in trial screening, clinical reasoning, and variant evidence interpretation.
What onca-2.0-12b is
ONCA 2.0 is an open oncology language model developed by Joesh1. Built upon Google's Gemma 4 12B base model, it is tailored for biomedical and oncology-adjacent research, with a notable domain specialisation in pancreatic cancer.
The model is adapted to assist researchers across four core tasks: screening patient details against clinical trial criteria, clinical reasoning over patient outcomes, extracting structured data from pathology texts, and interpreting genomic variant evidence.
How it works
The model utilises the Gemma 4 unified 12B architecture (Gemma4UnifiedForConditionalGeneration) and supports an extended context window of 262,144 tokens. It was developed through continued supervised fine-tuning on a provenance-labelled oncology corpus, with the final weights provided as a merged 16-bit brain floating-point (BF16) adapter export across seven Safetensors shards.
Training utilized 25,302 examples divided into four task families: trial screening (10,921 examples), variant evidence (6,175 examples), pathology extraction (4,559 examples), and clinical reasoning (3,647 examples). The training corpus combines 16,591 original examples with 8,711 generated examples, evaluated against a fixed 1,309-example holdout benchmark.
Key facts
- Base model
- google/gemma-4-12B-it
- Architecture
- Gemma 4 unified 12B (Gemma4UnifiedForConditionalGeneration)
- Context window
- 262,144 tokens
- Training data size
- 25,302 examples
- Format
- Seven safetensors shards (BF16)
- Export date
- 2026-06-14
What you can use it for
- Clinical trial screening
- Assessing patient characteristics, such as ECOG performance status and prior therapies, against trial inclusion and exclusion criteria to output eligibility decisions and identify missing details.
- Clinical reasoning
- Analysing clinical narratives in cancer cases to determine outcome labels and trace reasoning paths.
- Variant evidence interpretation
- Evaluating biological and genomic evidence to determine the clinical significance of identified variants in oncology.
- Pathology information extraction
- Extracting targeted clinical and pathological fields from unstructured oncology reports.
Run it here
We list this model but cannot run it yet: it was saved with a newer transformers release than our general image runs, so it needs an image of its own.
Everything on this page still applies. Running it needs a loader for this repository, not a bigger machine.
Strengths and limits
Good at
- Supports a 262,144-token context window capable of ingesting lengthy clinical records and multi-page trial criteria.
- Shows measurable improvements over ONCA 1.5 across trial screening, clinical reasoning, and variant evidence tasks.
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.
- The model is strictly a research release and is not validated or approved as a clinical decision support system.
- Validly formatted or structured outputs do not guarantee medical factual correctness and require expert verification.
- The system is tuned specifically for oncology and pancreatic cancer, limiting its general medical diagnostic utility.
Inputs and outputs
You provide
Prompt
The model continues from here.
You get back
The model's completion.
Licence
Check the licence before commercial use · apache-2.0
The apache-2.0 licence carries terms worth reading before you depend on it.
Questions
Can I use onca-2.0-12b commercially?
Check the licence before commercial use. The apache-2.0 licence carries terms worth reading before you depend on it.
What tasks does ONCA 2.0 perform?
It is built for four specific oncology workflows: clinical trial screening, clinical reasoning, pathology report data extraction, and variant evidence interpretation.
How should prompts be structured for the best results?
The model functions best when given tightly scoped prompts, complete criteria, explicit output formats such as JSON, requests to flag missing information, and deterministic decoding without random sampling.
What model architectures and dependencies are required to run it?
It requires an environment supporting Transformers with Gemma 4 support, specifically using the AutoModelForMultimodalLM and AutoProcessor classes with the included tokenizer and chat template.
Written from onca-2.0-12b'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.
