Last updated 3 months ago
Was this helpful?
curl -L \ --url 'https://api.netmind.ai/v1/public-files'
[ { "id": "text", "file_name": "text", "purpose": "fine-tune", "created_at": 1, "token": 1, "length": 1, "bytes": 1, "description": "text" } ]
Your API token
curl -L \ --url 'https://api.netmind.ai/v1/fine-tuning/template' \ --header 'Authorization: text'
[ { "pricing": 1, "name": "text", "default_hyperparameters": {} } ]
curl -L \ --url 'https://api.netmind.ai/v1/fine-tuning/job' \ --header 'Authorization: text'
[ { "id": "text", "model": "text", "training_file_id": "text", "hyperparameters": {}, "status": "queued", "created_at": 1 } ]
curl -L \ --url 'https://api.netmind.ai/v1/fine-tuning/job/{job_id}' \ --header 'Authorization: text'
{ "id": "text", "model": "text", "training_file_id": "text", "hyperparameters": {}, "status": "queued", "created_at": 1 }
curl -L \ --url 'https://api.netmind.ai/v1/fine-tuning/job/{job_id}/event' \ --header 'Authorization: text'
[ { "message": "text", "level": "info", "created_at": 1 } ]
curl -L \ --url 'https://api.netmind.ai/v1/fine-tuning/job/{job_id}/checkpoint' \ --header 'Authorization: text'
[ { "id": "text", "checkpoint": "text", "step": 1, "metrics": { "loss": 1 }, "created_at": 1 } ]
curl -L \ --request POST \ --url 'https://api.netmind.ai/v1/fine-tuning/job/{job_id}/checkpoint/{checkpoint_id}/deploy' \ --header 'Authorization: text'
{ "service_id": "text" }
curl -L \ --request POST \ --url 'https://api.netmind.ai/v1/fine-tuning/job/{job_id}/cancel' \ --header 'Authorization: text'
No body
curl -L \ --request POST \ --url 'https://api.netmind.ai/v1/fine-tuning/job' \ --header 'Authorization: text' \ --header 'Content-Type: application/json' \ --data '{ "model": "text", "training_file_id": "text", "hyperparameters": {} }'
{ "id": "text" }