File size: 818 Bytes
2728b31
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
license: mit
tags: [code, lora, hypernetwork, peft]
---

# Code2LoRA — direct-projection hypernetwork

Final checkpoint of the **direct-projection** Code2LoRA hypernetwork used in
the paper. Maps a repository-level embedding into a rank-16 LoRA adapter for
`Qwen/Qwen2.5-Coder-1.5B` in a single forward pass.

## Files

| File | Description |
|---|---|
| `code2lora_direct.pt` | Trained `Code2LoRAHead` weights (~2.7 GB, fp32). Loaded with `torch.load(map_location="cpu")`. |

## Training recipe

* 3 epochs on the `code2lora/code2lora-data-snapshots` dataset.
* AdamW + cosine schedule, max-seq-len 8192, bf16, single H100 80 GB.
* See [`code2lora/code2lora`](https://github.com/) for the trainer code.

## Companion model

`code2lora/code2lora-gru` -- the streaming-recurrent variant trained on
commit deltas.