Sakana AIDoc-to-LoRA

Doc-to-LoRA for Mistral 7B

This trained hypernetwork creates adapters for mistralai/Mistral-7B-Instruct-v0.2. It is an auxiliary model, not a replacement copy of the base language model.

Research release

A document becomes a trained-model update

The hypernetwork compresses document information into a LoRA adapter. The target model can then answer without receiving the full document again.Doc-to-LoRA model method and distinction from Text-to-LoRA

Use the matching target checkpoint

Practical guidance. Load the named target model and its tokenizer. An adapter for another model may have incompatible layer shapes or behavior. Keep the adapter generator's terms separate from the target model's terms.

Specifications & access

Doc-to-LoRA for Mistral 7B specifications
DetailValue and conditions
StatusResearch release
AccessDownloadable
Model identifiersSakanaAI/doc-to-lora/mistral_7b_d2l
Target language modelmistralai/Mistral-7B-Instruct-v0.2Doc-to-LoRA for Mistral 7B released training arguments
Released directorymistral_7b_d2lDoc-to-LoRA released hypernetwork files
Weight termsNo explicit checkpoint license was identified in the reviewed weight repository.Doc-to-LoRA released hypernetwork files
Code licenseMITDoc-to-LoRA code license