HackerTrans
TopNewTrendsCommentsPastAskShowJobs

brensudol

no profile record

Submissions

Show HN: Punchlines.ai (v2) – AI joke writer that's funny

jokegpt.vercel.app
1 points·by brensudol·2 anni fa·1 comments

[untitled]

1 points·by brensudol·2 anni fa·0 comments

Show HN: GPT Joke Writer

punchlines.ai
51 points·by brensudol·3 anni fa·71 comments

comments

brensudol
·2 anni fa·discuss
punchlines.ai is an AI joke generation tool built on top of a large language model (GPT-3.5 Turbo). It was fine-tuned on thousands of late night comedy monologue jokes (https://github.com/brendansudol/joke-gpt).

web app is open-source, too: https://github.com/brendansudol/punchlines-ai
brensudol
·3 anni fa·discuss
Not a dumb question! This is called fine-tuning; here's more info about it: https://beta.openai.com/docs/guides/fine-tuning

Process is very straightforward -- all the code (data cleaning, uploading, tracking can be found here: https://github.com/brendansudol/joke-gpt/blob/main/train.ipy...)
brensudol
·3 anni fa·discuss
Here's more information on the fine-tuning process: https://beta.openai.com/docs/guides/fine-tuning

In terms of where it's incorporated in the code, the fine-tuned model id is stored in an environmental variable called `process.env.OPENAI_MODEL_ID` which then gets passed to the completion endpoint
brensudol
·3 anni fa·discuss
thanks a lot! re: fine-tuning - it was about $30 using the most expensive model (davinci)