Skip to content

Instantly share code, notes, and snippets.

@chrishokamp
chrishokamp / hpt_rule_parse.ipynb
Created February 5, 2015 13:43
simple parsing of hpt rules into preauthoring autocomplete templates
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@chrishokamp
chrishokamp / wmt15_word_level_qe_evaluation.py
Created May 26, 2015 13:15
wmt15 word level quality estimation evaluation script
from __future__ import division, print_function
import codecs
from sklearn.metrics import f1_score
import numpy as np
from argparse import ArgumentParser
import logging
logging.basicConfig(format='%(asctime)s : %(levelname)s : %(message)s', level=logging.INFO)
logger = logging.getLogger('wmt_eval_logger')
@chrishokamp
chrishokamp / failed_memorization_example.ipynb
Created August 6, 2015 00:17
A toy example testing the ability (or lack thereof) of a vanilla RNN to memorize sequence information
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@chrishokamp
chrishokamp / working_memorization_example.ipynb
Created August 6, 2015 16:12
dataset shape is everything!
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@chrishokamp
chrishokamp / 5_word2vec.ipynb
Created May 13, 2016 15:11
Example solution to Udacity Deep Learning course assignment 5 -- W2V CBOW
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.