Hacker News Re-Imagined

Show HN: Tensorpedia – Using GPT-2 to synthesize Wikipedia articles

  • 16 points
  • 1 day ago

  • @JonahSussman
  • Created a post
  • • 11 comments

Show HN: Tensorpedia – Using GPT-2 to synthesize Wikipedia articles


@meepmorp 1 day

Replying to @JonahSussman 🎙

This is my favorite new thing of the day. Thanks!

Reply


@Weryj 1 day

I had some good fun reading some of these articles. Absolutely absurd

Reply


@JonahSussman 1 day

Hey HN! I've been lurking for a while now and I've finally created something that I feel is worth sharing.

I've called this project "Tensorpedia." At its core, Tensorpedia takes in a title and utilizes it as a prompt for GPT-2 to synthesize the introductory part of a Wikipedia article. The machine learning stuff is written using a wonderful library called aitextgen [0], using Wikipedia's "Vital Articles" as a data set [1]. The server is written in Node, and it uses Redis as an article cache. If you want to read my article about it (for some reason), you can check it out here [2].

I created this project to get more experience with server technologies. While I wouldn't say it's a complicated application, I learned quite a lot from it.

Additionally, as I was inspired by all of those this-x-doesn't-exist projects from a while back, this project is mostly for fun. As such, I don't know how much practical use it has, but I've generated some pretty hilarious articles from it.

[0] https://github.com/minimaxir/aitextgen

[1] https://en.wikipedia.org/wiki/Wikipedia:Vital_articles/Level...

[2] https://jonahsussman.net/posts/2022-01-this-wiki-dne/

Reply


@iggldiggl 22 hours

Great idea, although it's a bit annoying that none of the article links works as an actual link, so I can't easily open pages in a new tab like I often do when reading a Wikipedia article.

Reply


About Us

site design / logo © 2022 Box Piper