Skip to main content

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
```

Metadata

Release files for aceflow 1.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aceflow 1.7.0
File Size Uploaded Provenance Actions
aceflow-1.7.0.tar.gz 26.9 kB Without provenance Details for aceflow-1.7.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aceflow 1.7.0
File Interpreter ABI Platform Actions
aceflow-1.7.0-py3-none-any.whl Python 3 none any Details for aceflow-1.7.0-py3-none-any.whl

Total release size: 56.6 kB

Release files / aceflow-1.7.0.tar.gz

Download URL aceflow-1.7.0.tar.gz
Size 26.9 kB
Tags Source
SHA-256 checksum
How to use checksums
37ae36fb40260db174422e595b6ba372adf4fe14c2e963ceb4d7e565a0bb4794
BLAKE2b-256 checksum
How to use checksums
bbc1719dd5ba25f04e32f2c91fd82d279ad9eecdbb4b53f5d8ffb73f33aa74a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.11

Release files / aceflow-1.7.0-py3-none-any.whl

Download URL aceflow-1.7.0-py3-none-any.whl
Size 29.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cbdf4c99ac9ab84034ff3f301ae2fea4b551c6ffb34a0b0e675aa7f11c824afd
BLAKE2b-256 checksum
How to use checksums
f11943941774d42980732f56355d74447190337e5e87891a758d3f3be2184643
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.11

Security for aceflow 1.7.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page