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
"""Trains a LSTM with Word2Vec on the SNLI dataset. | |
https://nlp.stanford.edu/projects/snli/ | |
Get to 80.12% test accuracy after 18 epochs. | |
""" | |
import numpy as np | |
import pandas as pd | |
from gensim.models import KeyedVectors |