We recently read The Unreasonable Effectiveness of Recurrent Neural Networks by Andrej Karpathy, and had to give it a try ourselves. If you saw our Markov text generation post, you can probably guess what’s coming next… we used Andrej Karpathy’s code to train a character-level recurrent neural network model on Moby-Dick.

Here’s some generated text after 10,000 training steps:

Ahab, clearing with a heart easy, seeing the three planks found impatience to the pointed tracess of the skin, Ahab strength, ships and dead.

“Stover, much the live into the chaptery or manner, Well, or day it was the forgebo, but one with replishs consternate owners an ashore I suffer the Pequod to go you complete late fell the watch, first or called it. But these I new the seas, I point out, against the simulture instantable steel years up so much all of my air, the malestic begithering captures or round–“Small incholior! mull teven, and get any awarrnatins, that, or now cutting the sabrain’t heart, when he was no small house apouth, Queequeg put into the eastic dit, and instead where all he spoke the oil as possible; leaming beneath me driven the line.

In the dinner secure her established as he would more that might sleetest the peace, and day like a hurrth at the ones to leavn de. A stranger to reday but over nightwalm. But elevatten he must into which “full there! Flask touchess!” cried were still from these the remest of wild wime, real of about white warp. But his hands in it, subtlen them blooded, they lost to thoughts of the Fishery vision. Pip, or mark at the sunger season. By Lood-knoty to the way. Look a concently lengthwere beer we warks, the fuly bows. But this matter, cloudsman to be time so soon? May Stubb his thousand jet both thunders, whether their golden passants of the English Pequod would have been hour down too, Bildad, rust periled their bottom; but, swinging the raw dulks, and betterpulate officially full from the pupping it.

The decks are fessested of his hammich where at also furnished by a queer. In resustance from the unfull of strong look–more around the cerasution night. I wearing that to something along a twindling bones of old Fore-Welmewh for in the black angeloriating, every Greenlazah! Idford-lim lances! Would velley Mrifistin; Tashtego; Tashter, burnt to his arious feeturn in a man.