https://github.com/alvalens/transai
this is simple translation website using tensorflow transformer model
https://github.com/alvalens/transai
flask notebook python tensorflow transformer translation website
Last synced: 3 months ago
JSON representation
this is simple translation website using tensorflow transformer model
- Host: GitHub
- URL: https://github.com/alvalens/transai
- Owner: Alvalens
- License: mit
- Created: 2024-05-10T01:10:21.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-23T06:15:53.000Z (about 2 years ago)
- Last Synced: 2024-05-23T07:25:39.222Z (about 2 years ago)
- Topics: flask, notebook, python, tensorflow, transformer, translation, website
- Language: Jupyter Notebook
- Homepage:
- Size: 3.04 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TransAI

Welcome to TransAI, a simple yet powerful translation website that leverages Python, Flask, and TensorFlow to translate text from Indonesian to English using a Transformer algorithm. The model is provided as a Jupyter Notebook which you can experiment and train the model yourself.
   
## Features
* **Real-time Translation** : Instantly translate text from Indonesian to English.
* **Transformer Algorithm** : Utilizes a state-of-the-art Transformer model for high-quality translations.
* **Web Interface** : User-friendly web interface built with Flask.
* **Jupyter Notebook** : Model training and evaluation provided in a Jupyter Notebook for transparency and customization.
## Installation
Ensure you have Python version 3.10 and pip installed (windows). If not, you can install Python from [python.org](https://www.python.org/).
1. Clone the Repository
```powershell
git clone "https://github.com/Alvalens/transAI.git"
```
2. Navigate to project directory
```powershell
cd TransAI
```
3. Create python virtual envirotment and activate it (optional)
```powershell
python -m venv venv
.venv\Scripts\activate
```
4. Install Dependency, also ensure you run notebook first cell at `notebook/transformer_id-en.ipynb`
```
pip install -r requirements.txt
```
5. Start the Flask development server, also before running the server train the model first
```powershell
py app.py
```
## Contributing
Contributions are welcome! If you find any issues or have suggestions, feel free to open an issue or submit a pull request.
## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
## Special Thanks
**@Alvalens @Burhanudin26 @Adin.dXa**