Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tamaroning/translator
https://github.com/tamaroning/translator
Last synced: 19 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/tamaroning/translator
- Owner: tamaroning
- Created: 2023-11-30T03:25:19.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-11-30T03:25:24.000Z (about 1 year ago)
- Last Synced: 2024-04-18T02:13:01.257Z (9 months ago)
- Language: Python
- Size: 8.29 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Translator
Simple attention-based translator from French to Engish
Teaching data is retrieved from https://download.pytorch.org/tutorial/data.zip
## Prerequisites
- Python 3.x
- Pytorch
- Numpy
- Matplotlib## Run
```
python -i main.py
...
>> evaluateAndShowAttention("je suis un chat noir")
...
```