nguyenthanhasia commited on
Commit
c7339b4
·
verified ·
1 Parent(s): 81ab96f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +77 -19
README.md CHANGED
@@ -1,19 +1,77 @@
1
- ---
2
- dataset_info:
3
- features:
4
- - name: sentence1
5
- dtype: string
6
- - name: sentence2
7
- dtype: string
8
- - name: label
9
- dtype: int64
10
- splits:
11
- - name: test
12
- num_bytes: 59102
13
- num_examples: 360
14
- download_size: 21525
15
- dataset_size: 59102
16
- ---
17
- # Dataset Card for "xNot360"
18
-
19
- [More Information needed](https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ## Dataset Description
2
+
3
+ [xNot360](https://arxiv.org/abs/2306.16638) is a dataset designed to evaluate the ability of large language models (LLMs) to handle logical negation. The "360" in the name reflects a comprehensive, all-encompassing approach to negation detection, emphasizing its importance across diverse contexts and sentence structures.
4
+
5
+ While LLMs can easily handle simple negations, such as using "not" or straightforward negation phrases, they often struggle with more complex structures. Logical negation is a challenging task, even for humans, which suggests that methods like RLHF (Reinforcement Learning from Human Feedback) may not be suitable. For this reason, xNot360 was created using classical logic as its foundation.
6
+
7
+ ### Key Characteristics
8
+
9
+ - **Logical Framework**: Adheres to classical logic principles to ensure consistency, including nuanced cases like conditional statements that often lead to errors.
10
+ - **Balanced Dataset**: Contains 360 samples, split equally into:
11
+ - 180 positive samples (sentence pairs that logically negate each other).
12
+ - 180 negative samples (sentence pairs that do not logically negate each other).
13
+ - **Templates**: Sentences are generated using diverse templates, with components logically negated.
14
+
15
+ ### Example Complexity
16
+
17
+ Consider the conditional statements:
18
+ - "If I study hard, I will pass the bar exam" (`A → B` or `¬A ∨ B`).
19
+ - "If I do not study hard, I will not pass the bar exam" (`¬A → ¬B` or `A ∨ ¬B`).
20
+
21
+ Although these sentences may appear to negate each other, their logical forms differ. Such examples demonstrate the dataset's focus on identifying subtle inconsistencies in logical negation.
22
+
23
+ ## Dataset Details
24
+
25
+ - **Language(s):** English
26
+ - **License:** Apache-2.0
27
+ - **Size:** 360 sentence pairs
28
+
29
+ ### Dataset Sources
30
+
31
+ The dataset was created using sentence templates and applying logical principles to construct positive and negative pairs. Classical logic served as the primary guideline for generating the data.
32
+
33
+ ## Uses
34
+
35
+ ### Direct Use
36
+
37
+ - Evaluating LLMs on logical negation tasks.
38
+ - Training and fine-tuning models to enhance their understanding of logical reasoning.
39
+ - Analyzing performance on complex language understanding tasks.
40
+
41
+ ### Out-of-Scope Use
42
+
43
+ - Applications unrelated to logical negation detection.
44
+ - Tasks that do not emphasize logical reasoning accuracy.
45
+
46
+ ## Dataset Structure
47
+
48
+ The dataset consists of sentence pairs with labels:
49
+ - **Positive Labels:** Indicate sentence pairs logically negate each other.
50
+ - **Negative Labels:** Indicate sentence pairs do not logically negate each other.
51
+
52
+ ### Example Data Point
53
+
54
+ | Sentence 1 | Sentence 2 | Label |
55
+ |-----------------------------------------|-----------------------------------------|---------|
56
+ | If I study hard, I will pass the exam. | If I do not study hard, I will not pass the exam. | Negative |
57
+
58
+ ## Bias, Risks, and Limitations
59
+
60
+ - The dataset focuses on logical negation and may not generalize to other linguistic phenomena.
61
+ - Templates may not encompass all real-world complexities.
62
+
63
+ ### Recommendations
64
+
65
+ Users should focus on the dataset's purpose: evaluating and improving LLMs' abilities in logical negation detection.
66
+
67
+ ## Citation
68
+
69
+ **BibTeX:**
70
+
71
+ ```bibtex
72
+ @article{nguyen2023negation,
73
+ title={A negation detection assessment of GPTs: analysis with the xNot360 dataset},
74
+ author={Nguyen, Ha Thanh and Goebel, Randy and Toni, Francesca and Stathis, Kostas and Satoh, Ken},
75
+ journal={arXiv preprint arXiv:2306.16638},
76
+ year={2023}
77
+ }