Skip to main content

A Python library for building and training Seq2Seq models

Project description

AceFlow - Seq2Seq Model Library

AceFlow Logo Python PyTorch License

A powerful Python library for building and training Sequence-to-Sequence models with attention mechanisms.

🚀 Features

  • Multiple RNN Types: LSTM, GRU, RNN, and bidirectional variants
  • Attention Mechanisms: Bahdanau and Luong-style attention
  • Custom Model Format: Save/load models in .ace format
  • Advanced Tokenization: Flexible preprocessing and vocabulary management
  • Production Ready: Comprehensive training utilities and inference tools

📖 Documentation

🎯 Quick Example

from aceflow import Seq2SeqModel
from aceflow.utils import Tokenizer

# Initialize model
model = Seq2SeqModel(
    src_vocab_size=1000,
    tgt_vocab_size=1000,
    hidden_size=256,
    rnn_type='lstm',
    use_attention=True
)

# Train and save
model.save("model.ace")

# Load model
loaded_model = Seq2SeqModel.load("model.ace")

📦 Installation

For detailed installation instructions, see Installation Guide.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.


Made with ❤️ by Maaz Waheed
```

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

aceflow-1.7.0.tar.gz (26.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aceflow-1.7.0-py3-none-any.whl (29.7 kB view details)

Uploaded Python 3

File details

Details for the file aceflow-1.7.0.tar.gz.

File metadata

  • Download URL: aceflow-1.7.0.tar.gz
  • Upload date:
  • Size: 26.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for aceflow-1.7.0.tar.gz
Algorithm Hash digest
SHA256 37ae36fb40260db174422e595b6ba372adf4fe14c2e963ceb4d7e565a0bb4794
MD5 b89d650a478987c08ad8453896f0bf4d
BLAKE2b-256 bbc1719dd5ba25f04e32f2c91fd82d279ad9eecdbb4b53f5d8ffb73f33aa74a5

See more details on using hashes here.

File details

Details for the file aceflow-1.7.0-py3-none-any.whl.

File metadata

  • Download URL: aceflow-1.7.0-py3-none-any.whl
  • Upload date:
  • Size: 29.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for aceflow-1.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cbdf4c99ac9ab84034ff3f301ae2fea4b551c6ffb34a0b0e675aa7f11c824afd
MD5 bb18a203f3f378351bc71c308c56d92c
BLAKE2b-256 f11943941774d42980732f56355d74447190337e5e87891a758d3f3be2184643

See more details on using hashes here.

Supported by

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