nemo_gym.config_types
nemo_gym.config_types
Module Contents
Classes
Functions
Data
ServerInstanceConfigTypeAdapter
API
Bases: BaseModel
Bases: BaseModel
Response from /aggregate_metrics.
Flat string keys for direct logging to W&B/MLflow.
Bases: BaseModel
POST body for /aggregate_metrics.
Each item is a stripped verify response dict containing at minimum:
- TASK_INDEX_KEY_NAME: int
- “reward”: float
Bases: BaseModel
Bases: BaseRunServerConfig
Bases: BaseModel
Bases: BaseModel
Bases: BaseNeMoGymCLIConfig
Upload a JSONL dataset to HuggingFace Hub with automatic naming based on domain and resources server.
Examples:
Bases: BaseModel
Bases: BaseModel
Bases: BaseNeMoGymCLIConfig
Delete a dataset from GitLab Model Registry (prompts for confirmation).
Examples:
Bases: enum.Enum
Bases: JsonlDatasetGitlabIdentifer, BaseNeMoGymCLIConfig
Download a JSONL dataset from GitLab Model Registry.
Examples:
Bases: JsonlDatasetHuggingFaceIdentifer, BaseNeMoGymCLIConfig
Download a JSONL dataset from HuggingFace Hub to local filesystem.
Examples:
Bases: BaseModel
Bases: BaseModel
Bases: BaseModel
Bases: BaseModel
Bases: BaseNeMoGymCLIConfig
Upload a local jsonl dataset artifact to Gitlab.
Examples:
Bases: BaseUploadJsonlDatasetHuggingFaceConfig
Upload a JSONL dataset to HuggingFace Hub and automatically delete from GitLab after successful upload.
This command always deletes the dataset from GitLab after uploading to HuggingFace.
Use ng_upload_dataset_to_hf if you want optional deletion control.
Examples:
Bases: BaseUploadJsonlDatasetHuggingFaceConfig
Upload a JSONL dataset to HuggingFace Hub with optional GitLab deletion after successful upload.
Examples:
Bases: BaseModel
Detects if a config looks like a server but might fail validation.
Returns ServerInstanceConfig if a valid server, otherwise None with error details