update readme.md
Browse files
README.md
CHANGED
|
@@ -1,6 +1,5 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
-
extra_gated_prompt: "You agree to not use the dataset to conduct experiments that cause harm to human subjects, and to provide proper citation when using this dataset in your work."
|
| 4 |
extra_gated_fields:
|
| 5 |
Name: text
|
| 6 |
Affilation: text
|
|
@@ -9,10 +8,51 @@ extra_gated_fields:
|
|
| 9 |
Specific date: date_picker
|
| 10 |
I want to use this dataset for:
|
| 11 |
type: select
|
| 12 |
-
options:
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
I agree to use this dataset for non-commercial use ONLY: checkbox
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
|
|
|
| 3 |
extra_gated_fields:
|
| 4 |
Name: text
|
| 5 |
Affilation: text
|
|
|
|
| 8 |
Specific date: date_picker
|
| 9 |
I want to use this dataset for:
|
| 10 |
type: select
|
| 11 |
+
options:
|
| 12 |
+
- Research
|
| 13 |
+
- Education
|
| 14 |
+
- label: Other
|
| 15 |
+
value: other
|
| 16 |
I agree to use this dataset for non-commercial use ONLY: checkbox
|
| 17 |
+
task_categories:
|
| 18 |
+
- sentence-similarity
|
| 19 |
+
language:
|
| 20 |
+
- ar
|
| 21 |
+
tags:
|
| 22 |
+
- STS
|
| 23 |
+
- Embeddings
|
| 24 |
+
- Arabic
|
| 25 |
+
pretty_name: Arab3M-Triplets
|
| 26 |
+
size_categories:
|
| 27 |
+
- 1M<n<10M
|
| 28 |
---
|
| 29 |
+
|
| 30 |
+
# Contrastive Learning Dataset
|
| 31 |
+
|
| 32 |
+
This dataset is designed for training and evaluating models using contrastive learning techniques, particularly in the context of natural language understanding. The dataset consists of triplets: an anchor sentence, a positive sentence, and a negative sentence. The goal is to encourage models to learn meaningful representations by distinguishing between semantically similar and dissimilar sentences.
|
| 33 |
+
|
| 34 |
+
## Dataset Overview
|
| 35 |
+
|
| 36 |
+
- **Format**: Parquet
|
| 37 |
+
- **Number of rows**: 3.03 million
|
| 38 |
+
- **Columns**:
|
| 39 |
+
- `anchor`: A sentence serving as the reference point.
|
| 40 |
+
- `positive`: A sentence that is semantically similar to the `anchor`.
|
| 41 |
+
- `negative`: A sentence that is semantically dissimilar to the `anchor`.
|
| 42 |
+
|
| 43 |
+
## Usage
|
| 44 |
+
|
| 45 |
+
This dataset can be used to train models for various NLP tasks, including:
|
| 46 |
+
|
| 47 |
+
- **Sentence Similarity**: Training models to identify sentences with similar meanings.
|
| 48 |
+
- **Contrastive Learning**: Teaching models to differentiate between semantically related and unrelated sentences.
|
| 49 |
+
- **Representation Learning**: Developing models that learn robust sentence embeddings.
|
| 50 |
+
|
| 51 |
+
### Loading the Dataset
|
| 52 |
+
|
| 53 |
+
You can load the dataset using the Hugging Face `datasets` library:
|
| 54 |
+
|
| 55 |
+
```python
|
| 56 |
+
from datasets import load_dataset
|
| 57 |
+
dataset = load_dataset('Omartificial-Intelligence-Space/Arab3M-Triplets')
|
| 58 |
+
```
|