Skip to content

Instantly share code, notes, and snippets.

View monk1337's full-sized avatar
🌱
It's a long hard fight / But I'll always live for tomorrow.

Monk (looking for PhD Fall’24) monk1337

🌱
It's a long hard fight / But I'll always live for tomorrow.
View GitHub Profile
@monk1337
monk1337 / net.py
Created May 8, 2018 16:14 — forked from suriyadeepan/net.py
Sentiment Classification on Movie Reviews
import tensorflow as tf
import numpy as np
DropoutWrapper = tf.nn.rnn_cell.DropoutWrapper
class SentimentNetwork(object):
def __init__(self, hdim=25, wdim=25, pdim=25, vocab_size=2000, pos_vocab_size=30,
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.