code: def load_blbooks_genre_dataset():
      config_kwargs = {"name": "annotated_raw"}
      dataset = datasets.load_dataset(
          "blbooksgenre", split="train", **config_kwargs
      )
      grouping_col = "BL record ID"
      columns = {
          "text": dataset["Title"],
          BLBOOKS_LABEL: dataset["annotator_genre"],
          "Date of publication": dataset["Date of publication"],
          "annotator_country": dataset["annotator_country"],
          "annotator_place_pub": dataset["annotator_place_pub"],
          "annotated": dataset["annotated"],
          grouping_col: dataset[grouping_col],
      }
      dataset = pd.DataFrame(columns)
      # drop duplicate rows
      g = dataset.groupby(["BL record ID"])
      dataset = g.first().sort_index().reset_index().drop_duplicates()
      dataset = dataset[dataset.label != 1].reset_index(drop=True)
      dataset = dataset.drop(columns=grouping_col)
      return dataset
  
imports: import os
  import zipfile
  import datasets
  import pandas
  from transformers import AutoModelForSequenceClassification, AutoTokenizer, pipeline
  from raiutils.common.retries import retry_function
  from responsibleai_text.common.constants import QuestionAnsweringFields
label_desc: Use image node_id 4 for calling a global function with example usage: load_blbooks_genre_dataset() and returns: dataset