View hollowpm.py
""" | |
This is my Hollow Phonetics Matrix module: It is for handling different poetic | |
word search operations for my Flask website (https://puns.plus) It is a handler | |
for three large 45,000 x 45,000 nearest neighbor matrices that are too big for | |
me to want to load into memory. (One for overall sound similarity, one for | |
word2vec meaning similarity, and one for presence of individual phonetic features.) | |
Given different search requests, this translates from search word to vector | |
number, unpickles individual vectors from the disk as needed, performs the | |
necessary math, and then renders the results as words. |
View how-to-make-a-racist-ai-without-really-trying.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View min-char-rnn.py
""" | |
Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy) | |
BSD License | |
""" | |
import numpy as np | |
# data I/O | |
data = open('input.txt', 'r').read() # should be simple plain text file | |
chars = list(set(data)) | |
data_size, vocab_size = len(data), len(chars) |
View Stop.java
/** | |
* Stop | |
* | |
* A prototype game exploring the idea of a | |
* bullet hell space-shooter in which the | |
* player takes an entirely defensive role | |
* and must protect others in addition to | |
* themselves. | |
* | |
* Known issues/ things to ponder: |