Text Classification
Transformers
lora
fine-tuning
adaptive
research
nested-lora
synaptic-plasticity
rank-adaptation
Run this model with HF Jobs
Run Simo76/Unified-LoRA on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Simo76/Unified-LoRA. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Simo76/Unified-LoRA on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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
Update controller.py
Browse files123456789101112131415161718192 unmodified lines222324252627282930313233"""Unified LoRA Controller========================Convenience wrapper that re-exports from the two core modules:- nested_lora.py (engine: NestedLoRALinear, inject, set_rank)- orbital_controller.py (intelligence: OrbitalController)Import from here for quick usage, or from the individual modulesfor finer control.Author: Simona VargiuLicense: Apache 2.0"""# Enginefrom nested_lora import (NestedLoRALinear,inject_nested_lora,2 unmodified linescount_params,)# Intelligencefrom orbital_controller import (OrbitalController,setup_unified_lora,)__all__ = ["NestedLoRALinear","inject_nested_lora",12345678910111213141516171819202 unmodified lines23242526272829303132333435"""Unified-LoRA Controller======================Convenience wrapper that exposes the full Unified-LoRA stack:- nested_lora.py β execution engine (LoRA with dynamic rank slicing)- orbital_controller.py β control logic (stress-driven rank adaptation)Use this module for simple integration, or import submodules directlyfor fine-grained control.Author: Simona VargiuLicense: Apache 2.0"""# ββ ENGINE ββββββββββββββββββββββββββββββββββββββββββfrom nested_lora import (NestedLoRALinear,inject_nested_lora,2 unmodified linescount_params,)# ββ CONTROLLER ββββββββββββββββββββββββββββββββββββββfrom orbital_controller import (OrbitalController,setup_unified_lora,)# ββ EXPORT ββββββββββββββββββββββββββββββββββββββββββ__all__ = ["NestedLoRALinear","inject_nested_lora",
controller.py+11-9