|
Mila
Deep Neural Network Library
|
A model's published description. More...
Public Member Functions | |
| const ModelFile * | file (std::string_view role) const |
Public Attributes | |
| std::string | architecture |
| std::string | base_model |
| std::vector< ModelFile > | files |
| bool | instruct { false } |
| Instruction-tuned. Decides the prompt template, which nothing else can infer. | |
| std::string | license |
| int | manifest_version { 1 } |
| std::string | minimum_mila_version |
| std::string | name |
| The model's name. Empty leaves the store to take it from the package directory. | |
| std::string | variant |
| std::string | weight_quantization |
A model's published description.
variant is descriptive, not a key: the name already carries the precision, and this states what the bytes actually are so a name that lies is visible rather than load-bearing.
base_model and license are lineage, and they are published on purpose – every license Mila redistributes under requires attribution to travel with the weights. Origin, by contrast, is where a particular copy came from, belongs to one installation, and lives in the store's record instead.