code: def generate_csv(csv_path, dataset):
      with open(csv_path, "w", newline="") as csvfile:
          writter = csv.writer(csvfile)
          writter.writerow(
              ["context", "question", "answer_text", "answer_start"]
          )
          for case in dataset:
              context = case["context"]
              question = case["question"]
              answer_text = case["answers"]["text"][0]
              answer_start = case["answers"]["answer_start"][0]
              writter.writerow(
                  [context, question, answer_text, answer_start]
              )
  
imports: from datasets import load_dataset
  import csv
  from happytransformer import HappyQuestionAnswering, QATrainArgs
label_desc: Use image node_id 2 for calling a global function with example usage: generate_csv(csv_path, dataset) without return types