Edit model card
YAML Metadata Warning: empty or missing yaml metadata in repo card (https://huggingface.co/docs/hub/model-cards#model-card-metadata)
from datasets import load_dataset
public = load_dataset("nguyenthanhdo/zac2023-math", split="train")

prompt_template = (
    "Below is an instruction that describes a task. "
    "Write a response that appropriately completes the request.\n\n"
    "### Instruction:\n{instruction}\n\n### Response:\n"
)

def form_instruction(example):
    question = example["question"]
    choices = example["choices"]
    choices = "\n".join(choices).strip()
    instruction_template = (
        "Dưới đây là một câu hỏi trắc nghiệm toán học. "
        "Bạn cần phải đưa ra lời giải từng bước trong vòng 200 chữ. "
        'Cuối cùng lựa chọn một đáp án viết dưới dạng "Đáp án: <chữ cái đáp án>".\n'
        "Câu hỏi: {question}\n"
        "{choices}\nBài giải:"
    )
    instruction = instruction_template.format(question=question, choices=choices)
    return instruction

example = public[88]
example_instruction = form_instruction(example)
example_prompt = prompt_template.format(instruction=example_instruction)
print(example_prompt)
"""
Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
Dưới đây là một câu hỏi trắc nghiệm toán học. Bạn cần phải đưa ra lời giải từng bước trong vòng 200 chữ. Cuối cùng lựa chọn một đáp án viết dưới dạng "Đáp án: <chữ cái đáp án>".
Câu hỏi: Số nào dưới đây có cùng giá trị với 0,08?
A. 0,800
B. 8,00
C. 0,80
D. 0,080
Bài giải:

### Response:
"""
Downloads last month
0
Unable to determine this model's library. Check the docs .