https://github.com/h0llyw00dzz/openai-api
Fine-tuning OpenAI API GPT-3.5 Turbo model Uploader
https://github.com/h0llyw00dzz/openai-api
fine-tuning openai-api
Last synced: 18 days ago
JSON representation
Fine-tuning OpenAI API GPT-3.5 Turbo model Uploader
- Host: GitHub
- URL: https://github.com/h0llyw00dzz/openai-api
- Owner: H0llyW00dzZ
- License: mit
- Created: 2023-09-26T11:48:29.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-10-07T01:14:04.000Z (almost 2 years ago)
- Last Synced: 2025-01-11T08:54:17.439Z (9 months ago)
- Topics: fine-tuning, openai-api
- Language: Python
- Homepage:
- Size: 11.7 KB
- Stars: 10
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Fine-tuning OpenAI API GPT-3.5 Turbo model Uploader
[](https://www.python.org)
This project provides a Python script (`main.py`) that allows you to fine-tuning the OpenAI GPT-3.5 Turbo model by uploading a training data file. It automates the process of uploading the file, creating a fine-tuning job, and waiting for the job to complete.
## Showcase

## Prerequisites
Before using the `main.py` script, make sure you have the following prerequisites:
- Python installed on your system.
- The `requests`, `json`, `time`, `os`, `colorama`, and `tqdm` libraries installed. You can install them using `pip`.## Installation
1. Clone or download this repository to your desired location.
2. Install the required Python libraries using the following command:
```shell
pip install requests colorama tqdm
```
or
```shell
pip install -r requirements.txt
```## Usage
Run the following command to use the `main.py` script:
```shell
python main.py --file --token
```Replace `` with the path to your training data file in JSON format, and `` with your OpenAI API token.
## License
This project is licensed under the [MIT License](LICENSE). Feel free to modify and distribute the code as per the terms of the license.