Skip to content

Instantly share code, notes, and snippets.

😃
Excelsior

游刃 Elfsong

😃
Excelsior
View GitHub Profile
@namakemono
namakemono / esim.py
Last active Feb 19, 2020
Implementation of ESIM(Enhanced LSTM for Natural Language Inference)
View esim.py
"""
Implementation of ESIM(Enhanced LSTM for Natural Language Inference)
https://arxiv.org/abs/1609.06038
"""
import numpy as np
from keras.layers import *
from keras.activations import softmax
from keras.models import Model
def StaticEmbedding(embedding_matrix):
You can’t perform that action at this time.