Skip to content

Instantly share code, notes, and snippets.

@lukestanley
Last active August 8, 2024 14:09
Show Gist options
  • Save lukestanley/a9fbe34d807884995531d31c237be2b2 to your computer and use it in GitHub Desktop.
Save lukestanley/a9fbe34d807884995531d31c237be2b2 to your computer and use it in GitHub Desktop.
Visualises Paul Graham's essays using OpenAI embeddings and t-SNE. Fetches essays from Swartz's RSS API, embeds with OpenAI's text-embedding-3-small model, and reduces dimensions with t-SNE for plotting. Thanks to PG for the advice and $700 cheque, and to the late Aaron Swartz for RSS, the feed, & those keeping things running behind scenes!
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment