[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

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • 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

  • 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 ?

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
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
  • 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
  • Best practice for saving logits/activation values of model in PyTorch Lightning

    3 projects | /r/deeplearning | 19 Jul 2023