April 5, 2023

NarbioBART: A revolutionary model for medical use in Spanish

NarbioBART: A revolutionary model for medical use in Spanish

AI in Life Sciences

AI in Life Sciences

AI in Life Sciences

By Sofía Sánchez González

As artificial intelligence advances, medicine will too. The Healthcare sector is benefiting from new advances in many fields of AI, not only in those applications directly related to the patient, but also in fields such as natural language processing (NLP) and natural language generation (NLG). It’s in that spirit that Narrativa is presenting NarbioBART: a revolutionary model for medical use in Spanish.

The origins of this model

BART (link to paper: https://arxiv.org/abs/1910.13461) is a denoising autoencoder for pretraining sequence-to-sequence models. It is trained by corrupting text with an arbitrary noising function and then learning a model to reconstruct the original text. 

BART uses a standard transformer-based neural machine translation architecture and can be seen as generalizing BERT (due to the bidirectional encoder) and GPT (with the left-to-right decoder), among others. It is effective when fine-tuned for text generation and also works well for comprehension tasks, matching the performance of RoBERTa on certain benchmark datasets and achieving state-of-the-art results on abstractive dialogue, question-answering, and summarization tasks. 

BART also provides improvement over a back-translation system for machine translation, with only target language pretraining. The authors conducted ablation experiments to better understand the factors that influence end-task performance within the BART framework.

Encode and decode: the best of both worlds

The Narrativa innovation team proposed ​​adapting this model to Spanish by combining encoder with decoder—the best of both worlds. NarbioBART is the first initiative toward replicating these Stanford models in Spanish.

Until now there was no generative model with these characteristics. NarbioBART is a mix between RoBERTa and GPT-2; for training we have used the largest corpus for medical tasks, a biomedical domain corpus. It performs just as well and is, of course, a generative model.

Uses of NarbioBART

This model can be used for any downstream like:

  • Classification of text
  • Recognition of entities 
  • Question-answering

But it really shines in text generation tasks such as summarizing or abstractive QA.

Where can I test it?

Check out our Hugging Face page here.

About Narrativa

Narrativa® is the global leader in generative AI content automation. Through the no-code Narrativa® Navigator platform and the collaborative writing assistant, Narrativa® Sidekick, organizations large and small are empowered to accelerate content creation at scale with greater speed, accuracy, and efficiency.

For companies in the life sciences industry, Narrativa® Navigator provides secure and specialized AI-powered automation features. It includes complementary user-friendly tools such as CSR Atlas, Narrative Pathway, TLF Voyager, and Redaction Scout, which operate cohesively to transform clinical data into submission-ready regulatory documents. From database to delivery, pharmaceutical sponsors, biotech firms, and contract research organizations (CROs) rely on Narrativa® to streamline workflows, decrease costs, and reduce time-to-market across the clinical lifecycle and, more broadly, throughout their entire businesses.

The dynamic Narrativa® Navigator platform also supports non-clinical industries such as finance, marketing, and media. It helps teams drive measurable impact by creating high-quality, scalable content on any topic. Available as a self-serve SaaS solution or a fully managed service, built-in AI agents enable the production, refinement, and iteration of large volumes of SEO-optimized news articles, engaging blog posts, insightful thought leadership pieces, in-depth financial reports, dynamic social media posts, compelling white papers, and much more.

Explore www.narrativa.com and follow on LinkedIn, Facebook, Instagram, and X. Accelerate the potential with Narrativa®.