Commit 3e8135ce authored by Baber's avatar Baber
Browse files

Merge branch 'main' into comma

parents 8e560c96 0c134ee9
group: mmlu_prox_lite_vi
task:
- mmlu_prox_lite_vi_biology
- mmlu_prox_lite_vi_business
- mmlu_prox_lite_vi_chemistry
- mmlu_prox_lite_vi_computer_science
- mmlu_prox_lite_vi_economics
- mmlu_prox_lite_vi_engineering
- mmlu_prox_lite_vi_health
- mmlu_prox_lite_vi_history
- mmlu_prox_lite_vi_law
- mmlu_prox_lite_vi_math
- mmlu_prox_lite_vi_other
- mmlu_prox_lite_vi_philosophy
- mmlu_prox_lite_vi_physics
- mmlu_prox_lite_vi_psychology
aggregate_metric_list:
- aggregation: mean
metric: exact_match
weight_by_size: true
filter_list: custom-extract
metadata:
version: 0.0
group: mmlu_prox_vi
task:
- mmlu_prox_vi_biology
- mmlu_prox_vi_business
- mmlu_prox_vi_chemistry
- mmlu_prox_vi_computer_science
- mmlu_prox_vi_economics
- mmlu_prox_vi_engineering
- mmlu_prox_vi_health
- mmlu_prox_vi_history
- mmlu_prox_vi_law
- mmlu_prox_vi_math
- mmlu_prox_vi_other
- mmlu_prox_vi_philosophy
- mmlu_prox_vi_physics
- mmlu_prox_vi_psychology
aggregate_metric_list:
- aggregation: mean
metric: exact_match
weight_by_size: true
filter_list: custom-extract
metadata:
version: 0.0
dataset_path: li-lab/MMLU-ProX-Lite
dataset_name: vi
test_split: test
fewshot_split: validation
fewshot_config:
sampler: first_n
doc_to_text: !function utils.fewshot_to_text
doc_to_target: ""
output_type: generate_until
doc_to_text: !function utils.doc_to_text
doc_to_target: answer
filter_list:
- name: "custom-extract"
filter:
- function: "regex"
regex_pattern: 'Câu trả lời là \(?([ABCDEFGHIJ])\)?'
- function: "take_first"
generation_kwargs:
until:
- "</s>"
- "Q:"
- "Câu hỏi:"
- "<|im_end|>"
do_sample: false
temperature: 0.0
max_gen_toks: 2048
num_fewshot: 5
metric_list:
- metric: exact_match
aggregation: mean
higher_is_better: true
ignore_case: true
ignore_punctuation: true
metadata:
version: 0.0
dataset_path: li-lab/MMLU-ProX
dataset_name: vi
test_split: test
fewshot_split: validation
fewshot_config:
sampler: first_n
doc_to_text: !function utils.fewshot_to_text
doc_to_target: ""
output_type: generate_until
doc_to_text: !function utils.doc_to_text
doc_to_target: answer
filter_list:
- name: "custom-extract"
filter:
- function: "regex"
regex_pattern: 'Câu trả lời là \(?([ABCDEFGHIJ])\)?'
- function: "take_first"
generation_kwargs:
until:
- "</s>"
- "Q:"
- "Câu hỏi:"
- "<|im_end|>"
do_sample: false
temperature: 0.0
max_gen_toks: 2048
num_fewshot: 5
metric_list:
- metric: exact_match
aggregation: mean
higher_is_better: true
ignore_case: true
ignore_punctuation: true
metadata:
version: 0.0
description: 'Dưới đây câu hỏi trắc nghiệm về Sinh học (kèm đáp án). Vui lòng suy
nghĩ từng bước, sau đó kết thúc câu trả lời của bạn bằng "Câu trả lời (X)", trong
đó X chữ cái của lựa chọn đúng.
'
include: _vi_lite_template_yaml
task: mmlu_prox_lite_vi_biology
task_alias: biology
process_docs: !function utils.process_biology
description: 'Dưới đây câu hỏi trắc nghiệm về Kinh doanh (kèm đáp án). Vui lòng
suy nghĩ từng bước, sau đó kết thúc câu trả lời của bạn bằng "Câu trả lời (X)",
trong đó X chữ cái của lựa chọn đúng.
'
include: _vi_lite_template_yaml
task: mmlu_prox_lite_vi_business
task_alias: business
process_docs: !function utils.process_business
description: 'Dưới đây câu hỏi trắc nghiệm về Hóa học (kèm đáp án). Vui lòng suy
nghĩ từng bước, sau đó kết thúc câu trả lời của bạn bằng "Câu trả lời (X)", trong
đó X chữ cái của lựa chọn đúng.
'
include: _vi_lite_template_yaml
task: mmlu_prox_lite_vi_chemistry
task_alias: chemistry
process_docs: !function utils.process_chemistry
description: 'Dưới đây câu hỏi trắc nghiệm về Khoa học máy tính (kèm đáp án). Vui
lòng suy nghĩ từng bước, sau đó kết thúc câu trả lời của bạn bằng "Câu trả lời
(X)", trong đó X chữ cái của lựa chọn đúng.
'
include: _vi_lite_template_yaml
task: mmlu_prox_lite_vi_computer_science
task_alias: computer_science
process_docs: !function utils.process_computer_science
description: 'Dưới đây câu hỏi trắc nghiệm về Kinh tế học (kèm đáp án). Vui lòng
suy nghĩ từng bước, sau đó kết thúc câu trả lời của bạn bằng "Câu trả lời (X)",
trong đó X chữ cái của lựa chọn đúng.
'
include: _vi_lite_template_yaml
task: mmlu_prox_lite_vi_economics
task_alias: economics
process_docs: !function utils.process_economics
description: 'Dưới đây câu hỏi trắc nghiệm về Kỹ thuật (kèm đáp án). Vui lòng suy
nghĩ từng bước, sau đó kết thúc câu trả lời của bạn bằng "Câu trả lời (X)", trong
đó X chữ cái của lựa chọn đúng.
'
include: _vi_lite_template_yaml
task: mmlu_prox_lite_vi_engineering
task_alias: engineering
process_docs: !function utils.process_engineering
description: 'Dưới đây câu hỏi trắc nghiệm về Sức khỏe (kèm đáp án). Vui lòng suy
nghĩ từng bước, sau đó kết thúc câu trả lời của bạn bằng "Câu trả lời (X)", trong
đó X chữ cái của lựa chọn đúng.
'
include: _vi_lite_template_yaml
task: mmlu_prox_lite_vi_health
task_alias: health
process_docs: !function utils.process_health
description: 'Dưới đây câu hỏi trắc nghiệm về Lịch sử (kèm đáp án). Vui lòng suy
nghĩ từng bước, sau đó kết thúc câu trả lời của bạn bằng "Câu trả lời (X)", trong
đó X chữ cái của lựa chọn đúng.
'
include: _vi_lite_template_yaml
task: mmlu_prox_lite_vi_history
task_alias: history
process_docs: !function utils.process_history
description: 'Dưới đây câu hỏi trắc nghiệm về Luật pháp (kèm đáp án). Vui lòng
suy nghĩ từng bước, sau đó kết thúc câu trả lời của bạn bằng "Câu trả lời (X)",
trong đó X chữ cái của lựa chọn đúng.
'
include: _vi_lite_template_yaml
task: mmlu_prox_lite_vi_law
task_alias: law
process_docs: !function utils.process_law
description: 'Dưới đây câu hỏi trắc nghiệm về Toán học (kèm đáp án). Vui lòng suy
nghĩ từng bước, sau đó kết thúc câu trả lời của bạn bằng "Câu trả lời (X)", trong
đó X chữ cái của lựa chọn đúng.
'
include: _vi_lite_template_yaml
task: mmlu_prox_lite_vi_math
task_alias: math
process_docs: !function utils.process_math
description: 'Dưới đây câu hỏi trắc nghiệm về Khác (kèm đáp án). Vui lòng suy nghĩ
từng bước, sau đó kết thúc câu trả lời của bạn bằng "Câu trả lời (X)", trong
đó X chữ cái của lựa chọn đúng.
'
include: _vi_lite_template_yaml
task: mmlu_prox_lite_vi_other
task_alias: other
process_docs: !function utils.process_other
description: 'Dưới đây câu hỏi trắc nghiệm về Triết học (kèm đáp án). Vui lòng
suy nghĩ từng bước, sau đó kết thúc câu trả lời của bạn bằng "Câu trả lời (X)",
trong đó X chữ cái của lựa chọn đúng.
'
include: _vi_lite_template_yaml
task: mmlu_prox_lite_vi_philosophy
task_alias: philosophy
process_docs: !function utils.process_philosophy
description: 'Dưới đây câu hỏi trắc nghiệm về Vật học (kèm đáp án). Vui lòng
suy nghĩ từng bước, sau đó kết thúc câu trả lời của bạn bằng "Câu trả lời (X)",
trong đó X chữ cái của lựa chọn đúng.
'
include: _vi_lite_template_yaml
task: mmlu_prox_lite_vi_physics
task_alias: physics
process_docs: !function utils.process_physics
description: 'Dưới đây câu hỏi trắc nghiệm về Tâm học (kèm đáp án). Vui lòng
suy nghĩ từng bước, sau đó kết thúc câu trả lời của bạn bằng "Câu trả lời (X)",
trong đó X chữ cái của lựa chọn đúng.
'
include: _vi_lite_template_yaml
task: mmlu_prox_lite_vi_psychology
task_alias: psychology
process_docs: !function utils.process_psychology
description: 'Dưới đây câu hỏi trắc nghiệm về Sinh học (kèm đáp án). Vui lòng suy
nghĩ từng bước, sau đó kết thúc câu trả lời của bạn bằng "Câu trả lời (X)", trong
đó X chữ cái của lựa chọn đúng.
'
include: _vi_template_yaml
task: mmlu_prox_vi_biology
task_alias: biology
process_docs: !function utils.process_biology
description: 'Dưới đây câu hỏi trắc nghiệm về Kinh doanh (kèm đáp án). Vui lòng
suy nghĩ từng bước, sau đó kết thúc câu trả lời của bạn bằng "Câu trả lời (X)",
trong đó X chữ cái của lựa chọn đúng.
'
include: _vi_template_yaml
task: mmlu_prox_vi_business
task_alias: business
process_docs: !function utils.process_business
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment