We lifted 4 functions out of this paper's own repositories and ran 3 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.
| Repository | Role | Ran |
|---|---|---|
| thudm/moelora_riemannian | canonical | 3 of 4 |
| Function | Status | Where it lives |
|---|---|---|
| get_answer | Ran | thudm/moelora_riemannian/prepare_data.py pointer only (licence: NONE) · get_code("30a82d453ae174bf") |
| get_choice_text | Ran | thudm/moelora_riemannian/prepare_data.py pointer only (licence: NONE) · get_code("7a8dffc83d89cedd") |
| get_context_text | Ran | thudm/moelora_riemannian/prepare_data.py pointer only (licence: NONE) · get_code("85f084f6054a421e") |
| train | Not yet run | thudm/moelora_riemannian/train_llama.py pointer only (licence: NONE) · get_code("5be4c50239d0eed7") |
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
In order to streamline the fine-tuning of foundation models, Low-Rank Adapters (LoRAs) have been substantially adopted across various fields, including instruction tuning and domain adaptation. The underlying concept of LoRA involves decomposing a full-rank matrix into the product of two lower-rank matrices, which reduces storage consumption and accelerates the training process. Furthermore, to address the limited expressive capacity of LoRA, the Mixture-of-Expert (MoE) has been introduced for incorporating multiple LoRA adapters. The integration of LoRA experts leads to a visible improvement across several downstream scenes. However, the mixture of LoRAs (MoE-LoRA) still exhibits its low robustness during tuning and inferring. Inspired by the Riemannian Preconditioners which train LoRA as a sub-space projector, we propose a new training strategy for MoE-LoRA, to stabilize and boost its feature learning procedure by multi-space projections. Examinations on SGD and AdamW optimizers demonstrate the effectiveness of our methodology. Source code is available at https://github.com/THUDM/MoELoRA_Riemannian.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2502.15828")
get_code_for_paper("2502.15828")
have("2502.15828")
Connect an agent — have() is free.