AI Tools.

Search

fill mask by dominguesm

legal-bert-base-cased-ptbr

legal-bert-base-cased-ptbr is a BERT-base model pre-trained on Brazilian Portuguese legal text — legislation, court decisions, and official government publications. It addresses the gap in Brazilian legal NLP where standard Portuguese BERT models (BERTimbau) lack the specialised legal vocabulary of the Brazilian judiciary. Downstream tasks require fine-tuning on labelled Brazilian legal datasets.

Summary text generated by an automated pipeline from the model card · Not individually reviewed or run by us · How this page is made

From the model card

Fields below are copied from the tags and counters on the HuggingFace repository dominguesm/legal-bert-base-cased-ptbr at our last fetch. They are set by the uploader, not verified by us; rows with no tag are omitted. How this page is made.

Publisher (HF namespace)
dominguesm
Pipeline tag
fill-mask
Library
Transformers
Framework tags
PyTorch
Weight formats
TensorBoard logs, safetensors
License tag
cc-by-4.0 — read the license file in the repo before relying on it
Language tags
Portuguese (pt)
Downloads (HF counter at last fetch)
353,779
Likes (HF counter at last fetch)
15
Model card
https://huggingface.co/dominguesm/legal-bert-base-cased-ptbr

Use cases

  • Named entity recognition in Brazilian court decisions
  • Document classification for Brazilian legal filing types
  • Extracting contract clauses from Brazilian legal documents
  • Building retrieval systems for Brazilian legislation and case law
  • Fine-tuning baseline for Brazilian legal question-answering research

Pros

  • Pre-trained exclusively on Brazilian legal corpora; domain vocabulary far better than generic BERT
  • Cased variant preserves important Brazilian legal acronyms and proper nouns
  • HuggingFace endpoints compatible with standard transformers pipeline

Cons

  • Pre-training only; downstream tasks require labelled Brazilian legal data for fine-tuning
  • Brazilian Portuguese only; not applicable to European Portuguese or other legal systems
  • 15 likes indicates limited community evaluation of downstream task performance
  • No license specified; verify before use in commercial Brazilian legal products

Tags

transformerspytorchtensorboardsafetensorsbertfill-masklegalptlicense:cc-by-4.0model-indexendpoints_compatibleregion:us