Skip to content

seminar 6 for 595 #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
137,860 changes: 137,860 additions & 0 deletions 2018/seminars/6_sem_nlp/595/data/small_vocab_en

Large diffs are not rendered by default.

137,860 changes: 137,860 additions & 0 deletions 2018/seminars/6_sem_nlp/595/data/small_vocab_fr

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions 2018/seminars/6_sem_nlp/595/helper.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import os


def load_data(path):
"""
Load dataset
"""
input_file = os.path.join(path)
with open(input_file, "r") as f:
data = f.read()

return data.split('\n')
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 2018/seminars/6_sem_nlp/595/images/embedding.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 2018/seminars/6_sem_nlp/595/images/rnn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading