Skip to content

Commit

Permalink
Merge pull request #1 from shredder67/shredder67
Browse files Browse the repository at this point in the history
Edited some typos, formulas, readme and some code cells
  • Loading branch information
Erostrate9 authored Jan 8, 2023
2 parents b8a3417 + 0c44083 commit 31c0af7
Show file tree
Hide file tree
Showing 47 changed files with 456 additions and 167,541 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
**/data
**/__pycache__
**/*.so
**/build
778 changes: 427 additions & 351 deletions Final Project.ipynb

Large diffs are not rendered by default.

19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,21 @@
# Final Project - Transformer implementation

Public repository and stub/testing code for Final Project of 10-714.

To sum up what we learned during *10-714: Deep Learning Systems*, we've implemented the Transformer architecture and its corresponding modules with our self-made *needle* library for deep learning.

The overall goal of our *Final Project* is to implement the trainable Transformer architecture [1], which can be divided into some ingredients — Multi-Head Attention, Self-Attention and Positional Encoding, and The Transformer Architecture (Positionwise Feed-Forward Networks, Residual Connection and Layer Normalization, Transformer Encoder Block & Encoder, Transformer Decoder Block & Decoder, and Encoder-Decoder Seq2Seq model.)

## Project structure

- `Final project.ipynb` - notebook with report of project results
- `python/needle` - all source code for needle library and project classes
- `src` - backend c++ sources
- `tests` - tests over implemented functionalities

To explore project details, go to `Final project.ipynb`. To run it, you can follow **Setup** cell blocks to run locally or in google colab. Running locally might need some changes in makefile depending on your set up.

## Authours
* Yuxuan Sun: <[email protected]>
* Sergey: <[email protected]>
* Haitao Gao: <[email protected]>
Binary file removed apps/__pycache__/lstm.cpython-39-pytest-7.1.2.pyc
Binary file not shown.
Binary file removed apps/__pycache__/models.cpython-38.pyc
Binary file not shown.
Binary file removed apps/__pycache__/models.cpython-39.pyc
Binary file not shown.
Binary file removed apps/__pycache__/rnn.cpython-39-pytest-7.1.2.pyc
Binary file not shown.
Binary file removed apps/__pycache__/simple_training.cpython-38.pyc
Binary file not shown.
Binary file removed apps/__pycache__/simple_training.cpython-39.pyc
Binary file not shown.
Binary file removed data/fra-eng.zip
Binary file not shown.
60 changes: 0 additions & 60 deletions data/fra-eng/_about.txt

This file was deleted.

Loading

0 comments on commit 31c0af7

Please sign in to comment.