Expand description
§Burn Dataset
Burn Dataset is a library for creating and loading datasets.
Modules§
Structs§
- Dataset
Iterator - Dataset iterator.
- Huggingface
Dataset Loader sqlite-bundledorsqlite - Load a dataset from huggingface datasets.
- InMem
Dataset - Dataset where all items are stored in ram.
- Sqlite
Dataset sqlite-bundledorsqlite - 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 sqlite-bundledorsqlite - 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 sqlite-bundledorsqlite - 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 sqlite-bundledorsqlite - Error type for HuggingfaceDatasetLoader.
- Sqlite
Dataset Error sqlite-bundledorsqlite - Sqlite dataset error.
Traits§
- Dataset
- The dataset trait defines a basic collection of items with a predefined size.
Type Aliases§
- Result
sqlite-bundledorsqlite - Result type for the sqlite dataset.