|
Mila
Deep Neural Network Library
|
Common file header structure for Mila data files. More...
#include <cstdint>#include <string>#include <vector>#include <stdexcept>#include <fstream>#include <memory>import nlohmann.json;import Serialization.Metadata;Classes | |
| class | Mila::Data::MilaFileHeader |
| Common file header for Mila data files. More... | |
| class | Mila::Data::SerializationMetadata |
| Type-safe metadata container for component serialization. More... | |
Namespaces | |
| namespace | Mila |
| Mila main API namespace. | |
Typedefs | |
| using | Mila::Data::json = nlohmann::json |
Enumerations | |
| enum class | Mila::Data::MilaFileType : uint32_t { Unknown = 0 , BpeVocabulary = 1 , CharVocabulary = 2 , TokenizedCorpus = 3 , Dataset = 4 , TrainingCheckpoint = 5 , Gpt4BpeVocabulary = 6 } |
| File type identifiers for Mila data files. | |
Functions | |
| constexpr const char * | Mila::Data::toString (MilaFileType type) |
Common file header structure for Mila data files.
Provides standardized file identification, versioning, and metadata storage.