Skip to content

Instantly share code, notes, and snippets.

@GeoffChurch
GeoffChurch / n-byte-wise_seq2seq.py
Last active February 21, 2016 04:36 — forked from karpathy/min-char-rnn.py
Minimal character-level language model with a Vanilla Recurrent Neural Network, in Python/numpy
"""
Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy). Edited by Geoffrey Churchill
BSD License
"""
import numpy as np
from sys import argv
try:
num_steps=int(argv[3])
except IndexError: