Fine-tuning
List held-out records
One page of a finished fine-tune’s held-out records. Each gives a validation
decision’s probability for every outcome, by name, beside the row’s own label and
the decision’s metrics. group picks the model that was scored: this fine-tune
(adapted), the model it started from (base) or the version a continuation started
from (parent).
GET
/
v1
/
fine-tuning
/
jobs
/
{job_id}
/
records
List held-out records
curl --request GET \
--url https://api.sqwish.ai/v1/fine-tuning/jobs/{job_id}/records \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.sqwish.ai/v1/fine-tuning/jobs/{job_id}/records"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.sqwish.ai/v1/fine-tuning/jobs/{job_id}/records', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
"<unknown>"
],
"total": 123,
"offset": 123,
"limit": 123,
"has_more": true,
"group": "adapted",
"groups": [
"<string>"
]
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"request_id": "<string>",
"details": [
{
"path": [
"<string>"
],
"message": "<string>",
"type": "<string>"
}
]
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"request_id": "<string>",
"details": [
{
"path": [
"<string>"
],
"message": "<string>",
"type": "<string>"
}
]
}
}Query Parameters
List held-out records
curl --request GET \
--url https://api.sqwish.ai/v1/fine-tuning/jobs/{job_id}/records \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.sqwish.ai/v1/fine-tuning/jobs/{job_id}/records"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.sqwish.ai/v1/fine-tuning/jobs/{job_id}/records', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
"<unknown>"
],
"total": 123,
"offset": 123,
"limit": 123,
"has_more": true,
"group": "adapted",
"groups": [
"<string>"
]
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"request_id": "<string>",
"details": [
{
"path": [
"<string>"
],
"message": "<string>",
"type": "<string>"
}
]
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"request_id": "<string>",
"details": [
{
"path": [
"<string>"
],
"message": "<string>",
"type": "<string>"
}
]
}
}