Download the PHP package halilcosdu/laravel-finetuner without Composer
On this page you can find all versions of the php package halilcosdu/laravel-finetuner. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download halilcosdu/laravel-finetuner
More information about halilcosdu/laravel-finetuner
Files in halilcosdu/laravel-finetuner
Package laravel-finetuner
Short Description Laravel Fine tuner is a package designed for the Laravel framework that automates the fine-tuning of OpenAI models. It simplifies the process of adjusting model parameters to optimize performance, tailored specifically for Laravel applications. This tool is ideal for developers looking to enhance AI capabilities in their projects efficiently, with minimal manual intervention.
License MIT
Homepage https://github.com/halilcosdu/laravel-finetuner
Informations about the package laravel-finetuner
Laravel Finetuner is a package designed for the Laravel framework that automates the fine-tuning of OpenAI models.
It simplifies the process of adjusting model parameters to optimize performance, tailored specifically for Laravel applications. This tool is ideal for developers looking to enhance AI capabilities in their projects efficiently, with minimal manual intervention.
Installation
You can install the package via composer:
You can publish the config file with:
This is the contents of the published config file:
Usage
The php artisan laravel-finetuner
command is used to interact with the Laravel Finetuner package. This command initiates a process that generates examples.
Here's a detailed explanation of how to use this command:
-
Open your terminal.
-
Navigate to your Laravel project directory.
-
Run the command
php artisan laravel-finetuner
. -
The command will first ask for a
Prompt
. This is a string that will be used to generate examples for fine-tuning. If you don't provide a prompt, it will use a default one. -
Next, it will ask for the
Temperature
. This is a float value that controls the randomness of the examples generated. A higher value will result in more random examples. If you don't provide a temperature, it will use a default value of.4
. -
Then, it will ask for the
Number of examples
. This is an integer that specifies how many examples to generate. If you don't provide a number, it will use a default value of1
. -
After you've provided these inputs, the command will ask for your confirmation to continue. If you confirm, it will start generating examples, which may take a while.
-
Once the examples are generated, they will be uploaded. If there's an error during this process, the command will display an error message.
- If everything goes well, the command will display a URL. This URL points to the location where the generated examples were uploaded.
Remember, this command is part of the Laravel Finetuner package, which is designed to automate the fine-tuning of OpenAI models in Laravel applications.
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Halil Cosdu
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-finetuner with dependencies
illuminate/contracts Version ^10.0||^11.0
openai-php/laravel Version ^0.8.1
spatie/laravel-package-tools Version ^1.16