Skip to content

Commit

Permalink
minor fix to benchmark launcher script
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreFCruz committed Jun 25, 2024
1 parent 574eb71 commit b9c69af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions folktexts/benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,14 +384,14 @@ def make_acs_benchmark(
# Fetch ACS task and dataset
acs_task = ACSTaskMetadata.get_task(task_name)
acs_dataset = ACSDataset.make_from_task(
task_obj=acs_task,
task=acs_task,
cache_dir=data_dir,
**acs_dataset_configs)

return cls.make_benchmark(
model=model,
tokenizer=tokenizer,
task_obj=acs_task,
task=acs_task,
dataset=acs_dataset,
config=config,
)
Expand Down

0 comments on commit b9c69af

Please sign in to comment.