Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
D

doc-to-lora

> AI 编程
Open source

Hypernetworks that update LLMs to remember factual information

792 stars0 likes1 views
WebsiteGitHub

About

Hypernetworks that update LLMs to remember factual information


️ Installation

bash
curl -LsSf https://astral.sh/uv/install.sh | sh
./install.sh

Pre-Trained Models

uv run huggingface-cli login
uv run huggingface-cli download SakanaAI/doc-to-lora --local-dir trained_d2l --include "*/"

Python API Usage

…

Interactive Demo

bash
uv run demo/app.py

Experimental Scripts

To run any of the following scripts, use uv run $PATH_TO_SCRIPT from the root of this project.

Experiment Data prep Training Evaluation Notes
Main experiment scripts/main_exp/0-download_data.sh scripts/main_exp/1-train.sh scripts/main_exp/eval/*.sh Downloading data is fastest; regenerate only if you need fresh synthetic data. Evaluation scripts reproduce the main paper metrics.
NIAH scripts/niah/0-gen_data.sh scripts/niah/1-train.sh scripts/niah/2-eval.sh Run the scripts in order; data generation only needs to happen once

Self-Generated Data Viewer

After downloading/generating the data, we can see samples of the data using this script.

bash
uv run webui/self_gen_viewer.py

See more info at webui/SELF_GEN_VIEWER.md.

Citation

bibtex
@inproceedings{charakorn2026doctolora,
  title       ={Doc-to-Lo{RA}: Learning to Instantly Internalize Contexts},
  author      ={Rujikorn Charakorn and Edoardo Cetin and Shinnosuke Uesaka and Robert Tjarko Lange},
  booktitle   ={Forty-third International Conference on Machine Learning},
  year        ={2026},
  url         ={https://openreview.net/forum?id=iW1oBBO72S}
}

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Pythonaiai-agenthypernetworksllm

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
CategoryAI 编程
PricingOpen source

> Related tools

G
GitHub Copilot
GitHub 官方 AI 编程助手,覆盖补全、Chat 与 Agent 模式。
C
Cursor
AI 原生代码编辑器,对话改代码、多文件 Agent 与规则体系是其核心。
S
skills
Skills for Real Engineers. Straight from my .agents directory.