Fine-tune models
Fine tune a model
APIs
- Predictions
- Datasets
- Fine-tune models
- API Keys
Fine-tune models
Fine tune a model
POST
/
fine_tuned_models
curl --request POST \
--url https://api.timesdb.in/fine_tuned_models \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"base_model": "<string>",
"input_config": {
"dataset_ids": [
"<string>"
],
"dataset_tags": [
"<string>"
],
"series_ids": [
"<string>"
],
"series": [
{
"timestamp": "2023-11-07T05:31:56Z",
"value": 123,
"metadata": {}
}
]
},
"config": {
"context_length": 123,
"prediction_length": 123,
"use_rope_scaling": true,
"num_samples": 123,
"max_epochs": 123
}
}'
{
"id": "<string>",
"status": "QUEUED",
"config": {
"context_length": 123,
"prediction_length": 123,
"use_rope_scaling": true,
"num_samples": 123,
"max_epochs": 123
},
"input_config": {
"dataset_ids": [
"<string>"
],
"dataset_tags": [
"<string>"
],
"series_ids": [
"<string>"
],
"series": [
{
"timestamp": "2023-11-07T05:31:56Z",
"value": 123,
"metadata": {}
}
]
},
"base_model": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Response
200
application/json
Successful Response
Available options:
QUEUED
, IN_PROGRESS
, COMPLETED
, FAILED
curl --request POST \
--url https://api.timesdb.in/fine_tuned_models \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"base_model": "<string>",
"input_config": {
"dataset_ids": [
"<string>"
],
"dataset_tags": [
"<string>"
],
"series_ids": [
"<string>"
],
"series": [
{
"timestamp": "2023-11-07T05:31:56Z",
"value": 123,
"metadata": {}
}
]
},
"config": {
"context_length": 123,
"prediction_length": 123,
"use_rope_scaling": true,
"num_samples": 123,
"max_epochs": 123
}
}'
{
"id": "<string>",
"status": "QUEUED",
"config": {
"context_length": 123,
"prediction_length": 123,
"use_rope_scaling": true,
"num_samples": 123,
"max_epochs": 123
},
"input_config": {
"dataset_ids": [
"<string>"
],
"dataset_tags": [
"<string>"
],
"series_ids": [
"<string>"
],
"series": [
{
"timestamp": "2023-11-07T05:31:56Z",
"value": 123,
"metadata": {}
}
]
},
"base_model": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}