Skip to content

Instantly share code, notes, and snippets.

@rouseguy
rouseguy / config.toml
Created July 16, 2017 08:23
sample hugo blog config.toml
baseurl = "the github.io link"
title = "title of the blog"
theme = "hugo-theme-nix"
languageCode = "en-us"
#disqusShortname = "your_disqus_shortname"
[menu]
[[menu.header]]
name = "blog"
weight = 0
@rouseguy
rouseguy / seq2seq_keras.py
Created July 19, 2016 09:17
Sequence to Sequence - Keras
%%time
# -*- coding: utf-8 -*-
'''An implementation of sequence to sequence learning for performing addition
Input: "535+61"
Output: "596"
Padding is handled by using a repeated sentinel character (space)
Input may optionally be inverted, shown to increase performance in many tasks in:
"Learning to Execute"
http://arxiv.org/abs/1410.4615