https://github.com/saranshmanu/neural-machine-translation
In this project used a neural network to translate from French to English by the simple but powerful idea of the sequence to sequence network
https://github.com/saranshmanu/neural-machine-translation
Last synced: about 2 months ago
JSON representation
In this project used a neural network to translate from French to English by the simple but powerful idea of the sequence to sequence network
- Host: GitHub
- URL: https://github.com/saranshmanu/neural-machine-translation
- Owner: saranshmanu
- Created: 2018-08-11T10:42:07.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-14T21:23:39.000Z (about 6 years ago)
- Last Synced: 2025-02-01T07:19:01.098Z (4 months ago)
- Language: Jupyter Notebook
- Homepage:
- Size: 13.4 MB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Neural-Machine-Translation
In this project used a neural network to translate from French to English.by the simple but powerful idea of the sequence to sequence network, in which two recurrent neural networks work together to transform one sequence to another. An encoder network condenses an input sequence into a vector, and a decoder network unfolds that vector into a new sequence.To improve upon this model we’ll use an attention mechanism, which lets the decoder learn to focus over a specific range of the input sequence.
### Encoder Decoder Architecture
#### Encoder Network

#### Decoder Network with attention
## Output
[KEY: > input, = target, < output]
> il est en train de peindre un tableau .
= he is painting a picture .
< he is painting a picture .> pourquoi ne pas essayer ce vin delicieux ?
= why not try that delicious wine ?
< why not try that delicious wine ?> elle n est pas poete mais romanciere .
= she is not a poet but a novelist .
< she not not a poet but a novelist .> vous etes trop maigre .
= you re too skinny .
< you re all alone .### Resources used
https://pytorch.org/tutorials/intermediate/seq2seq_translation_tutorial.html