File size: 1,321 Bytes
4a173e0
cdd31be
14dd762
cdd31be
14dd762
4a173e0
cdd31be
4a173e0
cdd31be
14dd762
cdd31be
 
 
 
 
 
4a173e0
 
cdd31be
14dd762
cdd31be
 
 
 
 
14dd762
cdd31be
 
 
 
 
 
14dd762
cdd31be
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
title: Code2LoRA Timeline
emoji: 🧬
colorFrom: indigo
colorTo: green
sdk: gradio
sdk_version: 5.50.0
app_file: app.py
pinned: true
license: mit
short_description: Generate a repo-specific LoRA at any commit and test it.
models:
  - code2lora/code2lora-gru
  - Qwen/Qwen2.5-Coder-1.5B
datasets:
  - code2lora/code2lora-evo
---

# Code2LoRA: watch an adapter learn a repository, commit by commit

Pick one of the held-out test repositories from
[RepoPeftBench](https://huggingface.co/datasets/code2lora/code2lora-evo), move through its commit history,
generate the Code2LoRA-Evo adapter at any commit, and compare the adapted
Qwen2.5-Coder-1.5B with the plain base model on the test assertions that commit
introduced, or on your own code prefix.

- **Adapt** runs the hypernetwork head live on the precomputed GRU state of the
  selected commit and injects the resulting rank-16 LoRA into the frozen base model.
- Cached predictions were produced on a GPU with exactly the same adapter, prompt
  (≤ 4,096 tokens) and scoring as the paper; **Run live** regenerates them here.
- `tools/` contains the scripts that built `data/` from the published dataset and
  checkpoint.

Paper: [arXiv 2606.06492](https://arxiv.org/abs/2606.06492) ·
Product: [code2lora.app](https://code2lora.app) ·
CLI: `pip install code2lora`