Skip to content

nasht12/fine_tuning_lab

Repository files navigation

Fine Tuning Lab

A basic web interface to create training data in JSONL format that could be used in fine tuning base models on either Google or OpenAI ecosystem.

For base model training in google the JSONL would be in the format of input_text and output_text.

{"input_text": "Classify the following text into one of the following classes:
[business, entertainment] Text: 5 stocks to buy now",
"output_text": "business"}

The general structure for OpenAI JSONL would be prompt and completion.

{"prompt": "your input text here", "completion": " expected output text here"}

Getting Started

Use the vercel link or run it the local environment.

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.