Dataset Viewer
Full Screen
The dataset viewer is not available for this split.
Cannot extract the features (columns) for the split 'train' of the config 'default' of the dataset.
Error code:   FeaturesError
Exception:    ArrowInvalid
Message:      JSON parse error: Column(/choices) changed from array to string in row 6
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/packaged_modules/json/json.py", line 160, in _generate_tables
                  df = pandas_read_json(f)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/packaged_modules/json/json.py", line 38, in pandas_read_json
                  return pd.read_json(path_or_buf, **kwargs)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/pandas/io/json/_json.py", line 815, in read_json
                  return json_reader.read()
                File "/src/services/worker/.venv/lib/python3.9/site-packages/pandas/io/json/_json.py", line 1025, in read
                  obj = self._get_object_parser(self.data)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/pandas/io/json/_json.py", line 1051, in _get_object_parser
                  obj = FrameParser(json, **kwargs).parse()
                File "/src/services/worker/.venv/lib/python3.9/site-packages/pandas/io/json/_json.py", line 1187, in parse
                  self._parse()
                File "/src/services/worker/.venv/lib/python3.9/site-packages/pandas/io/json/_json.py", line 1403, in _parse
                  ujson_loads(json, precise_float=self.precise_float), dtype=None
              ValueError: Trailing data
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/split/first_rows.py", line 233, in compute_first_rows_from_streaming_response
                  iterable_dataset = iterable_dataset._resolve_features()
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 2998, in _resolve_features
                  features = _infer_features_from_batch(self.with_format(None)._head())
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 1918, in _head
                  return _examples_to_batch(list(self.take(n)))
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 2093, in __iter__
                  for key, example in ex_iterable:
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 1576, in __iter__
                  for key_example in islice(self.ex_iterable, self.n - ex_iterable_num_taken):
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 279, in __iter__
                  for key, pa_table in self.generate_tables_fn(**gen_kwags):
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/packaged_modules/json/json.py", line 163, in _generate_tables
                  raise e
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/packaged_modules/json/json.py", line 137, in _generate_tables
                  pa_table = paj.read_json(
                File "pyarrow/_json.pyx", line 308, in pyarrow._json.read_json
                File "pyarrow/error.pxi", line 154, in pyarrow.lib.pyarrow_internal_check_status
                File "pyarrow/error.pxi", line 91, in pyarrow.lib.check_status
              pyarrow.lib.ArrowInvalid: JSON parse error: Column(/choices) changed from array to string in row 6

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

YakugakuQA

YakugakuQA is a question answering dataset, consisting of 13 years (2012-2024) of past questions and answers from the Japanese National License Examination for Pharmacists. It contains over 4K pairs of questions, answers, and commentaries.

2024-12-10: Dataset release.

Dataset Details

Dataset Description

  • Curated by: EQUES Inc.
  • Funded by [optional]: GENIAC Project
  • Shared by [optional]:
  • Language(s) (NLP): Japanese
  • License: cc-by-4.0

Uses

Direct Use

YakugakuQA is intended to be used as a benchmark for evaluating the knowledge of large language models (LLMs) in the field of pharmacy.

Out-of-Scope Use

Any usage except above.

Dataset Structure

YakugakuQA consists of two files: data.jsonl, which contains the questions, answers, and commentaries, and metadata.jsonl, which holds supplementary information about the question categories and additional details related to the answers.

data.jsonl

  • "problem_id" : unique ID, represented by a six-digit integer. The higher three digits indicate the exam number, while the lower three digits represent the question number within that specific exam.
  • "problem_text" : problem statement.
  • "choices" : choices corresponding to each question. Note that the Japanese National License Examination for Pharmacists is a multiple-choice format examination.
  • "text_only" : whether the question includes images or tables. The corresponding images or tables are not included in this dataset, even if text_only is marked as false.
  • "answer" : list of indices of the correct choices. Note the following points:
    • the choices are 1-indexed.
    • multiple choices may be included, depending on the question format.
    • "解なし" indicates there is no correct choice. The reason for this is documented in metadata.jsonl in most cases.
  • "comment" : commentary text.

metadata.jsonl

  • "problem_id" : see above.
  • "category" : question caterogy. One of the ["Physics", "Chemistry", "Biology", "Hygiene", "Pharmacology", "Pharmacy", "Pathology", "Law", "Practice"].
  • "note" : additional information about the question.

Dataset Creation

Curation Rationale

YakugakuQA aims to provide a Japanese-language evaluation benchmark for assessing the domain knowledge of LLMs.

Source Data

Data Collection and Processing

All questions, answers and commentaries for the target years have been collected. The parsing process has been performed automatically.

Who are the source data producers?

All question, answers, and commentaries have been obtained from yakugaku lab. All metadata has been obtained from the website of the Ministry of Health, Labour and Welfare. It should be noted that the original questions and answers are also sourced from materials published by the Ministry of Health, Labour and Welfare.

Citation

BibTeX:

Coming soon...

Contributions

Thanks to @shinnosukeono for adding this dataset.

Downloads last month
14