Skip to main content

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

Note: This project will download and install additional third-party open source software projects. Review the license terms of these open source projects before use.

Usage

from nvidia_eval_commons.api.api_dataclasses 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",
    )
)

Development

Install in editable mode with [all] extra:

pip install -e '.[all]'

This installs testing dependencies.

License

Apache License, Version 2.0

Metadata

Release files for nvidia-eval-commons 1.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for nvidia-eval-commons 1.0.5
File Interpreter ABI Platform Actions
nvidia_eval_commons-1.0.5-py3-none-any.whl Python 3 none any Details for nvidia_eval_commons-1.0.5-py3-none-any.whl

Release files / nvidia_eval_commons-1.0.5-py3-none-any.whl

Download URL nvidia_eval_commons-1.0.5-py3-none-any.whl
Size 103.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ff99942fa54bd513b8ebae174ee6f59b0a9669066a21060a7e00989b0a23aa9a
BLAKE2b-256 checksum
How to use checksums
56cea25d661944dbfc140dd8856d3331a2fd2a9737cd7790f121a9e6dbeb5a3e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.18

Security for nvidia-eval-commons 1.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.5 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page