Skip to content

Instantly share code, notes, and snippets.

View aparrish's full-sized avatar

Allison Parrish aparrish

View GitHub Profile
@aparrish
aparrish / extracting-conversations-from-project-gutenberg.ipynb
Created July 18, 2018 22:26
Extracting conversations from Project Gutenberg. Code examples released under CC0 https://creativecommons.org/choose/zero/, other text released under CC BY 4.0 https://creativecommons.org/licenses/by/4.0/
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@aparrish
aparrish / predictive-text-concatenated-word-vectors.ipynb
Created July 18, 2018 22:24
Predictive text with concatenated word vectors. Code examples released under CC0 https://creativecommons.org/choose/zero/, other text released under CC BY 4.0 https://creativecommons.org/licenses/by/4.0/
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@aparrish
aparrish / semantic_similarity_chatbot.ipynb
Created July 17, 2018 17:33
Semantic similarity chatbot (with movie dialog). Gist mirror of Colab notebook here: https://colab.research.google.com/drive/1XlmtcyMdPRQC6bw2HQYb3UPtVGKqUJ0a Code examples released under CC0 https://creativecommons.org/choose/zero/, other text released under CC BY 4.0 https://creativecommons.org/licenses/by/4.0/
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@aparrish
aparrish / predictive-models.ipynb
Created July 9, 2018 19:47
Predictive text and text generation notebook. Written for Code Societies at SFPC, summer 2018. Code examples released under CC0 https://creativecommons.org/choose/zero/, other text released under CC BY 4.0 https://creativecommons.org/licenses/by/4.0/
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@aparrish
aparrish / colorpoems.md
Last active July 2, 2018 04:54
Some color poems based on the XKCD color corpus and nearest neighbors calculations.

Most similar colors using an increasing number of characters

red

red
ruby
blood
claret
scarlet
@aparrish
aparrish / a-reasonable-introduction.ipynb
Last active September 7, 2022 08:59
Workshop notebook. Code examples released under CC0 https://creativecommons.org/choose/zero/, other text released under CC BY 4.0 https://creativecommons.org/licenses/by/4.0/
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@aparrish
aparrish / index.md
Last active November 10, 2023 01:54
Honey, I Turned The Poems Into A Recurrent Neural Network: A Short Evening of Computer-Generated Poetry

poster image

Honey, I Turned The Poems Into A Recurrent Neural Network: A Short Evening of Computer-Generated Poetry

Description

On this auspicious evening, students from NYU's Interactive Telecommunications Program will read their computer-generated poetry aloud before a delighted audience (that's you!). To be presented are a number of vital contemporary poetic forms, including neural network biblical gibberish, PowerPoint presentations from stochastic processes, instructions for generating instructions for generating instructions, deeply plausible computer-imagined artist statements, human-assisted machine translations, and oh, chatbots of all types and varieties.

This event is part of the final project requirements for Reading and Writing Electronic Text, a class at ITP that combines an introduction to the Python programming language with an introduction to conceptual and experimental poetry. More information about the class can be fou

@aparrish
aparrish / index.md
Created April 18, 2018 20:44
I trained a recurrent neural network on all of the titles of papers in my Zotero and I got completely roasted
  • The Poetry of Surreal Andrew of Poetry of Strange and Deadly in Dreams of Development of Brickution
  • Sound Language in Similarity of Semantic Context Experimentality and Social Learning Participation of Neural Networks
  • The phonetic language magic in the random processes and self-literature and the entropy
  • The Surrey Generation of Modernity
  • A Google Generation
  • Structures in the medies
  • A Poetry of Poetry
  • A computational analysis of analysis of computer
  • A Founders of Poetry: A Trump and the Strange Games
  • Creative Embeddings for Alejanded Text Display of the Consers
@aparrish
aparrish / shmarkov.py
Last active January 22, 2021 13:04
shmarkov.py, a set of functions for simple and concise markov chain text generation in Python. should work in python 2 and python 3
# shmarkov.py, simple and concise markov chain text generation
# Copyright (C) 2018 Allison Parrish
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of
# this software and associated documentation files (the “Software”), to deal in
# the Software without restriction, including without limitation the rights to
# use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
# of the Software, and to permit persons to whom the Software is furnished to do
# so, subject to the following conditions:
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.