Evaluations
client.evaluations — create benchmark and dataset evaluations, wait for completion, list, retrieve results.
Create
from layerlens import Stratix
client = Stratix()
# Fetch the objects you want to evaluate
model = client.models.get_by_key("openai/gpt-4o")
benchmark = client.benchmarks.get_by_key("arc-agi-2")
# Create the evaluation
evaluation = client.evaluations.create(
model=model,
benchmark=benchmark,
)
print(f"Created evaluation {evaluation.id}, status={evaluation.status}")models = client.models.get(type="public", name="gpt-4o")
model = models[0]Wait for completion
List and filter
Async
Result fields
Compare
Source samples
Sample
What it shows
See also
Last updated
Was this helpful?