Skip to main content

Package to use a two-stage transformer for long-document classification

Project description

A package that includes an implementation of a two-transformer setup to classify long documents. The first stage is a sentence-transformer which embeds chunks of the text. The second stage is a generic transformer used to classify the documents based on a sequence of embeddings from the first model. Training scripts included.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

strideformer-0.2.0.tar.gz (13.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page