AI SeedbankHelp preserve open and free AI for humanity's future

← All models

neuralmind_bert-large-portuguese-cased

neuralmind · View on Hugging Face ↗

Get this model

Download TorrentMagnet Link

Seeders: · Leechers:

Model card

The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.


language: pt license: mit tags:

  • bert
  • pytorch datasets:
  • brWaC

BERTimbau Large (aka "bert-large-portuguese-cased")

Introduction

BERTimbau Large is a pretrained BERT model for Brazilian Portuguese that achieves state-of-the-art performances on three downstream NLP tasks: Named Entity Recognition, Sentence Textual Similarity and Recognizing Textual Entailment. It is available in two sizes: Base and Large.

For further information or requests, please go to BERTimbau repository.

Available models

Model Arch. #Layers #Params
neuralmind/bert-base-portuguese-cased BERT-Base 12 110M
neuralmind/bert-large-portuguese-cased BERT-Large 24 335M

Usage

from transformers import AutoTokenizer  # Or BertTokenizer
from transformers import AutoModelForPreTraining  # Or BertForPreTraining for loading pretraining heads
from transformers import AutoModel  # or BertModel, for BERT without pretraining heads

model = AutoModelForPreTraining.from_pretrained('neuralmind/bert-large-portuguese-cased')
tokenizer = AutoTokenizer.from_pretrained('neuralmind/bert-large-portuguese-cased', do_lower_case=False)

Masked language modeling prediction example

from transformers import pipeline

pipe = pipeline('fill-mask', model=model, tokenizer=tokenizer)

pipe('Tinha uma [MASK] no meio do caminho.')
# [{'score': 0.5054386258125305,
#   'sequence': '[CLS] Tinha uma pedra no meio do caminho. [SEP]',
#   'token': 5028,
#   'token_str': 'pedra'},
#  {'score': 0.05616172030568123,
#   'sequence': '[CLS] Tinha uma curva no meio do caminho. [SEP]',
#   'token': 9562,
#   'token_str': 'curva'},
#  {'score': 0.02348282001912594,
#   'sequence': '[CLS] Tinha uma parada no meio do caminho. [SEP]',
#   'token': 6655,
#   'token_str': 'parada'},
#  {'score': 0.01795753836631775,
#   'sequence': '[CLS] Tinha uma mulher no meio do caminho. [SEP]',
#   'token': 2606,
#   'token_str': 'mulher'},
#  {'score': 0.015246033668518066,
#   'sequence': '[CLS] Tinha uma luz no meio do caminho. [SEP]',
#   'token': 3377,
#   'token_str': 'luz'}]

For BERT embeddings


import torch

model = AutoModel.from_pretrained('neuralmind/bert-large-portuguese-cased')
input_ids = tokenizer.encode('Tinha uma pedra no meio do caminho.', return_tensors='pt')

with torch.no_grad():
    outs = model(input_ids)
    encoded = outs[0][0, 1:-1]  # Ignore [CLS] and [SEP] special tokens

# encoded.shape: (8, 1024)
# tensor([[ 1.1872,  0.5606, -0.2264,  ...,  0.0117, -0.1618, -0.2286],
#         [ 1.3562,  0.1026,  0.1732,  ..., -0.3855, -0.0832, -0.1052],
#         [ 0.2988,  0.2528,  0.4431,  ...,  0.2684, -0.5584,  0.6524],
#         ...,
#         [ 0.3405, -0.0140, -0.0748,  ...,  0.6649, -0.8983,  0.5802],
#         [ 0.1011,  0.8782,  0.1545,  ..., -0.1768, -0.8880, -0.1095],
#         [ 0.7912,  0.9637, -0.3859,  ...,  0.2050, -0.1350,  0.0432]])

Citation

If you use our work, please cite:

@inproceedings{souza2020bertimbau,
  author    = {F{\'a}bio Souza and
               Rodrigo Nogueira and
               Roberto Lotufo},
  title     = {{BERT}imbau: pretrained {BERT} models for {B}razilian {P}ortuguese},
  booktitle = {9th Brazilian Conference on Intelligent Systems, {BRACIS}, Rio Grande do Sul, Brazil, October 20-23 (to appear)},
  year      = {2020}
}

Magnet link

Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:

magnet:?xt=urn:btih:46a5d5651c156cf6d22813c1820e8ff1a67f77ac&dn=neuralmind_bert-large-portuguese-cased

Open magnet in torrent client · infohash 46a5d5651c156cf6d22813c1820e8ff1a67f77ac

Files & hashes

PathSizesha1sha256
README.md3.5 KB (3,623 B)3c9a7fa5397fda5a1adcf82a5e4046bcd54722c74bd7c7d876ff7663a01163662d7750b564a96244b3b874ee4c651de6c525b461
added_tokens.json2 B (2 B)9e26dfeeb6e641a33dae4961196235bdb965b21b44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a
config.json648 B (648 B)77445f220f6a346e4ff967adfcaae0aa2eea18dd670aecb8e7db8f75e68a880b157bfad0118c017a1f2592bab7fbe1a4ce379328
pytorch_model.bin1.25 GB (1,342,014,951 B)a2cc527983fb8d85e413aa0d10c89887333d8e8d48f211712fdad2263e35c368b0ec79ad635c2df0acb275152e0f7cbd165bb7ca
special_tokens_map.json112 B (112 B)e7b0375001f109a6b8873d756ad4f7bbb15fbaa5303df45a03609e4ead04bc3dc1536d0ab19b5358db685b6f3da123d05ec200e3
tokenizer_config.json155 B (155 B)638cecd021bb77f3b04222e4422f93e20d2845892020b6957cafcfae394cdbe287fefe26c1b180144851f30d0923a5e468d41482
vocab.txt204.6 KB (209,528 B)41de7d86bc4c82e90bca72e9b0ee9842bc3decb169c28584c67a0e5018f85ca734aa272cc38e26b5dd0d33fffa28059299f21707

Cite this release

Canonical URL
https://aiseedbank.org/models/neuralmind_bert-large-portuguese-cased/
Slug
neuralmind_bert-large-portuguese-cased
Infohash
46a5d5651c156cf6d22813c1820e8ff1a67f77ac
License
mit
Signing key fingerprint
85a3b32c3712427b

Every file carries a locally computed sha256 — verify a download against the signed sums: neuralmind_bert-large-portuguese-cased.SHA256SUMS (+ minisign signature).

Provenance

Upstream repositoryneuralmind/bert-large-portuguese-cased
Revision (pinned)aa302f6ea73b759f7df9cad58bd272127b67ec28
Fetched at2026-09-04T03:18:17Z
License at fetchmit
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-09-04T03:18:32Z

mit1.25 GB (1,342,229,019 bytes)transformerspytorchjaxbertfill-maskendpoints_compatible1 language (pt)