All models

Literature · HiTZ

Medical-mT5-large

A 738M parameter multilingual medical language model covering English, Spanish, French, and Italian.

What Medical-mT5-large is

Medical-mT5-large is an open-source multilingual encoder-decoder language model developed by the HiTZ research group alongside collaborating institutions. It adapts Google's mT5 architecture to the biomedical and clinical fields across four European languages: English, Spanish, French, and Italian.

The model was created to address the scarcity of multilingual text-to-text models within the medical domain. By continuing pre-training on specialised domain corpora, it provides a general medical foundation model intended for downstream biomedical natural language processing tasks.

How it works

Medical-mT5-large contains 738 million parameters and is built by continuing the pre-training of the public google/mt5-large base model using the standard T5 masked language modelling objective. Training was conducted for one epoch across a total of 4.5 billion tokens using a sequence length of 1,024, a batch size of 65,536 tokens per step, and the Adafactor optimiser with a constant learning rate of 0.001.

The training corpus spans diverse medical texts per language, including PubMed abstracts, ClinicalTrials records, EMEA documents, Wikipedia medical articles, Google Patents, and regional medical web crawl data. Training was executed on four NVIDIA A100 GPUs over approximately 10.5 hours.

Key facts

Base model
google/mt5-large
Architecture
Encoder-decoder (mT5)
Parameters
738M
Supported languages
English, Spanish, French, Italian
Sequence length
1024 tokens
Training data
4.5 billion tokens across 4 languages
Training hardware
4x NVIDIA A100 GPUs

What you can use it for

Downstream medical task fine-tuning
Serves as a base medical encoder-decoder model that researchers can fine-tune for custom sequence-to-sequence objectives across English, French, Spanish, or Italian.
Multilingual clinical sequence labelling
Can be adapted and fine-tuned for extracting medical entities and concepts from multilingual clinical and biomedical texts.
Cross-lingual argument mining
Can be evaluated or trained for zero-shot or supervised transfer across supported languages in medical texts.

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

Medical-mT5-large

The model continues from here.

Needs prompt

Strengths and limits

Good at

  • Covers four European languages (English, Spanish, French, Italian) within a unified medical checkpoint.
  • Trained on 4.5 billion tokens drawn from diverse medical literature, drug documentation, clinical trials, and clinical notes.
  • Compact 738M parameter footprint allows execution and fine-tuning on standard research GPU hardware.

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.
  • Trained primarily on masked language modelling and requires task-specific fine-tuning before being applied to end-user downstream tasks.
  • Domain coverage is limited to four languages (English, Spanish, French, and Italian).
  • Maximum input sequence length is restricted to 1,024 tokens.

Inputs and outputs

You provide

  • Prompt

    The model continues from here.

You get back

  • The model's completion.

Medical-mT5-large 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.

bash
curl https://corollary-labs.com/api/v1/models/hitz-medical-mt5-large/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 Medical-mT5-large 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 Medical-mT5-large 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 16GB, typically in 39s, and a run costs about 70 credits. Visitors without an account get 1,000 credits a month.

Can Medical-mT5-large be used directly out of the box for generation or question answering?

No. The model was trained using T5 masked language modelling tasks, meaning it functions as a base model and requires fine-tuning on your specific task before practical use.

What languages does the model support?

It was continuously pre-trained on medical domain corpora in English, Spanish, French, and Italian.

What is the difference between Medical-mT5-large and Medical-mT5-large-multitask?

Medical-mT5-large is a foundation language model trained on masked language modelling, whereas the multitask version is explicitly fine-tuned for sequence labelling tasks.

How to cite it

Iker García-Ferrero, Rodrigo Agerri, Aitziber Atutxa Salazar, Elena Cabrio, Iker de la Iglesia, Alberto Lavelli, Bernardo Magnini, Benjamin Molinet, Johana Ramirez-Romero, German Rigau, Jose Maria Villa-Gonzalez, Serena Villata and Andrea Zaninello. Medical mT5: An Open-Source Multilingual Text-to-Text LLM for The Medical Domain. arXiv:2404.07613, 2024.

Written from Medical-mT5-large'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.