Literature · PlanTL-GOB-ES
bsc-bio-ehr-es-cantemist
Spanish RoBERTa model fine-tuned to extract tumour morphology entities from biomedical and clinical texts.
What bsc-bio-ehr-es-cantemist is
bsc-bio-ehr-es-cantemist is a biomedical token-classification model developed to identify tumour morphology entities in Spanish clinical and biomedical text. It was created by the Text Mining Unit (TeMU) at the Barcelona Supercomputing Center (BSC) in collaboration with the Spanish State Secretariat for Digitalization and Artificial Intelligence (SEDIA) under the Plan-TL framework.
The model is a fine-tuned checkpoint of bsc-bio-ehr-es, a RoBERTa-base model pre-trained on a Spanish biomedical collection of 1.1 billion tokens comprising biomedical publications, clinical cases, and electronic health records. By adapting this domain-specific base to oncology entity recognition, the model assists researchers in extracting structured tumour morphology information from unstructured Spanish medical text.
How it works
The system is built upon the RoBERTa-base masked language model architecture. It uses weights pre-trained on 1.1 billion clean and deduplicated tokens drawn from Spanish biomedical literature and clinical notes, incorporating both general biomedical texts and electronic health record corpora.
For the token-classification task, the model was fine-tuned on the CANTEMIST named entity recognition dataset, which is specifically annotated for tumour morphology terms. It processes raw Spanish text input and outputs predicted token labels alongside associated confidence scores.
Key facts
- Base architecture
- RoBERTa-base
- Task
- Token classification (Named Entity Recognition)
- Language
- Spanish
- Fine-tuning dataset
- CANTEMIST (PlanTL-GOB-ES/cantemist-ner)
- Pre-training corpus size
- 1.1 billion tokens
- F1 score
- 0.8340
What you can use it for
- Tumour morphology entity extraction
- Identifying and locating mentions of tumour morphology directly within Spanish clinical narratives and pathology reports.
- Oncology health record mining
- Extracting structured cancer terminology from unstructured Spanish electronic health records for retrospective biomedical research.
- Biomedical literature processing
- Tagging tumour-related concepts across Spanish-language medical articles and case reports.
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
bsc-bio-ehr-es-cantemist
Strengths and limits
Good at
- Fine-tuned specifically for tumour morphology recognition on the specialised CANTEMIST dataset.
- Initialised from a base model pre-trained on 1.1 billion tokens of clean, domain-specific Spanish clinical and biomedical text.
- Attains an evaluation F1 score of 0.8340 on the target entity recognition task.
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.
- It is not a medical device and must not be used for diagnosis, treatment, or clinical decision-making.
- Pre-training corpora gathered via web-crawling methods may introduce biases that were not formally measured at submission.
- Restricted to token classification in Spanish texts and cannot directly process other languages.
Inputs and outputs
You provide
Text
Entities are labelled token by token.
You get back
Labels with confidence scores, highest first.
bsc-bio-ehr-es-cantemist 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/plantl-gob-es-bsc-bio-ehr-es-cantemist/runs \
-H "Authorization: Bearer $COROLLARY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"inputs": {
"text": "<Text>"
}
}'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 bsc-bio-ehr-es-cantemist 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 bsc-bio-ehr-es-cantemist 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 CPU only, typically in 15s, and a run costs about 28 credits. Visitors without an account get 1,000 credits a month.
What type of entities does this model recognise?
The model is fine-tuned to extract tumour morphology entities from input text using annotations from the CANTEMIST dataset.
Can this model be used for patient diagnosis or clinical triage?
No. The model is released strictly for research use and is not certified as a medical device for treatment, diagnosis, or clinical decisions.
What is the underlying model architecture?
It is based on the RoBERTa-base architecture, initially pre-trained on Spanish biomedical documents, clinical cases, and electronic health records.
What performance does the model achieve?
The model achieves an F1 score of 0.8340 on the CANTEMIST evaluation.
How to cite it
Carrino, Casimiro Pio, Joan Llop, Marc Pàmies, Asier Gutiérrez-Fandiño, Jordi Armengol-Estapé, Joaquín Silveira-Ocampo, Alfonso Valencia, Aitor Gonzalez-Agirre, and Marta Villegas. Pretrained Biomedical Language Models for Clinical NLP in Spanish. In Proceedings of the 21st Workshop on Biomedical Language Processing, pages 193–199, Dublin, Ireland, May 2022. Association for Computational Linguistics. doi:10.18653/v1/2022.bionlp-1.19.
Written from bsc-bio-ehr-es-cantemist'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.
