Transformer Text AutoEncoder: An autoencoder is a type of artificial neural network used to learn efficient encodings of unlabeled data, the same is employed for textual data employing pre-trained models from the hugging-face library.
Project description
Transformer-Text-AutoEncoder
Transformer Text AutoEncoder: An autoencoder is a type of artificial neural network used to learn efficient encodings of unlabeled data, the same is employed for textual data employing pre-trained models from the hugging-face library.
Installation:
pip install Transformer-Text-AutoEncoder
Execution:
ttae = TTAE('./data/FinancialNews.txt')
ttae.train(10, batch_size=1)
print(ttae.predict("Hello world"))
returns the predicted sentence
as well as the embeddings
.
Cite Work:
@inproceedings{ttae,
title = {Transformer-Text-AutoEncoder},
author = {Aman Priyanshu},
year = {2022},
publisher = {{GitHub}},
url = {https://github.com/AmanPriyanshu/Transformer-Text-AutoEncoder/}
}
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
Built Distribution
Close
Hashes for Transformer_Text_AutoEncoder-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8bb7fdddfbc1524f272a65c33c7938552b783662a35a4a85b4300c2dd1e83bf |
|
MD5 | 7dac00f249c107eba3a1db0b7421998c |
|
BLAKE2b-256 | a8306c2f60070d0c8bbf0a06e006c2a6f81e4557998ee4fe8394ac20d19e2b80 |
Close
Hashes for Transformer_Text_AutoEncoder-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c59df3267a38b47f3db1e7f982a51b02ce2a2924b0a45ddb4b7617327952237 |
|
MD5 | 4517fcf114d1fe9cc4730d35a7170096 |
|
BLAKE2b-256 | 074a846b5a104eb9ed9a6c81fa994fc3bdd911faf841ef055f8b1f0f456b0591 |