Start training in under 5 minutes
First, register for an account to get an API key. New accounts come with $5 to get started.
Once you’ve registered, go to settings and find your api key:
Watch our Full Demo Video You can watch our full demo here.
Google Colab example here.
Step 1. Install Flex AI on your OS:
Step 2. Init your flex_ai instance
In FlexAI, there are 3 types of Datasets:
You can read more about them in Datasets tutorial For now we will go with an instruction dataset. A datasets will have two .jsonl files, one for train and one for eval (eval is optional but recommended)
For example: create a train.jsonl file:
Now let’s create a new dataset
You will get back a dataset id to use for fine tuning
You can view all our models in the Models Page You can then select a model and dataset and start training. You can also send fine tune directly from the Dashboard
You can monitor the training progress and wait for completion:
After the training is complete, you can retrieve the checkpoints:
Once you have your checkpoints, you can create an endpoint to serve your fine-tuned model:
You can use your fine-tuned model through the OpenAI-compatible API:
Start training in under 5 minutes
First, register for an account to get an API key. New accounts come with $5 to get started.
Once you’ve registered, go to settings and find your api key:
Watch our Full Demo Video You can watch our full demo here.
Google Colab example here.
Step 1. Install Flex AI on your OS:
Step 2. Init your flex_ai instance
In FlexAI, there are 3 types of Datasets:
You can read more about them in Datasets tutorial For now we will go with an instruction dataset. A datasets will have two .jsonl files, one for train and one for eval (eval is optional but recommended)
For example: create a train.jsonl file:
Now let’s create a new dataset
You will get back a dataset id to use for fine tuning
You can view all our models in the Models Page You can then select a model and dataset and start training. You can also send fine tune directly from the Dashboard
You can monitor the training progress and wait for completion:
After the training is complete, you can retrieve the checkpoints:
Once you have your checkpoints, you can create an endpoint to serve your fine-tuned model:
You can use your fine-tuned model through the OpenAI-compatible API: