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.6.tar.gz (40.6 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.6.6-cp312-cp312-win_amd64.whl (178.9 kB view details)

Uploaded CPython 3.12Windows x86-64

File details

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

File metadata

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

File hashes

Hashes for aceflow-1.6.6.tar.gz
Algorithm Hash digest
SHA256 0fef70b8aa93588bc36819cbb72848fd377986287f677cff73dd972c15ff2f4c
MD5 37a0313d14e61bac9c86184a52c69a4d
BLAKE2b-256 d8b0fd61a14a4eae0adc0c587c8cb6ce5eb31fd9fef8bc7f0c7922ad4afee683

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for aceflow-1.6.6-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 4c1410e8aa575eab02aeb45f931cf8829eb7eba627a1cdbe7f1faa88bab9b32c
MD5 3ff0e6bfcaa4761e4670c057493a65cf
BLAKE2b-256 c0abcf3f739662c5277dfc1bf96f0b8d4044483a1c30ba4c1a1fae26f6d08679

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