biobert-base-cased-v1.1

The biobert-base-cased-v1.1 model, hosted under the identifier dmis-lab/biobert-base-cased-v1.1 , is a domain‑specific adaptation of the original BERT‑base architecture that has been pre‑trained on large biomedical corpora. Leveraging the same 12‑layer Transformer stack (110 M parameters) as BERT‑base, it retains the

dmis-lab 638K downloads unknown Other
Frameworkstransformerspytorch
Downloads
638K
License
unknown
Pipeline
Other
Author
dmis-lab

Run biobert-base-cased-v1.1 locally on a Q4KM hard drive

Accelerate your biomedical NLP pipelines with a Q4KM hard drive pre‑loaded with the BioBERT‑base‑cased‑v1.1 model. Fast, reliable storage means instant access for on‑premise servers and edge devices....

Shop Q4KM Drives

Technical Overview

The biobert-base-cased-v1.1 model, hosted under the identifier dmis-lab/biobert-base-cased-v1.1, is a domain‑specific adaptation of the original BERT‑base architecture that has been pre‑trained on large biomedical corpora. Leveraging the same 12‑layer Transformer stack (110 M parameters) as BERT‑base, it retains the cased tokenization scheme, which preserves the original case of tokens—critical for gene names, protein identifiers, and chemical formulas that are case‑sensitive.

Key features and capabilities

  • Bidirectional contextual embeddings tuned for biomedical text.
  • Full compatibility with the transformers library and PyTorch backend.
  • Ready‑to‑use for downstream tasks such as Named Entity Recognition (NER), relation extraction, and text classification.
  • Endpoints‑compatible, allowing deployment via Hugging Face Inference API.

Architecture highlights

  • 12 Transformer encoder layers, 768 hidden size, 12 attention heads.
  • WordPiece tokenizer with a vocabulary of ~30 k tokens, mirroring the original BERT‑cased vocab.
  • Pre‑training objectives: Masked Language Modeling (MLM) and Next Sentence Prediction (NSP) on biomedical abstracts and full‑text articles.
  • Fine‑tuning heads can be attached for token‑level (NER) or sequence‑level (classification) tasks.

Intended use cases

  • Clinical note analysis – extracting diagnoses, medications, and procedures.
  • Scientific literature mining – identifying gene‑disease associations or drug‑target interactions.
  • Electronic health record (EHR) de‑identification and cohort selection.
  • Support for biomedical question‑answering systems and chatbots.
``` ```html

Benchmark Performance

BioBERT‑base‑cased‑v1.1 is evaluated on standard biomedical NLP benchmarks, most notably the BioNLP‑OST 2019 NER tasks (NCBI‑Disease, BC5‑CDR, JNLPBA) and the BioASQ question‑answering dataset. In the original BioBERT paper, the base model achieved F1 scores of 84.2 % on NCBI‑Disease and 88.5 % on BC5‑CDR, outperforming the generic BERT‑base by 2–4 % absolute. The v1.1 checkpoint reproduces these results with a slight improvement (≈0.5 % higher F1) due to additional pre‑training on newer PubMed Central articles.

Why these benchmarks matter

  • NER scores directly reflect the model’s ability to recognize biomedical entities, a core requirement for downstream pipelines.
  • BioASQ performance indicates proficiency in understanding question intent and retrieving relevant evidence.
  • Consistent gains over generic BERT demonstrate the value of domain‑specific pre‑training.

Comparison to similar models

  • ClinicalBERT (trained on MIMIC‑III) typically lags behind BioBERT on literature‑centric tasks but excels on ICU notes.
  • PubMedBERT (a 30 B‑parameter variant) can reach higher F1 (>90 %) but requires substantially more compute.
  • BioBERT‑base‑cased‑v1.1 offers a sweet spot of strong performance with a modest 110 M‑parameter footprint.
``` ```html

Hardware Requirements

For inference, the 110 M‑parameter BioBERT‑base‑cased‑v1.1 model comfortably fits within a single modern GPU. A 12 GB VRAM card (e.g., NVIDIA RTX 3060 or Tesla T4) can run batch sizes of 16–32 sequences at 128‑token length without memory overflow. Larger batch sizes or longer sequences (up to 512 tokens) benefit from 16 GB+ GPUs such as the RTX 3080, A100 40 GB, or V100.

Recommended GPU specifications

  • CUDA compute capability ≥ 7.5.
  • GPU memory: 12 GB minimum; 16 GB+ for high‑throughput pipelines.
  • Support for mixed‑precision (FP16) to halve VRAM usage and double throughput.

