Skip to content

I'm having trouble running the distill_llama.py. #8

@foreverboy1989

Description

@foreverboy1989

I think there's one experiment missing in the experiment config folder: eval_Scrolls.yaml, which calls OurTrainer in the finetune_seq2seq.py in the eval phase, which uses dataset scrolls, but doesn't precede the operation of importing datasets.
Traceback (most recent call last): File "/data1/lxw/code/lolcats/distill_llama.py", line 469, in <module> main() File "/data1/lxw/code/lolcats/distill_llama.py", line 393, in main final_metrics = finetune_trainer.evaluate(model, step=-1, max_batches=None, prefix='final') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data1/lxw/code/lolcats/src/trainer/finetune_seq2seq.py", line 68, in evaluate return self.eval_step(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data1/lxw/code/lolcats/src/trainer/finetune_seq2seq.py", line 94, in eval_step raise ValueError("scrolls_metric is not set in the dataset") ValueError: scrolls_metric is not set in the dataset

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions