Skip to main content

Human verification and reward functions for RL training loops — the thin OpenTrain verify client.

Project description

opentrain-verify

The thin OpenTrain verify client for the RL crowd: human verification batches, the opentrain_human_reward() function for verifiers Rubrics, Prime Intellect Hub rollout pushes, and offline Certificate v2 checks — without installing the full SDK surface.

pip install opentrain-verify
from opentrain_verify import OpenTrain, opentrain_human_reward

client = OpenTrain()  # OPENTRAIN_API_TOKEN
reward_fn = opentrain_human_reward(client, rubric=["The answer is correct."])
# rubric = vf.Rubric(funcs=[reward_fn, ...], weights=[1.0, ...])

Everything here re-exports from the opentrain-ai package (imports as opentrain) — see its README for the full API.

Project details


Download files

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

Source Distribution

opentrain_verify-0.1.0.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

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

opentrain_verify-0.1.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file opentrain_verify-0.1.0.tar.gz.

File metadata

  • Download URL: opentrain_verify-0.1.0.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for opentrain_verify-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6b3adc6015e8b45e7ce53b16bce0093e4c58bed991ece779be230e30cf722507
MD5 41b8301336bf590c85f94c75a3a6cc90
BLAKE2b-256 d5173b754a9b29ea480af307aed70fe39c5641b164a8d6659c7845e7e64a8986

See more details on using hashes here.

Provenance

The following attestation bundles were made for opentrain_verify-0.1.0.tar.gz:

Publisher: pypi-publish.yml on OpenTrain-AI/OpenTrain-Platform-Monorepo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file opentrain_verify-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for opentrain_verify-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 33f6c04647b3bf871f66e1c9fc4e98b413e2439d6670498bc84e7aab7d20bf5c
MD5 72a0b782f51c93e6adeb646d864c9a91
BLAKE2b-256 2afb7d1a9f6a0a7f073f90c56daefd7c0010201e2547fb836eb553c4732cf4cd

See more details on using hashes here.

Provenance

The following attestation bundles were made for opentrain_verify-0.1.0-py3-none-any.whl:

Publisher: pypi-publish.yml on OpenTrain-AI/OpenTrain-Platform-Monorepo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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