Skip to content

Official Repository for the implementation of our paper "Monte Carlo-Enhanced LoRA: A Robust Fine-Tuning Approach for Large Language Models"

License

Notifications You must be signed in to change notification settings

LCS2-IIITD/MonteCLoRA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MonteCLoRA - Monte Carlo enhanced Low Rank Adaptation for Robust Fine Tuning of LLMs

The code base required a bit of cleaning and improvement in the config sections but other than that you can use it in any PEFT pipelines. We will be adding an extensive README.md but for now you could take a look at the finetuning scriptt to get an idea of how to use MonteCLoRA in your scripts.

Environment Setup

conda env create -f environment.yml -y

Or you may use the requrements.txt file

Installing PEFT

cd peft
pip install -e .

Installing Transformers

cd transformers
pip install -e .

About

Official Repository for the implementation of our paper "Monte Carlo-Enhanced LoRA: A Robust Fine-Tuning Approach for Large Language Models"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published