Overview
Easily fine-tune RigoBERTa Clinical on your own clinical data to develop highly accurate text classification models specifically tailored to your unique use case and labeling requirements.
This targeted Natural Language Understanding (NLU) approach delivers superior performance compared to traditional Natural Language Generation (NLG) methods when applied to structured classification tasks.
Once fine-tuned, your customized model is ready for seamless deployment and real-time inference, allowing for direct integration into clinical workflows and supporting faster, more reliable decision-making across healthcare applications
RigoBERTa Clinical was built by further pretraining our general-purpose RigoBERTa 2 model on a meticulously Spanish curated clinical corpus, significantly improving performance on multiple clinical NLP benchmarks while offering robust language understanding in the clinical domain.
To fine-tune RigoBERTa Clinical with your data, prepare a labeled dataset in JSON or CSV format and upload it to Amazon S3. Configure training parameters such as number of epochs, batch size, and learning rate, then launch a training job using Amazon SageMaker. After training is complete, deploy the model to a real-time endpoint to perform on-demand inference, or run batch prediction jobs for large-scale processing of clinical texts.
An open-weight version of this model, intended solely for research and non-commercial use, is available on the public Hugging Face profile of IICÂ
Highlights
- RigoBERTa Clinical is clinical encoder language model developed through domain-adaptive MLM pretraining on the largest publicly available Spanish clinical corpus, ClinText-SP
- We recommend using this model as a foundation for clinical NLP applications by fine-tuning it on your own data for medical text classification tasks, such as clinical note labeling
Details
Unlock automation with AI agent solutions

Features and programs
Financing for AWS Marketplace purchases
Pricing
Dimension | Description | Cost/host/hour |
|---|---|---|
ml.g5.8xlarge Training Recommended | Algorithm training on the ml.g5.8xlarge instance type | $1.00 |
ml.g5.8xlarge Inference (Batch) Recommended | Model inference on the ml.g5.8xlarge instance type, batch mode | $2.70 |
ml.g5.8xlarge Inference (Real-Time) Recommended | Model inference on the ml.g5.8xlarge instance type, real-time mode | $2.70 |
ml.g5.12xlarge Training | Algorithm training on the ml.g5.12xlarge instance type | $1.00 |
ml.g5.12xlarge Inference (Batch) | Model inference on the ml.g5.12xlarge instance type, batch mode | $2.70 |
ml.g5.12xlarge Inference (Real-Time) | Model inference on the ml.g5.12xlarge instance type, real-time mode | $2.70 |
ml.g5.16xlarge Training | Algorithm training on the ml.g5.16xlarge instance type | $1.00 |
ml.g5.16xlarge Inference (Batch) | Model inference on the ml.g5.16xlarge instance type, batch mode | $2.70 |
ml.g5.16xlarge Inference (Real-Time) | Model inference on the ml.g5.16xlarge instance type, real-time mode | $2.70 |
ml.g5.4xlarge Training | Algorithm training on the ml.g5.4xlarge instance type | $1.00 |
Vendor refund policy
No refund policy
How can we make this page better?
Legal
Vendor terms and conditions
Content disclaimer
Delivery details
Amazon SageMaker algorithm
An Amazon SageMaker algorithm is a machine learning model that requires your training data to make predictions. Use the included training algorithm to generate your unique model artifact. Then deploy the model on Amazon SageMaker for real-time inference or batch processing. Amazon SageMaker is a fully managed platform for building, training, and deploying machine learning models at scale.
Version release notes
This is the first version of our Spanish clinical text classification model. This initial release demonstrates our commitment to making Spanish machine learning resources. Our model has been trained on a diverse Spanish dataset to ensure robust performance and accuracy in various scenarios. While this is just the beginning, we are excited about the potential applications and improvements that future iterations will bring. We look forward to refining and enhancing our model based on user feedback and continued research.
Additional details
Inputs
- Summary
The fine-tuned classification model accepts as input a JSON object containing a list of texts.
{ "inputs": [ "El paciente presenta disnea progresiva y fatiga desde hace una semana.", "Se indicĂł iniciar tratamiento con metformina por diagnĂłstico reciente de diabetes tipo 2.", "No se evidencian signos de infecciĂłn en la herida quirĂşrgica tras 10 dĂas de la operaciĂłn." ] }
- Input MIME type
- application/json, text/csv
Input data descriptions
The following table describes supported input data fields for real-time inference and batch transform.
Field name | Description | Constraints | Required |
|---|---|---|---|
inputs | A list of strings to be classified by the model. | Each text must be under 512 tokens. | Yes |
Resources
Vendor resources
Support
Vendor support
AWS infrastructure support
AWS Support is a one-on-one, fast-response support channel that is staffed 24x7x365 with experienced and technical support engineers. The service helps customers of all sizes and technical abilities to successfully utilize the products and features provided by Amazon Web Services.