|
{ |
|
"results": { |
|
"polemo2_in": { |
|
"f1,score-first": 0.0, |
|
"f1_stderr,score-first": 0.0, |
|
"accuracy,score-first": 0.0, |
|
"accuracy_stderr,score-first": 0.0, |
|
"alias": "polemo2_in" |
|
} |
|
}, |
|
"configs": { |
|
"polemo2_in": { |
|
"task": "polemo2_in", |
|
"group": [ |
|
"polemo2" |
|
], |
|
"dataset_path": "allegro/klej-polemo2-in", |
|
"training_split": "train", |
|
"validation_split": "validation", |
|
"test_split": "test", |
|
"doc_to_text": "Opinia: \"{{sentence}}\"\nOkreśl sentyment podanej opinii. Możliwe odpowiedzi:\nA - Neutralny\nB - Negatywny\nC - Pozytywny\nD - Niejednoznaczny\nPrawidłowa odpowiedź:", |
|
"doc_to_target": "{{['__label__meta_zero', '__label__meta_minus_m', '__label__meta_plus_m', '__label__meta_amb'].index(target)}}", |
|
"description": "", |
|
"target_delimiter": " ", |
|
"fewshot_delimiter": "\n\n", |
|
"num_fewshot": 5, |
|
"metric_list": [ |
|
{ |
|
"metric": "f1", |
|
"aggregation": "mean", |
|
"higher_is_better": true, |
|
"hf_evaluate": true, |
|
"average": "micro" |
|
}, |
|
{ |
|
"metric": "accuracy", |
|
"aggregation": "mean", |
|
"higher_is_better": true |
|
} |
|
], |
|
"output_type": "generate_until", |
|
"generation_kwargs": { |
|
"until": [ |
|
".", |
|
"," |
|
], |
|
"do_sample": false, |
|
"temperature": 0.0, |
|
"max_gen_toks": 50 |
|
}, |
|
"repeats": 1, |
|
"filter_list": [ |
|
{ |
|
"name": "score-first", |
|
"filter": [ |
|
{ |
|
"function": "regex", |
|
"regex_pattern": "(\\b[ABCD]\\b)" |
|
}, |
|
{ |
|
"function": "take_first" |
|
}, |
|
{ |
|
"function": "map", |
|
"mapping_dict": { |
|
"A": 0, |
|
"B": 1, |
|
"C": 2, |
|
"D": 3 |
|
}, |
|
"default_value": -1 |
|
}, |
|
{ |
|
"function": "take_first" |
|
} |
|
] |
|
} |
|
], |
|
"should_decontaminate": true, |
|
"doc_to_decontamination_query": "{{sentence}}", |
|
"metadata": { |
|
"version": 1.0 |
|
} |
|
} |
|
}, |
|
"versions": { |
|
"polemo2_in": 1.0 |
|
}, |
|
"n-shot": { |
|
"polemo2_in": 5 |
|
}, |
|
"config": { |
|
"model": "hf", |
|
"model_args": "pretrained=Voicelab/trurl-2-7b,dtype=bfloat16", |
|
"batch_size": "4", |
|
"batch_sizes": [], |
|
"device": "cuda:0", |
|
"use_cache": null, |
|
"limit": null, |
|
"bootstrap_iters": 100000, |
|
"gen_kwargs": null |
|
}, |
|
"git_hash": null |
|
} |