tofu icon indicating copy to clipboard operation
tofu copied to clipboard

Landing Page for TOFU

Results 16 tofu issues
Sort by recently updated
recently updated
newest added

I finetuned llama2 on the full dataset, ran gradient ascent on forget05, and then evaluated the unlearned model on forget05. Surprisingly, when I looked at the eval_log_forget.json file all I...

Getting below error while trying to train the finetuned (LoRA llama2) on forget set: `ValueError: Target module Dropout(p=0.05, inplace=False) is not supported. Currently, only the following modules are supported: `torch.nn.Linear`,...

![image](https://github.com/user-attachments/assets/63e88485-59b0-40f6-b6d5-da6dc9edd945) error raised when I was running forget.py

Hi, Thanks for sharing the code and models. I run the following command ``` master_port=18765 split=forget10 model=llama2-7b lr=2e-5 CUDA_VISIBLE_DEVICES=0,1,2,3 torchrun --nproc_per_node=4 --master_port=$master_port forget.py --config-name=forget.yaml split=${split} batch_size=4 gradient_accumulation_steps=4 model_family=${model} lr=${lr} ```...

which dataset config was used in leaderboard? Should I use forget10_perturbed or just forget10 or retain90? If I use forget10 dataset, how to set perturbed_answer_key and eval_task? ![image](https://github.com/user-attachments/assets/9d87ded6-355c-43b8-907b-e09f8cf9e99b)

I only have one GPU, so I used the command python finetune.py --config-name=finetune.yaml during the first step of fine-tuning. However, I encountered the error RuntimeError: 'weight' must be 2-D. Below...