mim-solutions/bert_for_longer_texts

BERT classification model for processing texts longer than 512 tokens. Text is first divided into smaller chunks and after feeding them to BERT, intermediate results are pooled. The implementation allows fine-tuning.

47
/ 100
Emerging

This tool helps data scientists and NLP practitioners classify or predict values from very long text documents, such as full articles, detailed reviews, or extensive reports. It takes your raw text and assigns it to categories (like sentiment or author) or predicts a numerical value (like a product rating). This is ideal for anyone working with text that exceeds typical length limits for common language models.

146 stars. No commits in the last 6 months.

Use this if you need to fine-tune a BERT or RoBERTa model for text classification or regression on documents longer than 512 words.

Not ideal if your texts are consistently short or if you prefer using models like BigBird or Longformer, which have different internal architectures.

natural-language-processing text-classification sentiment-analysis document-analysis regression
Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 21 / 25

How are scores calculated?

Stars

146

Forks

33

Language

Python

License

Last pushed

Jun 19, 2024

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/transformers/mim-solutions/bert_for_longer_texts"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.