FT Transformer applied to sequential tabular data
Project description
Sequential FT-Transformer
This is an adaptation of the FT-Transformer model architecture for sequential data. The model has been reworked from Antons Ruberts Tensorflow FT-Transformer implementation. In addition to changing the model to support sequential data, the model has undergone numerous changes to enable support for Keras 3. Some design changes have also been made to allow for more flexibility. For example the old implementation required passing numpy arrays through the model to create the bins for the PLE numerical embedding layer. This has been moved out of the model, since it creates a bottlneck when performing distributed training using Horovod for example.
Installation
$ pip install sequential_ft_transformer
Usage
The notebooks folder shows multiple examples of the FT-Transformer being used in different situations.
Contributing
Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.
License
sequential_ft_transformer
was created by Christian Orr. It is licensed under the terms of the MIT license.
References
- [FT-Transformer] - Revisiting Deep Learning Models for Tabular Data
- [Numerical Embeddings] - OnEmbeddings for Numerical Features in Tabular Deep Learning
- [Antons Ruberts Tensorflow FT-Transformer] - TabTransformerTF
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file sequential_ft_transformer-0.4.0.tar.gz
.
File metadata
- Download URL: sequential_ft_transformer-0.4.0.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93dc8aae5527c54f096d31b68f3ff7a295d4e3d62080cd93a8e8e847921628f2 |
|
MD5 | eb725043d0eb772b2b565e89238e1216 |
|
BLAKE2b-256 | d9115ca97a10d60164ed60be0d332929b09742614b1f50bb7d6ab5cc2326beaa |
File details
Details for the file sequential_ft_transformer-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: sequential_ft_transformer-0.4.0-py3-none-any.whl
- Upload date:
- Size: 11.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0d409104cea089c2918c40df938898d93cc0adce7cdb7875687f6f410a77c3c |
|
MD5 | 44110bba6d731a62269c8ecfc1f3ed58 |
|
BLAKE2b-256 | ac1b9c2f22a346b5c0e0e5374572e4a22f3fd2e227d0c096bab5a3ef7bd856d5 |