3 ms·
For fun, here's a little demo of aitextgen that you can run on your own computer. First install aitextgen: pip3 install aitextgen Then you can download a
by minimaxir 7y ago
For fun, here's a little demo of aitextgen that you can run on your own computer.
First install aitextgen:
pip3 install aitextgen
Then you can download and generate from a custom Hacker News GPT-2 model I made (only 30MB compared to 500MB from the 124M GPT-2) using the CLI!
aitextgen generate --model minimaxir/hacker-news --n 20 --to_file False
Want to create Show HN titles? You can do that.
aitextgen generate --model minimaxir/hacker-news --n 20 --to_file False --prompt "Show HN:"
- ideashower 6y agoShow HN: Numericcal – A simple, distributed, and fast backups Show HN: A simple, free and open source alternative to Turkish potatoies Show HN: A boilerplate for mobile development Show HN: Simple UI Gao-Parser (for the Web) Show HN: A fast, fully-featured web application framework Show HN: I have a side project you want to sell in a startup? Show HN: S3CARP Is Down Show HN: Finding the right work with friends and family Show HN: I built a webapp to remind users to view your photoshopped stripes Show HN: Send a hands-only gift reason to the Mark Zuckerberg & Stay a lot. Show HN: A simple, high-performance, full-disk encryption Show HN: Peer-to-peer programming language Show HN: Browse and duplicate images in your app's phone Show HN: Waze – Send a face back end to the internet Show HN: A simple, minimal, real-time building app to control your Mac. Show HN: Sheldonize – A collaborative group for startups Show HN: Gumroad – Make your web app faster Show HN: An easy way to track time using MD5? Show HN: A simple, fast, and elegant ORM/Lambda: progressive web apps for Vim Show HN: A simple landing page I've been working on elsdst Certy. Here is how I was within the last year
- contravariant 6y ago>progressive web apps for Vim Well it knows how to get HN users attention all right.
- ttul 6y agoShow HN: An easy way to track time using MD5? I need to see this in action.
- IanCal 6y agoHash the current time in seconds, every time the first three hex digits are 000 then on average another hour and 8 minutes has passed. It's easy, awkward, time consuming and probably pretty wrong for tracking hours. Just like regular time tracking!
- totetsu 6y agohow does one download these models?
- totetsu 6y agofirst you have to run python from aitextgen import aitextgen ai = aitextgen(model="minimaxir/hacker-news") then use the cli.. I guess.
- totetsu 6y agoAsk HN: What's your favorite computer science podcasts? ========== Ask HN: How do I convince a non-technical exercise to keep a journal ========== Ask HN: Is it just me or not? ========== Ask HN: What do I do with my MVP? ========== Ask HN: How to sell? ========== Ask HN: How do you use HackerNews? ========== Ask HN: Best way to make a B2B startup? ========== Ask HN: Why do I have to live in San Francisco? ========== Ask HN: How to tell my heart changes? ========== Ask HN: How to deal with the difference between a job interview and a product? ========== Ask HN: What is your favorite open-source sytem? ========== Ask HN: What are your favorite blogs and resources? ========== Ask HN: What are the best books for learning a new language/frameworks? ========== Ask HN: What's your favorite HN post? ========== Ask HN: What is your favorite RSS reader ========== Ask HN: Is the SE not a mistake like a safe space business? ========== Ask HN: How do I start programming in a job?
- minimaxir 6y agoSeems you figured it out, but for posterity, it will automatically download the models if not cached.
- totetsu 6y agoI get a source.error("unbalanced parenthesis") if I put unbalanced parentheses in the --prompt "argument)"
- minimaxir 6y agoLikely same issue as here: https://github.com/minimaxir/aitextgen/issues/8 https://github.com/minimaxir/aitextgen/issues/8 Will take a look.