Emmet Halm Profile picture
Apr 29 8 tweets 3 min read Twitter logo Read on Twitter
TopGPT got over 100k users in < 24 hours and broke my OpenAI account.

Here’s a short guide to fine tune a chatbot: Image
There are three main ways to create a chatbot:

🤖 Prompt engineer chatGPT3.5-turbo / 4

🧮 Use chatGPT + vector embedding

🪛 Fine tune a base model like DaVinci

Fine tuning is the best for initiating speech patterns. Let’s dive in. Image
Step 1: scrape your data

Your model is only as good as the data that goes into it.

👉Use the YouTube API, Whisper, or simple find a transcript of the content you want to imitate.

You’ll probably need a short Python script for this. Image
Step 2: clean & format your data

I learned this the hard way. To get good results, you need your data to be immaculate.

But not just grammatically clean.

‼️You need to put your data in “prompt completion pair.” Image
Here’s the chatGPT prompt I used to generate prompt completion questions:

👉“I have the following text transcript that in need to put in JSONL format for fune tuning.

Example format, {"prompt": "Who is Elon Musk?", "completion": "Elon Musk is a business magnate and investor."}… twitter.com/i/web/status/1…
Step 3: run the fine tune

This is the easy part!

👉 Just call the fine tune endpoint in your terminal, specify which model you want to tune, and name your .jsonl file.

Wait a few minutes and you’re done.

You can now use your fine tune directly from the OpenAI playground. Image
To recap:

- 💻 scape text data
- 🧼 clean data
- 🙋🏻‍♂️ generate prompt-completion questions
-🏃‍♂️ run the fine tune Image
Who am I?

I had close to zero coding skills two months ago as a non-technical founder 🤐

But now I’m on a journey to become a 10x dev & sharing my AI learnings along the way.

If you enjoyed this guide or any of my previous AI projects consider following @ehalm_.

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Emmet Halm

Emmet Halm Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @ehalm_

Jan 17
11 threads you need to win 2023.

Leverage AI, get jacked, learn DeFi, biohack, 10x your mind, & more ⬇️
1) Boost productivity with new sexy AI tools:
2) How to learn AI (or any new industry) early:
Read 13 tweets
Jan 15
When I turned 20, I was a broke college student doing Zoom classes.

But then I had an unexpected realization…

& 6-months later, I was making $37k MRR across 3 businesses.

Here’s how it happened ⬇️
I took odd-jobs to make some extra cash.

- note taker for minimum wage
- Excel-monkey internship for a $100 stipend
- tutored Russian
- led group exercise classes
- edited college applications

I hustled to the point of burn out.

But then I read about “systems”…
Repeatable processes. Work on the business, not in the business.

Light. Bulb. Moment. 💡

So I built a system around my highest price -point side hustle: college essay editing.

System in hand (Google docs), I convinced some college friends to join me, & off we went.
Read 11 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(