Datasets:
Tasks:
Text Classification
Modalities:
Text
Formats:
json
Languages:
Hebrew
Size:
10K - 100K
License:
Add dataset card
Browse files
README.md
CHANGED
|
@@ -1,71 +1,34 @@
|
|
| 1 |
---
|
| 2 |
-
license: cc-by-4.0
|
| 3 |
-
configs:
|
| 4 |
-
- config_name: default
|
| 5 |
-
data_files:
|
| 6 |
-
- split: train
|
| 7 |
-
path: train/data.jsonl
|
| 8 |
-
- split: test
|
| 9 |
-
path: test/test.jsonl
|
| 10 |
-
task_categories:
|
| 11 |
-
- text-classification
|
| 12 |
language:
|
| 13 |
- he
|
| 14 |
-
|
| 15 |
-
-
|
|
|
|
|
|
|
|
|
|
| 16 |
---
|
| 17 |
|
| 18 |
-
# HebrewSentiment
|
| 19 |
-
|
| 20 |
-
## Summary
|
| 21 |
-
HebrewSentiment is a Hebrew dataset for the sentiment analysis task.
|
| 22 |
-
|
| 23 |
-
## Introduction
|
| 24 |
-
|
| 25 |
-
This dataset was constructed via [To Fill In].
|
| 26 |
-
|
| 27 |
-
## Dataset Statistics
|
| 28 |
-
|
| 29 |
-
The table below shows the number of examples from each category in each of the splits:
|
| 30 |
-
|
| 31 |
-
| split | total | positive | negative | neutral |
|
| 32 |
-
|-------|----------|----------|----------|---------|
|
| 33 |
-
| train | 39,135 | 8,968 | 7,669 | 22,498 |
|
| 34 |
-
| test | 2,170 | 503 | 433 | 1,234 |
|
| 35 |
-
|
| 36 |
-
## Dataset Description
|
| 37 |
-
|
| 38 |
-
Each row in the dataset contains the following fields:
|
| 39 |
|
| 40 |
-
|
| 41 |
-
- **text**: The textual content of the input sentence
|
| 42 |
-
- **tag_ids**: The label of the example (`Neutral`/`Positive`/`Negative`)
|
| 43 |
-
- **task_name**: [To fill in]
|
| 44 |
-
- **campaign_id**: [To fill in]
|
| 45 |
-
- **annotator_agreement_strength**: [To fill in]
|
| 46 |
-
- **survey_name**: [To fill in]
|
| 47 |
-
- **industry**: [To fill in]
|
| 48 |
-
- **type**: [To fill in]
|
| 49 |
|
| 50 |
-
##
|
| 51 |
|
| 52 |
-
|
|
|
|
| 53 |
|
| 54 |
-
|
| 55 |
-
We fine-tuned [dictabert](https://huggingface.co/dicta-il/dictabert) 3 times - once on the OnlpLab dataset, once on this dataset, and once on both datasets together and the results can be seen in the table below:
|
| 56 |
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
| | Accuracy | Macro F1 | F1 Positive | F1 Negative | F1 Neutral | Accuracy | Macro F1 | F1 Positive | F1 Negative | F1 Neutral |
|
| 60 |
-
| OnlpLab+HebrewSentiment | 87 | 61.7 | 93.2 | 74.6 | 17.4 | 83.9 | 82.7 | 79.8 | 81.8 | 86.4 |
|
| 61 |
-
| OnlpLab | 88.2 | 63.3 | 93.8 | 72.1 | 24 | 41.3 | 42.2 | 48.1 | 56.3 | 22.2 |
|
| 62 |
-
| HebrewSentiment | 69.9 | 51.7 | 82.2 | 62.9 | 10.2 | 84.4 | 83.2 | 81 | 82.1 | 86.6 |
|
| 63 |
|
| 64 |
-
##
|
| 65 |
|
| 66 |
-
|
|
|
|
|
|
|
|
|
|
| 67 |
|
| 68 |
-
|
| 69 |
|
| 70 |
-
|
| 71 |
-
We would like to express our gratitude to [To fill in]
|
|
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
language:
|
| 3 |
- he
|
| 4 |
+
task_categories:
|
| 5 |
+
- text-classification
|
| 6 |
+
license: other
|
| 7 |
+
pretty_name: HebrewSentiment
|
| 8 |
+
private: true
|
| 9 |
---
|
| 10 |
|
| 11 |
+
# HebrewSentiment
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
+
Hebrew sentiment analysis — Positive / Negative / Neutral
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
|
| 15 |
+
## Source
|
| 16 |
|
| 17 |
+
Originally sourced from the Hebrew NLP benchmark collection.
|
| 18 |
+
Google Drive: https://drive.google.com/drive/folders/1nZVJGF29R_KQjbovOT79Ceai8NIaFZdQ
|
| 19 |
|
| 20 |
+
## Files
|
|
|
|
| 21 |
|
| 22 |
+
- `data.jsonl`
|
| 23 |
+
- `test_test.jsonl`
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
|
| 25 |
+
## Usage
|
| 26 |
|
| 27 |
+
```python
|
| 28 |
+
from datasets import load_dataset
|
| 29 |
+
ds = load_dataset("HebArabNlpProject/HebrewSentiment", token=HF_TOKEN)
|
| 30 |
+
```
|
| 31 |
|
| 32 |
+
## Task type
|
| 33 |
|
| 34 |
+
`classification`
|
|
|