Skip to content

Latest commit

History

History
86 lines (59 loc) 路 2.17 KB

main_classes.rst

File metadata and controls

86 lines (59 loc) 路 2.17 KB

Main classes

DatasetInfo

nlp.DatasetInfo

Dataset

The base class nlp.Dataset implements a Dataset backed by an Apache Arrow table.

nlp.Dataset

DatasetDict

Dictionary with split names as keys ('train', 'test' for example), and nlp.Dataset objects as values. It also has dataset transform methods like map or filter, to process all the splits at once.

nlp.DatasetDict

Features

nlp.Features

nlp.Sequence

nlp.ClassLabel

nlp.Value

nlp.Translation

nlp.TranslationVariableLanguages

nlp.Array2D

nlp.Array3D

nlp.Array4D

nlp.Array5D

MetricInfo

nlp.MetricInfo

Metric

The base class Metric implements a Metric backed by one or several nlp.Dataset.

nlp.Metric