Git Product home page Git Product logo

gpt-tuning-node's Introduction

GPT Tuning Node

GPT Fine-tuning with node.js. Easy to use with scripts 🔥

Install

This project use pnpm as package manager.

pnpm i

Get Started

0. Config

OPEN_API_KEY

  • Create .env in the root to use OPENAI_API_KEY env variable.
  • You can create your own API KEY in here.

Prepare data for fine-tuning

  • Create jsonl file in root. data-preset.jsonl
  • Check data format here.

1. Upload data

pnpm upload
  • Upload data to OpenAI.
  • After uploading, a fileId is created and stored in file-id.js.

2. Fine Tuning

pnpm tuning
Screenshot 2024-04-06 at 4 12 25 PM
  • Fine-tuning starts based on the uploaded file.
  • Also, you can check the progress on the OpenAI platform website, and easily access the website by clicking returned URL.

3. Completion

pnpm complete
Screenshot 2024-04-06 at 4 17 21 PM
  • Finally, when fine-tuning is completed, the results will arrive at the email you logged in to gpt.
  • Check ‘Output model’ in the URL and copy.
  • Paste the 'Output model' in the create-completion.js model field.
  • Enter your questions in content field.

Check the results to see if your tuning was successful 😁.

gpt-tuning-node's People

Contributors

dann1y avatar

Stargazers

Won-Joon Shin avatar hanbin avatar Cho JuHyuk avatar Jeong-Minju avatar  avatar Tom avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.