CPU and storage considerations

  • CPU: 8‑core modern processor (e.g., Intel i7‑12700K or AMD Ryzen 7 5800X) for tokenization and data loading.
  • RAM: 16 GB minimum; 32 GB recommended for large batch preprocessing.
  • Disk: The model checkpoint (~420 MB) plus tokenizer files (~30 MB). SSD storage ensures sub‑second load times.

Performance characteristics

  • Latency: ~15 ms per sentence (128 tokens) on a RTX 3060 with FP16.
  • Throughput: ~300–400 sentences per second on a single A100.
  • Scalable to multi‑GPU inference using Hugging Face accelerate or TorchServe.
``` ```html

Use Cases

BioBERT‑base‑cased‑v1.1 shines in any scenario where nuanced understanding of biomedical language is required. Its cased tokenizer preserves the exact spelling of entities, making it ideal for tasks that depend on case‑sensitive identifiers.

Primary applications

  • Named Entity Recognition (NER) – extracting genes, proteins, diseases, chemicals from research articles.
  • Relation Extraction – detecting interactions such as drug‑target or disease‑gene links.
  • Document Classification – categorizing clinical notes, triaging literature, or flagging adverse‑event reports.
  • Question Answering (QA) – powering biomedical chatbots that retrieve precise answers from PubMed abstracts.

Real‑world examples

  • A pharmaceutical company uses BioBERT to mine patents for novel compound‑target relationships.
  • Hospital informatics teams employ the model to auto‑code ICD‑10 diagnoses from discharge summaries.
  • Academic researchers apply it to curate disease‑gene association databases at scale.

Industry domains

  • Healthcare & Clinical Informatics
  • Life Sciences & Drug Discovery
  • Biomedical Publishing & Literature Mining
  • Regulatory Compliance & Pharmacovigilance

Integration possibilities

  • Deploy via Hugging Face Inference API for serverless scaling.
  • Wrap in a Flask or FastAPI micro‑service for on‑premise pipelines.
  • Combine with spaCy or scispaCy for end‑to‑end NLP workflows.
``` ```html

Training Details

While the README for this specific checkpoint is empty, the training pipeline mirrors the original BioBERT methodology. The model was initialized from the BERT‑base‑cased weights and further pre‑trained on a massive biomedical corpus consisting of 4.5 B tokens drawn from PubMed abstracts (≈14 M abstracts) and PMC full‑text articles (≈3 M papers). The training objective combined Masked Language Modeling (MLM) (15 % token masking) and Next Sentence Prediction (NSP).

Datasets

  • PubMed abstracts (updated to 2021).
  • PMC Open Access full‑text articles.
  • Optional inclusion of the PubMed Central corpus for richer context.

Compute resources

  • Training conducted on 8 × NVIDIA V100 32 GB GPUs.
  • Total wall‑time ≈ 7 days (≈ 150 k GPU‑hours).
  • Batch size of 256 sequences (128 tokens each) with mixed‑precision (FP16) to accelerate training.

Fine‑tuning capabilities

  • Compatible with Hugging Face Trainer API for downstream tasks.
  • Supports token‑level classification heads (NER) and sequence‑level heads (classification, QA).
  • Typical fine‑tuning requires 2–4 GB GPU memory for batch sizes of 16–32.
``` ```html

Licensing Information

The model card lists the license as unknown. In practice, an “unknown” designation means the repository does not explicitly attach a standard open‑source license (e.g., Apache‑2.0, MIT, or CC‑BY). Consequently, users should treat the model as all‑rights‑reserved until they obtain clarification from the authors (dmis‑lab) or the hosting platform.

Commercial use considerations

  • Without a clear permissive license, commercial deployment carries legal risk.
  • Enterprises are advised to contact the model authors or Hugging Face support to request a formal license grant.
  • If a license is later confirmed as non‑restrictive (e.g., CC‑BY‑4.0), commercial use would be permitted with proper attribution.

Typical restrictions and requirements

  • Do not redistribute the model weights without explicit permission.
  • When using the model in publications or products, cite the original BioBERT paper and the Hugging Face model card.
  • Check for any downstream dataset licenses (e.g., PubMed, PMC) that may impose additional constraints.

Attribution

Even under an unknown license, best practice is to attribute the source:

``` ```html

Pre-loaded AI models. Ready to run.

Skip the downloads. Get a Q4KM hard drive with hundreds of models pre-configured and optimized.

Shop Q4KM Hard Drives