Skip to content
Snippets Groups Projects
Commit 03dc8efa authored by Riko Corwin Uphoff's avatar Riko Corwin Uphoff
Browse files

Fixed naming error

parent a5a95127
Branches
No related tags found
No related merge requests found
Pipeline #25422 passed
......@@ -28,7 +28,7 @@ def get_model(args):
if args.model == "roberta":
num_labels = 1 if args.dataset == "glue_stsb" else 2 # TODO might be wrong
config = AutoConfig.from_pretrained(
args.model_name_or_path,
"roberta-base",
num_labels=num_labels,
finetuning_task=arg_map[args.dataset][1],
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment