README: This repo contains the source code of the Python package `loralib` and several examples of how to integrate it with PyTorch models, such as those in Hugging Face. We only support…
README: [loralib/](loralib) contains the source code for the package `loralib`, which needs to be installed to run the examples we provide;
README: LoRA reduces the number of trainable parameters by learning pairs of rank-decompostion matrices while freezing the original weights. This vastly reduces the storage requirement fo…
README: You can choose to adapt some layers by replacing them with counterparts implemented in `loralib`. We only support `nn.Linear`, `nn.Embedding`, and `nn.Conv2d` for now.
README: Before the training loop begins, mark only LoRA parameters as trainable.