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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95303ddf800d1e091be2d04d10d0bbb36e6911b7ac572a5a199c9992c36b916f |
|
MD5 | 3030f0e2d4c434e1a971f13a113f0d17 |
|
BLAKE2b-256 | 967577063e1829d5889923b830ac637383503eca5eca12858d97b9fafc1bcf47 |
Close
Hashes for Transformer_Text_AutoEncoder-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93e15ad2c0166bc2bade1d2d524666a90400ab61b779b36de034efad5c637005 |
|
MD5 | 0b55e1d4a5b5e21da912b04ed01e8b4a |
|
BLAKE2b-256 | 3ac2866bc5c028a5b6dabf534d7bee20208bf6d0c7b14e95b13423e64263644f |