| Argument |
Description and examples |
trainer |
Overall trainer or unlearning method selection, decides the finetuning algorithm. Example: trainer=NPO or trainer=finetune |
trainer.args |
Main training hyperparameters like per_device_train_batch_size, per_device_eval_batch_size, gradient_accumulation_steps, learning_rate, num_train_epochs, optim and other HuggingFace TrainingArguments.
|
trainer.method_args |
Method-specific parameters for unlearning trainers. Example: retain_loss_type, NPO hyperparams like gamma, alpha, beta etc. |
###
| Argument |
Description and examples |
data |
Overall data configuration/format. Example: data=unlearn, data=finetune. |
data.forget, data.retain, data.anchor etc. |
Set sub-datasets in the overall dataset using data.forget=MUSE_forget data.retain=MUSE_retain, set which sub-dataset to index over (others are randomly sampled) using data.anchor=forget |
data_split/forget_split/retain_split |
These arguments are custom to specific datasets and are used to populate dataset paths.
data_split specifies the overall dataset split or type. Example: data_split=News or data_split=Books
forget_split/retain_split splits are used to use various sub-parts of the dataset. Example: forget_split=forget01 retain_split=retain99 |
###