-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 5a8972b
Showing
4 changed files
with
177,506 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
## AI Translation | ||
|
||
This model will predict the English translation of short German sentence. | ||
|
||
``` | ||
INPUT: A German sentence | ||
es tut mir sehr leid' | ||
OUTPUT: English translation | ||
i m sorry about that | ||
``` | ||
|
||
### Tools Used | ||
|
||
- Python | ||
- PyTorch | ||
- Matplotlib | ||
- NumPy | ||
|
||
### Concepts covered | ||
|
||
- RNN (Recurrent Neural Network) | ||
- Sequences and Vectors | ||
- Encoding and Decoding | ||
|
||
### Details | ||
|
||
We started by exploring the different kinds of models that we can build using recurrent neural networks like vector-to-vector models, sequence-to-vector models, sequence-to-sequence, and vector-to-sequence models. We were most interested in was the sequence-to-sequence model for language translation. We noticed the basic components of a model, the encoder which generates a hidden state representation of the input sentence and the decoder that generates the sentence in the target language. We have seen the training process of this encoder-decoder model and how teacher forcing allows us to build models that converge faster. |
Oops, something went wrong.