Run this model with HF Jobs

Run code2lora/code2lora-direct 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/code2lora/code2lora-direct. 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/code2lora/code2lora-direct 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.

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 for the trainer code.

Companion model

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

Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support