nip.utils.types#
Type definitions for the NIP package.
Module Attributes
| A nested key type used for tensordict keys. | 
Functions
| Get the elements of a union type. | 
Classes
| A single item in a DPO dataset. | |
| Configuration for an experiment, which specifies the hyperparameters. | |
| A single item in a DPO dataset using the Hugging Face format. | |
| A message in the prompt for a language model API. | |
| A single item in a supervised dataset. |