Multi-Modal Foundation · ngwlh
KBioXLM
Multilingual biomedical language model for cross-lingual entity recognition, relation extraction, and classification.
What KBioXLM is
KBioXLM is a multilingual biomedical language model developed by ngwlh. Built upon the XLM-RoBERTa architecture, it provides cross-lingual language understanding across the biomedical and healthcare domains.
The model addresses the challenge of understanding and extracting biomedical information across multiple languages, including English and Chinese. It is designed to be fine-tuned on downstream biomedical tasks such as entity recognition, relation extraction, and text classification.
The model is intended strictly for research purposes. It is not a medical device and must not be used to make diagnostic, treatment, or clinical decisions.
How it works
KBioXLM is developed by continually training XLM-RoBERTa using a multi-task learning strategy. The pre-training relies on an aligned biomedical corpus constructed via a knowledge-anchored method to align representations across languages.
For masked language modelling, the pipeline accepts text sequences with masked tokens and predicts candidate tokens, outputting label rankings accompanied by confidence scores. The model can also be loaded with RobertaModel architectures for downstream sequence-level or token-level classification.
Key facts
- Base architecture
- XLM-RoBERTa (XLM-R)
- Primary pipeline task
- Fill-mask
- Modalities
- Text, protein sequence
- Languages
- Multilingual, including English and Chinese
- GPU memory required
- 16 GB
What you can use it for
- Biomedical Named Entity Recognition
- Fine-tuning the model to identify and label biomedical entities across multilingual corpora.
- Biomedical Relation Extraction
- Detecting and categorising relationships between biomedical entities in scientific text.
- Biomedical Text Classification
- Classifying medical and biomedical texts into categories across multiple languages.
- Masked Sequence Prediction
- Predicting masked tokens in biomedical text or protein sequences with ranked confidence scores.
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
KBioXLM
Strengths and limits
Good at
- Provides cross-lingual understanding capabilities specifically tailored to medical and biomedical domains.
- Employs a knowledge-anchored corpus construction method combined with multi-task pre-training.
- Can be fine-tuned for a range of biomedical downstream tasks including token classification and relation extraction.
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.
- Restricted to research use and cannot be used for clinical diagnosis, patient care, or treatment decisions.
- Requires at least 16 GB of GPU memory to run the model.
Inputs and outputs
You provide
Sequence with a mask
Use the model's mask token, commonly [MASK] or <mask>.
You get back
Labels with confidence scores, highest first.
KBioXLM 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/ngwlh-kbioxlm/runs \
-H "Authorization: Bearer $COROLLARY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"inputs": {
"sequence": "<Sequence with a mask>"
}
}'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 KBioXLM 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 KBioXLM 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 33s, and a run costs about 28 credits. Visitors without an account get 1,000 credits a month.
What base model architecture does KBioXLM use?
It is built by continuing the pre-training of the XLM-RoBERTa (XLM-R) multilingual model.
What downstream tasks can KBioXLM be fine-tuned for?
It can be fine-tuned for cross-lingual biomedical tasks, including biomedical entity recognition, relationship extraction, and text classification.
Is KBioXLM suitable for clinical diagnostics?
No, it is not a medical device and must not be used for diagnosis, clinical treatment, or any medical decision-making.
What inputs and outputs does the default pipeline use?
The default fill-mask pipeline accepts a sequence containing a mask token and outputs predicted labels ranked by confidence scores.
How to cite it
KBioXLM: A Knowledge-anchored Biomedical Multilingual Pretrained Language Model, arXiv:2311.11564
Written from KBioXLM'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.
