Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,93 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
---
|
| 4 |
+
# Semantic Integrity Analysis Dataset
|
| 5 |
+
|
| 6 |
+
## Overview
|
| 7 |
+
|
| 8 |
+
This dataset is designed for detecting semantic integrity violations between sentence pairs.
|
| 9 |
+
|
| 10 |
+
Each data instance contains two sentences and a label indicating the semantic relationship between them.
|
| 11 |
+
|
| 12 |
+
The dataset supports multi-class text pair classification.
|
| 13 |
+
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
## Task Description
|
| 17 |
+
|
| 18 |
+
Given two sentences (sentence1 and sentence2), the model must classify the relationship as:
|
| 19 |
+
|
| 20 |
+
- 0 → Contradiction
|
| 21 |
+
- 1 → Inconsistency
|
| 22 |
+
- 2 → Duplication
|
| 23 |
+
|
| 24 |
+
This task is similar to Natural Language Inference (NLI), but focuses on semantic validation within structured documents.
|
| 25 |
+
|
| 26 |
+
---
|
| 27 |
+
|
| 28 |
+
## Dataset Structure
|
| 29 |
+
|
| 30 |
+
Each row contains:
|
| 31 |
+
|
| 32 |
+
- sentence1 (string)
|
| 33 |
+
- sentence2 (string)
|
| 34 |
+
- label (integer)
|
| 35 |
+
|
| 36 |
+
Example:
|
| 37 |
+
|
| 38 |
+
sentence1: "The report was submitted in 2022."
|
| 39 |
+
sentence2: "The report was submitted in 2023."
|
| 40 |
+
label: 1
|
| 41 |
+
|
| 42 |
+
---
|
| 43 |
+
|
| 44 |
+
## Label Description
|
| 45 |
+
|
| 46 |
+
| Label | Category | Meaning |
|
| 47 |
+
|-------|-----------------|---------|
|
| 48 |
+
| 0 | Contradiction | Opposite meaning between sentences |
|
| 49 |
+
| 1 | Inconsistency | Conflicting details or mismatched facts |
|
| 50 |
+
| 2 | Duplication | Same or nearly same meaning |
|
| 51 |
+
|
| 52 |
+
---
|
| 53 |
+
|
| 54 |
+
## Data Source
|
| 55 |
+
|
| 56 |
+
The dataset was created from four structured documents (doc1, doc2, doc3, doc4).
|
| 57 |
+
|
| 58 |
+
Sentence pairs were extracted and manually annotated.
|
| 59 |
+
|
| 60 |
+
---
|
| 61 |
+
|
| 62 |
+
## Annotation Process
|
| 63 |
+
|
| 64 |
+
Annotation was performed manually based on semantic relationship guidelines.
|
| 65 |
+
|
| 66 |
+
Each sentence pair was reviewed and labeled into one of three categories.
|
| 67 |
+
|
| 68 |
+
---
|
| 69 |
+
|
| 70 |
+
## Intended Use
|
| 71 |
+
|
| 72 |
+
This dataset can be used for:
|
| 73 |
+
|
| 74 |
+
- Fine-tuning transformer models
|
| 75 |
+
- Semantic validation systems
|
| 76 |
+
- Document integrity checking
|
| 77 |
+
- NLP research on sentence-pair classification
|
| 78 |
+
|
| 79 |
+
---
|
| 80 |
+
|
| 81 |
+
## Limitations
|
| 82 |
+
|
| 83 |
+
- Limited dataset size
|
| 84 |
+
- Domain-specific content may reduce generalization
|
| 85 |
+
- Manual annotation may introduce bias
|
| 86 |
+
|
| 87 |
+
---
|
| 88 |
+
|
| 89 |
+
## Ethical Considerations
|
| 90 |
+
|
| 91 |
+
The dataset does not contain sensitive personal information.
|
| 92 |
+
|
| 93 |
+
It is intended for research and educational use only.
|