Skip to main content

No project description provided

Reason this release was yanked:

switching to semver

Project description

nvidia-eval-commons

NVIDIA Eval Commons is a set of dataclasses and tools used to define the configuration for the evaluation run.

Installation

pip install nvidia-eval-commons

Usage

from nvidia_eval_commons import EvaluationConfig, EvaluationTarget, ApiEndpoint, EndpointType, ConfigParams

config = EvaluationConfig(
    type="sample_eval",
    params=ConfigParams(
        task="sample_task",
        temperature=1e-5,
        top_p=1e-5,
        extra={"n_samples": 5}
    ),
    output_dir=".",
    supported_endpoint_types=[EndpointType.CHAT, EndpointType.COMPLETIONS],
)

target = EvaluationTarget(
    api_endpoint=ApiEndpoint(
        model_id="sample_model",
        type=EndpointType.CHAT,
        url="http://sample_model:8000",
    )
)

License

Apache License, Version 2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nvidia_eval_commons-25.5.2-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

Details for the file nvidia_eval_commons-25.5.2-py3-none-any.whl.

File metadata

File hashes

Hashes for nvidia_eval_commons-25.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 36e3952c46edd3a99558a11c04fc4bee7c82d5079140fd7ddbec6dad8a37db13
MD5 d0719d7607c2498a65eadeb48eeb8c70
BLAKE2b-256 8d335c84db7b77336adc7b5dcee010175422f296a898a088030bafed8fedfb8e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page