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 details)
File details
Details for the file strideformer-0.2.0.tar.gz.
File metadata
- Download URL: strideformer-0.2.0.tar.gz
- Upload date:
- Size: 13.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c2a752924f06024aba37350b0dbc3f17c4d6107b8b377629448d7788258a79a
|
|
| MD5 |
c65a1b0cdbb8b544e0256804ce6990cb
|
|
| BLAKE2b-256 |
7ac0328104f9e3655953f4aca83747e32fe8be54bb8ce043bb21984c8b5c1582
|