Skip to content

feat: add ADAPT online reweighting weighter#54

Merged
haolpku merged 1 commit into
OpenDCAI:mainfrom
tongruiliu:main
Jun 17, 2026
Merged

feat: add ADAPT online reweighting weighter#54
haolpku merged 1 commit into
OpenDCAI:mainfrom
tongruiliu:main

Conversation

@tongruiliu

Copy link
Copy Markdown
Contributor

What

This PR add ADAPT, an online, similarity-based sample reweighting method (ICLR 2026) - as a new weighter.

Changes

  • weighter/adapt_weighter.py - AdaptWeighter (@register_weighter('adapt'))
  • weighter/init.py - register the weighter
  • configs/components.yaml - adapt preset
  • examples/train_lora/weighters/adapt.yaml - example config
  • skills/how_to_use.md - docs

Usage

dataflex-cli train examples/train_lora/weighters/adapt.yaml

@haolpku haolpku merged commit 1e14db6 into OpenDCAI:main Jun 17, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants