The LogiQA dataset is a collection of questions and answers designed to test the ability of natural language processing models to perform logical reasoning. The dataset in LangTest consists of 1000 QA instances covering multiple types of deductive reasoning, sourced from expert-written questions for testing human logical reasoning. The dataset is intended to be a challenging benchmark for machine reading comprehension models and to encourage the development of models that can perform complex logical reasoning and inference. Results show that state-of-the-art neural models perform by far worse than human ceiling 1234.
You can see which subsets and splits are available below.
|test||Testing set from the LogiQA dataset, containing 1000 question answers examples.|
|test-tiny||Truncated version of the test set from the LogiQA dataset, containing 50 question and answers examples.|
In the evaluation process, we start by fetching original_context and original_question from the dataset. The model then generates an expected_result based on this input. To assess model robustness, we introduce perturbations to the original_context and original_question, resulting in perturbed_context and perturbed_question. The model processes these perturbed inputs, producing an actual_result. The comparison between the expected_result and actual_result is conducted using the QAEvalChain approach from the LangChain library. Alternatively, users can employ metrics like String Distance or Embedding Distance to evaluate the model’s performance in the Question-Answering Task within the robustness category.For a more in-depth exploration of these approaches, you can refer to this notebook discussing these three methods.
|robustness||add_ocr_typo||In the planning of a new district in a township, it was decided to build a special community in the southeast, northwest, centered on the citizen park. These four communities are designated as cultural area, leisure area, commercial area and administrative service area. It is known that the administrative service area is southwest of the cultural area, and the cultural area is southeast of the leisure area.||Based on the above statement, which of the following can be derived?
A. Civic Park is north of the administrative service area.
B. The leisure area is southwest of the cultural area.
C. The cultural district is in the northeast of the business district.
D. The business district is southeast of the leisure area.
|i^n tle planning of a neAv district in a township, i^t was decided t^o huild a lpecial communitv in tle southeast, northwest, centered on tle citizcn park. theffe f0ur communities are designated as cultural area, leisure area, c0mmercial area a^d administrative scrvicc area. It is known tiiat tle administrative scrvicc area is southwest of tle cultural area, a^d tle cultural area is southeast of tle leisure area.||Based on tbe abovc ftatcment, whicb of tbe following c^an be derived?
A. Civic Park is noith of tbe administrative servicc area.
B. tbe leisure area is southwest of tbe cultural area.
C. tbe cultural district is i^n tbe northeast of tbe busincss district.
D. tbe busincss district is southeast of tbe leisure area.
|B. The leisure area is southwest of the cultural area.||B. The leisure area is southwest of the cultural area.||True|
Generated Results for