Skip to main content

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

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

sequential_ft_transformer-0.4.0.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file sequential_ft_transformer-0.4.0.tar.gz.

File metadata

File hashes

Hashes for sequential_ft_transformer-0.4.0.tar.gz
Algorithm Hash digest
SHA256 93dc8aae5527c54f096d31b68f3ff7a295d4e3d62080cd93a8e8e847921628f2
MD5 eb725043d0eb772b2b565e89238e1216
BLAKE2b-256 d9115ca97a10d60164ed60be0d332929b09742614b1f50bb7d6ab5cc2326beaa

See more details on using hashes here.

File details

Details for the file sequential_ft_transformer-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sequential_ft_transformer-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f0d409104cea089c2918c40df938898d93cc0adce7cdb7875687f6f410a77c3c
MD5 44110bba6d731a62269c8ecfc1f3ed58
BLAKE2b-256 ac1b9c2f22a346b5c0e0e5374572e4a22f3fd2e227d0c096bab5a3ef7bd856d5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page