Text Classification
Transformers
lora
fine-tuning
adaptive
research
nested-lora
synaptic-plasticity
rank-adaptation
Instructions to use Simo76/Unified-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Simo76/Unified-LoRA with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Simo76/Unified-LoRA")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Simo76/Unified-LoRA", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signature5ccbada -
Update README.md
Verified signature4e7d5ad
-
Update README.md
Verified signaturec36c040 -
Update README.md
Verified signaturef0a4c6c -
Update README.md
Verified signature--- library_name: transformers tags: - lora - fine-tuning - peft - adaptive - research datasets: - glue metrics: - accuracy - f1 --- Unified-LoRA Adaptive LoRA fine-tuning with nested orbital rank control. 👉 Demo (run it): https://github.com/Sva76/Unified-LoRa/blob/main/notebooks/unified_lora_demo.ipynb --- A closed-loop controller that dynamically adjusts LoRA rank during training based on observed stress, using a single adapter with sliced dimensions — no cold start, no capacity loss on transitions. --- Key results Stress test: task switch (MRPC → SST-2, DistilBERT, 3 seeds) | Baseline (r=16 fixed)| Unified (orbital)| Delta SST-2 Acc (new task)| 0.736| 0.740| +0.004 MRPC F1 (retention)| 0.526| 0.515| -0.011 Effective rank| 16.0| 13.6| Rank saving| 0%| 15%| Under distribution shift, the controller adapts capacity dynamically with 15% rank saving and no performance loss. --- Concept Traditional LoRA uses fixed rank → over/under capacity. Unified-LoRA adapts rank …aba3ec6 -
Update README.md
Verified signature6436c17 -
Update README.md
Verified signature93320c7 -
Update unified_lora.py
c9ed3b1 -
Update unified_lora.py
a073377 -
Update unified_lora.py
9ce053d -
Update controller.py
1728e21 -
Update README.md
79ad95d -
Update README.md
8162dad -
Update README.md
fae8085 -
Refactor .gitignore to organize sections and entries
3a213cf -
Update MRPC example notebook with new code cells
91d7191 -
Update mrpc_example.ipynb
2d544ad -
Remove unnecessary blank line in notebook
121e571 -
Update mrpc_example.ipynb
48f590e -
Refactor stress test to use Orbital Controller
Updated stress test script to use Orbital Controller instead of Nested LoRA. Improved code readability and structure.1a5825f -
Update stable_task_test.py
d72fbc5 -
Revise experimental results documentation
Updated the experimental results documentation to reflect new findings and reorganized the structure for clarity.d8f43b7 -
Update architecture.md
02433bd -
Delete validation_complete.py
1c50427 -
Delete stability_test.py
2094929 -
Delete scale_test.py
68e3ee9 -
Delete fsm_noise_test.py
b0ee87c -
Delete benchmark.py
20ff83b
-
Fix formatting and wording in experimental results
0d18574 -
stable_task_test.py
ec83d30 -
Update stress_test_task_switch.py
43cb450 -
Update architecture.md
3b87a68 -
Add OrbitalController for adaptive trajectory control
Implement a closed-loop trajectory controller for dynamic capacity adaptation in machine learning models. This module adapts model capacity based on observed training stress and includes features for stability and memory.d6b96b5 -
Implement Nested LoRA architecture for dynamic rank control
This module implements a Nested LoRA architecture for dynamic rank control in linear layers, allowing for efficient training with frozen original weights and adaptive rank changes.1fda0d1 -
README.md
ec0d4eb -
Update README.md
6a8cd08 -
Update Unified LoRA controller documentation
Refactor Unified LoRA controller documentation and structure.91ae3e3
-
Add architecture documentation for Nested LoRA
Document the architecture and functionality of Nested LoRA, including the problem of cold starts on rank transitions, the solution using a single adapter pair, and the controller's trajectory-based approach.3f5b03f -
Add stable task parity test for Unified-LoRA
This script implements the Unified-LoRA Stable Task Parity Test for the MRPC dataset, validating that the controller causes no degradation during stable training. It includes functions for data loading, model training, and evaluation.64f78fc -
Add stress test for task switching with Nested Orbital Controller
This script performs a stress test for task switching between MRPC and SST-2 datasets using a Nested Orbital Controller. It includes model training, evaluation, and results summarization.eeccc5f -
Delete Archive directory
aae2316 -
Revise experimental results for Unified-LoRA
Updated the experimental results section to improve clarity and structure, including new quantitative and qualitative analyses of Unified-LoRA's performance under various conditions.b39f929 -
Revise README for Unified-LoRA details and findings
Updated README to reflect changes in adaptive LoRA fine-tuning methodology and results.ba85c35 -
Refactor Unified LoRA Controller to Nested Orbital
Updated Unified LoRA Controller to Nested Orbital Controller with enhanced functionality and dynamic rank control.b15ebfb
-
Unified_lora.py
2742e36 -
Update unified_lora.py
376e912 -
Update requirements.txt
57e2576 -
Add stability test for model using LoRA with FSM
This script implements a stability test for a model using LoRA with various learning rate strategies. It includes data loading, model training, and evaluation, comparing baseline, cosine annealing, and FSM φ(t) methods.5217ce5 -
Implement scale test for rank impact on models
Added a scale test for evaluating the impact of rank on larger models using Qwen2.5-3B in 4-bit precision. The test includes data loading, model training, and evaluation metrics.48afacd -
Update validation_complete.py
16831f7