Expand description
§Burn Dataset
Burn Dataset is a library for creating and loading datasets.
Modules§
Structs§
- Dataset
Iterator - Dataset iterator.
- Huggingface
Dataset Loader sqliteorsqlite-bundled - Load a dataset from huggingface datasets.
- InMem
Dataset - Dataset where all items are stored in ram.
- Sqlite
Dataset sqliteorsqlite-bundled - This struct represents a dataset where all items are stored in an SQLite database. Each instance of this struct corresponds to a specific table within the SQLite database, and allows for interaction with the data stored in the table in a structured and typed manner.
- Sqlite
Dataset Storage sqliteorsqlite-bundled - The
SqliteDatasetStoragestruct represents a SQLite database for storing datasets. It consists of an optional name, a database file path, and a base directory for storage. - Sqlite
Dataset Writer sqliteorsqlite-bundled - This
SqliteDatasetWriterstruct is a SQLite database writer dedicated to storing datasets. It retains the current writer’s state and its database connection.
Enums§
- Importer
Error sqliteorsqlite-bundled - Error type for HuggingfaceDatasetLoader.
- Sqlite
Dataset Error sqliteorsqlite-bundled - Sqlite dataset error.
Traits§
- Dataset
- The dataset trait defines a basic collection of items with a predefined size.
Type Aliases§
- Result
sqliteorsqlite-bundled - Result type for the sqlite dataset.