Guides
Fine-tuning
6min
agenthost now supports fine tuning in beta please reach out to info\@agenthost ai should you experience any issues introduction fine tuning allows you to train a custom model based on your own specific needs and data generally fine tuning is a way to create a better experience for your users you can reach more about fine tuning by reading openai's documentation fine tuning is only available to users on pro and growth paid plans useage and limits fine tunes use 2x the message limits as gpt 3 5 turbo this includes running the training as well as users chatting with the fine tuned model after training is complete fine tuning is only supported with v1 agents create a fine tuned model to create a new fine tuned model, follow these steps go to the workspace and then select an agent select fine tuning from the left side menu in the agent project page select create on the top right side of the page this will bring up a modal view enter a value for the name of the fine tune this can be anything you wish and is just for your referencing only gpt 3 5 turbo is available for fine tuning currently click create to create the model creating the model is the first part now we'll need to select the messages we want to use for fine tuning our model select messages to train the model on now we need to select the messages we want to train our new fine tuned model on you must select atleast 10 messages to fine tune your agent select manage on the newly created fine tune job after selecting manage, click the add messages button near the center of the modal that appears this will take you to the conversations view from there, open a thread with messages you want your model trained on on all messages from your agent, you'll now see a train option click that button to add the message to your fine tuned model training list you must select atleast 10 messages to start fine tuning run the fine tune job once happy with all the messages you've added to your training, go back to the fine tuning section then click run to begin the fine tune process the status wil then change to running how long the fine tune process runs depends but it can be anywhere from a couple of minutes to hours once fine tuning completes, you'll be notified and the status will change to completed use the new fine tuned model congratulations on creating your fine tuned model now the final piece is to update your agent to use your newly created fine tuned model go to the agent tab from the left menu scroll down to advanced settings and find gpt model click the dropdown and select use fine tuned model a modal should popup asking you to select your fine tuned model select the fine tuned model you just created after selecting th model, be sure to scroll up and click save to save your changes now you can go to the chat page and ask your agent questions fine tuned models do sometimes take slightly longer to responded compared to the base models