├── .gitignore ├── README.md ├── requirements.txt └── simple_rnns ├── __init__.py ├── attention ├── __init__.py ├── examples │ ├── __init__.py │ ├── explore_3d_mul.py │ ├── explore_konlpy.py │ └── explore_repeat.py ├── solution.py └── template.py ├── bert ├── __init__.py ├── answer.py ├── answer_pl.py └── examples │ ├── __init__.py │ └── explore_bce.py ├── lstm ├── notes.md ├── __init__.py ├── class_1.py ├── class_2.py ├── class_3.py ├── class_5.py ├── class_6.py ├── examples │ └── explore_torch_cat.py ├── img.png ├── img_1.png └── solution.py ├── rnn ├── __init__.py ├── class_1.py ├── class_2.py ├── class_3.py ├── class_4.py ├── class_5.py ├── class_6.py ├── examples │ ├── __init__.py │ ├── explore_linear.py │ ├── explore_pad_seq.py │ ├── explore_tensor.py │ ├── explore_tokenizer.py │ └── explore_zeroes.py ├── img.png └── note.md └── transformer ├── __init__.py ├── answer.py ├── class_1_6.py ├── class_2.py ├── class_3.py ├── class_4.py ├── class_5.py └── examples ├── __init__.py ├── explore_arange.py ├── explore_assert.py ├── explore_bmm.py ├── explore_callable.py ├── explore_einsum.py ├── explore_expand.py ├── explore_list_star.py ├── explore_reshape.py ├── explore_softmax.py └── star_example.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # simple-rnns -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/requirements.txt -------------------------------------------------------------------------------- /simple_rnns/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /simple_rnns/attention/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /simple_rnns/attention/examples/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /simple_rnns/attention/examples/explore_3d_mul.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/attention/examples/explore_3d_mul.py -------------------------------------------------------------------------------- /simple_rnns/attention/examples/explore_konlpy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/attention/examples/explore_konlpy.py -------------------------------------------------------------------------------- /simple_rnns/attention/examples/explore_repeat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/attention/examples/explore_repeat.py -------------------------------------------------------------------------------- /simple_rnns/attention/solution.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/attention/solution.py -------------------------------------------------------------------------------- /simple_rnns/attention/template.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/attention/template.py -------------------------------------------------------------------------------- /simple_rnns/bert/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /simple_rnns/bert/answer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/bert/answer.py -------------------------------------------------------------------------------- /simple_rnns/bert/answer_pl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/bert/answer_pl.py -------------------------------------------------------------------------------- /simple_rnns/bert/examples/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /simple_rnns/bert/examples/explore_bce.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/bert/examples/explore_bce.py -------------------------------------------------------------------------------- /simple_rnns/lstm/ notes.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/lstm/ notes.md -------------------------------------------------------------------------------- /simple_rnns/lstm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /simple_rnns/lstm/class_1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/lstm/class_1.py -------------------------------------------------------------------------------- /simple_rnns/lstm/class_2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/lstm/class_2.py -------------------------------------------------------------------------------- /simple_rnns/lstm/class_3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/lstm/class_3.py -------------------------------------------------------------------------------- /simple_rnns/lstm/class_5.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/lstm/class_5.py -------------------------------------------------------------------------------- /simple_rnns/lstm/class_6.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/lstm/class_6.py -------------------------------------------------------------------------------- /simple_rnns/lstm/examples/explore_torch_cat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/lstm/examples/explore_torch_cat.py -------------------------------------------------------------------------------- /simple_rnns/lstm/img.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/lstm/img.png -------------------------------------------------------------------------------- /simple_rnns/lstm/img_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/lstm/img_1.png -------------------------------------------------------------------------------- /simple_rnns/lstm/solution.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/lstm/solution.py -------------------------------------------------------------------------------- /simple_rnns/rnn/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /simple_rnns/rnn/class_1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/rnn/class_1.py -------------------------------------------------------------------------------- /simple_rnns/rnn/class_2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/rnn/class_2.py -------------------------------------------------------------------------------- /simple_rnns/rnn/class_3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/rnn/class_3.py -------------------------------------------------------------------------------- /simple_rnns/rnn/class_4.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/rnn/class_4.py -------------------------------------------------------------------------------- /simple_rnns/rnn/class_5.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/rnn/class_5.py -------------------------------------------------------------------------------- /simple_rnns/rnn/class_6.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/rnn/class_6.py -------------------------------------------------------------------------------- /simple_rnns/rnn/examples/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /simple_rnns/rnn/examples/explore_linear.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/rnn/examples/explore_linear.py -------------------------------------------------------------------------------- /simple_rnns/rnn/examples/explore_pad_seq.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/rnn/examples/explore_pad_seq.py -------------------------------------------------------------------------------- /simple_rnns/rnn/examples/explore_tensor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/rnn/examples/explore_tensor.py -------------------------------------------------------------------------------- /simple_rnns/rnn/examples/explore_tokenizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/rnn/examples/explore_tokenizer.py -------------------------------------------------------------------------------- /simple_rnns/rnn/examples/explore_zeroes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/rnn/examples/explore_zeroes.py -------------------------------------------------------------------------------- /simple_rnns/rnn/img.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/rnn/img.png -------------------------------------------------------------------------------- /simple_rnns/rnn/note.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/rnn/note.md -------------------------------------------------------------------------------- /simple_rnns/transformer/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /simple_rnns/transformer/answer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/transformer/answer.py -------------------------------------------------------------------------------- /simple_rnns/transformer/class_1_6.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/transformer/class_1_6.py -------------------------------------------------------------------------------- /simple_rnns/transformer/class_2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/transformer/class_2.py -------------------------------------------------------------------------------- /simple_rnns/transformer/class_3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/transformer/class_3.py -------------------------------------------------------------------------------- /simple_rnns/transformer/class_4.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/transformer/class_4.py -------------------------------------------------------------------------------- /simple_rnns/transformer/class_5.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/transformer/class_5.py -------------------------------------------------------------------------------- /simple_rnns/transformer/examples/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /simple_rnns/transformer/examples/explore_arange.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/transformer/examples/explore_arange.py -------------------------------------------------------------------------------- /simple_rnns/transformer/examples/explore_assert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/transformer/examples/explore_assert.py -------------------------------------------------------------------------------- /simple_rnns/transformer/examples/explore_bmm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/transformer/examples/explore_bmm.py -------------------------------------------------------------------------------- /simple_rnns/transformer/examples/explore_callable.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/transformer/examples/explore_callable.py -------------------------------------------------------------------------------- /simple_rnns/transformer/examples/explore_einsum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/transformer/examples/explore_einsum.py -------------------------------------------------------------------------------- /simple_rnns/transformer/examples/explore_expand.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/transformer/examples/explore_expand.py -------------------------------------------------------------------------------- /simple_rnns/transformer/examples/explore_list_star.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/transformer/examples/explore_list_star.py -------------------------------------------------------------------------------- /simple_rnns/transformer/examples/explore_reshape.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/transformer/examples/explore_reshape.py -------------------------------------------------------------------------------- /simple_rnns/transformer/examples/explore_softmax.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/transformer/examples/explore_softmax.py -------------------------------------------------------------------------------- /simple_rnns/transformer/examples/star_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eubinean/simple-rnns/HEAD/simple_rnns/transformer/examples/star_example.py --------------------------------------------------------------------------------