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.1.3.tar.gz
(14.5 kB
view hashes)
Built Distribution
Close
Hashes for strideformer-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59d8ada3e26a246a41c995594846592de3b75fa1f2f936fea49b66f7516d057b |
|
MD5 | 63ae1e1bb2687cffb931838c38c5f5f2 |
|
BLAKE2b-256 | 4f65fe43ca71c481a9ab5085d4f31c3a8e9ae333de6ed9c5c376a43bfc122f80 |