Work scope:
The Openai API supports the ability to upload a json file with the training data and run fine-tuning functions on the data. Supporting this in intelliNode requires adding the following minimum functions to OpenAIWrapper.js:
upload fine tuning file.
create fine tune job.
use fine tune model.
Step1: Prepare the testing data in a file, for example:
{
"messages": [
{ "role": "system", "content": "You are an assistant that occasionally misspells words" },
{ "role": "user", "content": "Tell me a story." },
{ "role": "assistant", "content": "One day a student went to schoool." }
]
}
Step2: Add a function inside OpenAIWrapper that match the following call to upload the file:
Openai Reference:
Work scope: The Openai API supports the ability to upload a json file with the training data and run fine-tuning functions on the data. Supporting this in intelliNode requires adding the following minimum functions to OpenAIWrapper.js:
Step1: Prepare the testing data in a file, for example:
Step2: Add a function inside OpenAIWrapper that match the following call to upload the file:
Step3: Add a function inside OpenAIWrapper that match the following call to create fine tuning hob:
Testing: Add the testing scripts in OpenAIWrapper.test.js: