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.6.1.tar.gz (37.9 MB view details)

Uploaded Source

Built Distribution

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

aceflow-1.6.1-cp312-cp312-win_amd64.whl (174.5 kB view details)

Uploaded CPython 3.12Windows x86-64

File details

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

File metadata

  • Download URL: aceflow-1.6.1.tar.gz
  • Upload date:
  • Size: 37.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for aceflow-1.6.1.tar.gz
Algorithm Hash digest
SHA256 cb17c1408379aa5c3d9f636992c2ef2fc610f17d28778e2f10d2b21116b9a1f6
MD5 26880ad25a1448f27dd9777b63b00c19
BLAKE2b-256 a37c865384c5750e9d43314734b37ff71565b42a9fa06c2cdcbaee5f8769ff91

See more details on using hashes here.

File details

Details for the file aceflow-1.6.1-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: aceflow-1.6.1-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 174.5 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for aceflow-1.6.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 8cfd335d81e942cb83d49643420cc2808f0d40f29820c4ef60aa498c6566c61e
MD5 b40d4a647c946891e3f864ded6aa5f3d
BLAKE2b-256 d04000f4b9cd7ef1cfe3513f4bd15eaf6fa37478d53284edb02344cb3b202104

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