Literature · IIC
bsc-bio-ehr-es-meddocan
Spanish clinical token-classification model fine-tuned on the MEDDOCAN dataset, based on bsc-bio-ehr-es.
What bsc-bio-ehr-es-meddocan is
bsc-bio-ehr-es-meddocan is a token-classification model developed by IIC. It is a fine-tuned adaptation of bsc-bio-ehr-es, an underlying language model trained on Spanish biomedical and electronic health record text, targeted specifically at the MEDDOCAN clinical dataset.
The model identifies and classifies tokens in Spanish biomedical and clinical text, achieving an F1 score of 0.967 on the MEDDOCAN benchmark. It is designed solely for scientific research and cannot be employed as a medical device for patient diagnosis or clinical treatment decisions.
How it works
The model is based on a RoBERTa architecture and implemented in PyTorch using the Transformers library. It was fine-tuned from the bsc-bio-ehr-es checkpoint on the MEDDOCAN dataset (bigbio/meddocan) for token-classification tasks.
Fine-tuning was conducted using the AdamW optimizer with a learning rate of 4e-05 and a batch size of 16 over up to 10 epochs, with early stopping patience set to 3. Classifier dropout, warmup ratio, warmup steps, and weight decay were all set to zero. Given input text, the model returns token-level labels paired with confidence scores.
Key facts
- Base model
- bsc-bio-ehr-es
- Architecture
- RoBERTa
- Task
- Token classification
- Language
- Spanish
- Dataset
- MEDDOCAN (bigbio/meddocan)
- F1 score
- 0.967
- Input
- Text
- Output
- Labels with confidence scores
What you can use it for
- Spanish Clinical Token Classification
- Extracting and labelling specific token entities across Spanish electronic health records and clinical documents.
- Medical Anonymisation Research
- Benchmarking entity extraction and de-identification pipelines on the MEDDOCAN dataset.
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-meddocan
Strengths and limits
Good at
- Attains a high token-classification performance with an F1 score of 0.967 on the MEDDOCAN benchmark.
- Builds upon a specialised Spanish biomedical and electronic health record foundation model.
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.
- Must not be used as a medical device or for clinical decision-making, diagnosis, or patient care.
- Limited to Spanish-language biomedical and clinical texts aligning with the MEDDOCAN schema.
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-meddocan 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/iic-bsc-bio-ehr-es-meddocan/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-meddocan 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-meddocan 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 11s, and a run costs about 28 credits. Visitors without an account get 1,000 credits a month.
What task does this model perform?
It performs token classification on Spanish clinical text, returning predicted labels and associated confidence scores for input tokens.
Which dataset was used to fine-tune the model?
It was fine-tuned on the MEDDOCAN dataset, catalogued under bigbio/meddocan.
Can this model be used for clinical diagnosis?
No. The model is strictly for research purposes and is not a medical device.
Written from bsc-bio-ehr-es-meddocan'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.
