Verified, then logged.
Wed 2 Dec 2026 · 12:55 KST / 03:55 UTC한국어 | ENSearch /

Breaking01 / AI

MASAR team releases LoRA merge code under MIT

The method merges weights using one unlabelled input per task without further training.

The MASAR research team released code under the MIT licence that runs on Python 3.10 or later and combines task-specific weights trained with low-rank adaptation, or LoRA. The repository README lists the Python requirement, and the code implements a paper posted on arXiv on 30 Nov 2026.

The merge uses one unlabelled input per task. For each task, MASAR uses the gap between the task-trained model’s two highest classification scores as a measure of confidence. It uses that measure to merge the weights without labels, further training or a search for hyperparameters.

The README lists 4 GB of GPU memory, or VRAM, for the CLIP ViT-B/32 image classification experiment and 10 GB for the CLIP ViT-L/14 experiment. It lists 24 GB for the Llama-3-8B experiment, which tests whether the model can classify the relationship between two sentences.

Some earlier methods reduce interference between task models by flattening the spectrum of their weight matrices, the distribution of their singular values. The researchers said applying the same adjustment across tasks can also weaken what each model learned. MASAR compares the score gaps of the task-trained and pretrained models to decide how much to flatten the spectrum.

In the CLIP ViT-B/32 experiment, the team reported average accuracy of 73.8% for MASAR and 68.2% for TARA-B in the README. Both methods used one unlabelled input per task.

The team also uploaded 12 sets of CLIP LoRA adapters, the task-specific weights added to CLIP, to Hugging Face. Each set contains eight adapters for different image classification tasks, with a configuration file and training record for each adapter.

The pretrained models and datasets retain their respective licences. The Hugging Face model card does not specify a licence for the CLIP adapters.

After downloading the adapters, users can point the merge script to the local folder. The merge saves the resulting weight update and run log in the output folder. A separate script evaluates the result.