Skip to main content
POST
Evaluation

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
hf_token
string
required
model_source
string
required
model_type
enum<string>
required
Available options:
adapter,
merged,
base
base_model_id
string
required
dataset_id
string
required
task_type
enum<string> | null
Available options:
conversation,
qa,
summarization,
translation,
classification,
general
metrics
enum<string>[] | null
Available options:
rouge,
bertscore,
accuracy,
exact_match,
bleu,
meteor,
recall,
precision,
f1
max_samples
integer | null
num_sample_results
integer | null
default:3
use_vllm
boolean | null
default:false

Response

Successful Response

metrics
Metrics · object
required
num_samples
integer
required
dataset_id
string
required
samples
SampleResult · object[]
required