cerebras.modelzoo.common.utils.model.lora.make_model_lora#

cerebras.modelzoo.common.utils.model.lora.make_model_lora(model, lora_params)[source]#

Create a Low Rank Adaptation (LoRA) model from a non-LoRA model. Note that the original non-LoRA model may be modified through this process.

Parameters
Returns

LoRA model