Code Monkey home page Code Monkey logo

openai.fine-tuning's Introduction

Fine-tuning OpenAI's GPT-3.5 model

CI

OpenAI has introduced an exciting new feature - fine-tuning for the GPT-3.5 model. With this feature, developers can now fine-tune the GPT-3.5 model to suit specific tasks and applications. This README provides a step-by-step guide on how to fine-tune the model using JavaScript and the official OpenAI SDK for Node.js, enabling you to harness the power of GPT-3.5 for your custom use cases.

🚀 Quick start

  1. Install the dependencies.
npm install
  1. Create a .env file in the root directory and add the following environment variables.
OPENAI_API_KEY=<your-openai-api-key>
  1. Run the following scripts in order. You will see the logs explaining what each script does.
node 1-prepare-dataset.js
node 2-upload-file.json
node 3-fine-tune-model.json
node 4-get-model.json
node 5-use-model.js

openai.fine-tuning's People

Contributors

tonystrawberry 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.