OkGoDoIt / OpenAI-API-dotnet

An unofficial C#/.NET SDK for accessing the OpenAI GPT-3 API
https://www.nuget.org/packages/OpenAI/
Other
1.81k stars 418 forks source link

Fine Tuning #14

Open Daimerias opened 2 years ago

Daimerias commented 2 years ago

Is it fine tuning coming avaivable anytime soon in this kit ?

gotmike commented 1 year ago

working on this next. sorry for the delay.

fatihyildizhan commented 1 year ago

Where should we specify the model we want?

// uploading
async Task<File> UploadFileAsync(string filePath, string purpose = "fine-tune");

// for example
var response = await api.Files.UploadFileAsync("fine-tuning-data.jsonl");
Console.Write(response.Id); //the id of the uploaded file

// listing
async Task<List<File>> GetFilesAsync();

// for example
var response = await api.Files.GetFilesAsync();
foreach (var file in response)
{
    Console.WriteLine(file.Name);
}
eschneor commented 12 months ago

Any update here?

Any way we can use fine-tune with this library? I have created a file, what are the next available steps to use?

Thanks!

/ @gotmike

minzdrav commented 9 months ago

Hello Dev Team Open AI released a new fine-tuning API - https://platform.openai.com/docs/guides/fine-tuning https://openai.com/blog/gpt-3-5-turbo-fine-tuning-and-api-updates Could you please add support for that API? Thank you!

eschneor commented 1 month ago

Any update here?