sima_utils.transformer.model.language_part_baseο
Classesο
Base implementation for visual-language model file generation. |
Module Contentsο
- class sima_utils.transformer.model.language_part_base.LanguagePartBaseModelο
Base implementation for visual-language model file generation.
- cfgο
Configuration of the model.
- model_nameο
Name of the model. This will be used to determine the generated filesβ names.
- onnx_pathο
Path to store the ONNX files.
- sima_pathο
Path to store the SiMa-specific files.
- hf_modelο
LocalHuggingFaceModel object for obtaining the parameters to generate ONNX files.
- onnx_file_nameο
File name of the generated ONNX file.
- weight_prefixο
The prefix of weight tensor names in the source model.