[P] minLoRA: An Easy-to-Use PyTorch Library for Applying LoRA to PyTorch Models

This page summarizes the projects mentioned and recommended in the original post on /r/MachineLearning

Sevalla - Deploy and host your apps and databases, now with $50 credit!
Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
sevalla.com
featured
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
  1. minLoRA

    minLoRA: a minimal PyTorch library that allows you to apply LoRA to any PyTorch model.

    Theirs requires you to rewrite the whole model and replace every layer you want to apply LoRA to to the LoRA counterpart, or use monky-patching. Mine utilizes PyTorch parametrizations to inject the LoRA logic to existing models. If your model has nn.Linear, you can call add_lora(model) to add LoRA to all the linear layers. And it's not limited to Linear, you can see how I extended it to Embedding, Conv2d in a couple lines of code. https://github.com/cccntu/minLoRA/blob/main/minlora/model.py

  2. Sevalla

    Deploy and host your apps and databases, now with $50 credit! Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!

    Sevalla logo
  3. peft

    🤗 PEFT: State-of-the-art Parameter-Efficient Fine-Tuning.

    Sorry, but why do we need another package? Can't you build on top of https://github.com/huggingface/peft ?

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • [D] Is it possible to train the same LLM instance on different users' data?

    2 projects | /r/MachineLearning | 11 Apr 2023
  • You can use Dreambooth fine tuned models to generate videos (explanation)

    2 projects | /r/StableDiffusion | 12 Oct 2022
  • Deploying AI Models with Amazon Web Services: A Practical Guide

    3 projects | dev.to | 11 Dec 2024
  • Zephyr 141B, a Mixtral 8x22B fine-tune, is now available in Hugging Chat

    3 projects | news.ycombinator.com | 12 Apr 2024
  • Building an AI Game Bot 🤖Using Imitation Learning and 3D Convolution ResNet

    2 projects | dev.to | 2 Jan 2024

Did you know that Jupyter Notebook is
the 13th most popular programming language
based on number of references?