pymllm.convertor ================ .. py:module:: pymllm.convertor Submodules ---------- .. toctree:: :maxdepth: 1 /autoapi/pymllm/convertor/mllm_type_mapping/index /autoapi/pymllm/convertor/model_file_v1/index /autoapi/pymllm/convertor/model_file_v2/index Attributes ---------- .. autoapisummary:: pymllm.convertor.MLLM_FIND_SAFETENSORS_AVAILABLE Functions --------- .. autoapisummary:: pymllm.convertor.load_model Package Contents ---------------- .. py:data:: MLLM_FIND_SAFETENSORS_AVAILABLE .. py:function:: load_model(file_path) Load a model from file. Supports safetensors and torch formats. For safetensors, also supports model.index.json files. :param file_path: Path to the model file :returns: Dictionary containing the model parameters