|
Mila
Deep Neural Network Library
|
One model's files, as a caller hands them to the packager. More...
Public Attributes | |
| std::string | architecture |
| std::string | base_model |
| Lineage, published with the model because attribution has to travel with the weights. | |
| std::filesystem::path | directory |
| bool | instruct { false } |
| Instruction-tuned. Decides the prompt template a consumer applies. | |
| std::filesystem::path | license |
| std::string | license_id |
| std::string | minimum_mila_version |
| std::filesystem::path | model_card |
| std::string | name |
| Empty takes the package directory's name. | |
| std::filesystem::path | notice |
| Some licenses require their attribution to travel in a file of its own rather than inside the license text – Llama names a "Notice" file specifically. | |
| bool | replace { false } |
| Build over a directory that already describes a model. | |
| std::filesystem::path | tokenizer |
| std::string | variant |
| std::string | weight_quantization |
| std::filesystem::path | weights |
One model's files, as a caller hands them to the packager.
Paths outside the package directory are brought in; paths already inside it are left where they are. A 6.8 GB artifact exported straight into the package therefore costs no copy.
| std::filesystem::path Mila::Distribution::PackageRequest::notice |
Some licenses require their attribution to travel in a file of its own rather than inside the license text – Llama names a "Notice" file specifically.
Empty when the source license asks for nothing beyond LICENSE.
| bool Mila::Distribution::PackageRequest::replace { false } |
Build over a directory that already describes a model.
Off by default. One package is one model, so a manifest already there is either a rebuild the caller meant or a directory they have forgotten holds something else, and buildPackage cannot tell which – the same reason InstallOptions::replace exists.