CarperAI/trlx

Collapse reference+learner hydra heads when using LoRa

Open

#320 aberto em 21 de fev. de 2023

Ver no GitHub
 (6 comments) (2 reactions) (0 assignees)Python (450 forks)batch import
contributions welcomefeature requestgood first issue

Métricas do repositório

Stars
 (4.184 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

🚀 The feature, motivation, and pitch

With additive (delta-style) parameter-efficient tuning methods such as LoRa, we should be able to make a slightly more mem-efficient hydra architecture by using a single block that does ~frozen_head + tunable_weights for the learner/policy head's fwd-pass and simply frozen_head for the reference, instead of maintaining 2x heads.

CC @LouisCastricato and @cat-state for pointing this out

Alternatives

No response

Additional context

No response

Guia do colaborador