8000 [AIR][Tune] Provide user guide on how to build active learning on AIR · Issue #30157 · ray-project/ray · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[AIR][Tune] Provide user guide on how to build active learning on AIR #30157
Open
@jianoaix

Description

@jianoaix

We have users building active learning in the following pattern:

  • Create 3 datasets: train_ds, eval_ds, active_pool_ds
  • Train a base model with <train_ds, eval_ds>
    • Load a pretained model (e.g. HuggingFace transformer)
    • Train it with <train_ds, eval_ds>
    • Save the trained model
  • Run N trials:
    • Create a trial_train_ds by sampling active_pool_ds
    • Train a model from base model, with <trial_train_ds, eval_ds>
      • Load the base model trained above
      • Train it with <trial_train_ds, eval_ds>
      • Save the trained model

This use case involves the active learning + pre-tained model fine-tuning. In particular, it will use a feature in Tune which treats Dataset as hyperparameters.

cc @xwjiang2010 @Yard1

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issue, but not time-criticaldocsAn issue or change related to documentationgood-first-issueGreat starter issue for someone just starting to contribute to Raypending-cleanupThis issue is pending cleanup. It will be removed in 2 weeks after being assigned.ray-team-createdRay Team createdtrainRay Train Related IssuetuneTune-related issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0