Datasets:
Tasks:
Text Classification
Modalities:
Text
Formats:
parquet
Languages:
Vietnamese
Size:
10K - 100K
License:
Update README.md
Browse files
README.md
CHANGED
|
@@ -68,18 +68,22 @@ It includes labeled text samples across **8 languages**, making it ideal for tra
|
|
| 68 |
|
| 69 |
## Language Labels
|
| 70 |
|
| 71 |
-
| Language
|
| 72 |
-
|
|
| 73 |
-
| German
|
| 74 |
-
| Chinese
|
| 75 |
-
| Amharic
|
| 76 |
-
|
|
| 77 |
-
|
|
| 78 |
-
|
|
| 79 |
-
|
|
| 80 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 81 |
|
| 82 |
-
This mapping is stored internally in the dataset and can be used to decode model predictions or remap outputs.
|
| 83 |
|
| 84 |
|
| 85 |
## Intended Uses
|
|
@@ -116,16 +120,21 @@ Output:
|
|
| 116 |
Label mapping:
|
| 117 |
|
| 118 |
```python
|
| 119 |
-
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 128 |
}
|
|
|
|
| 129 |
```
|
| 130 |
|
| 131 |
|
|
|
|
| 68 |
|
| 69 |
## Language Labels
|
| 70 |
|
| 71 |
+
| Language | Code | Label ID |
|
| 72 |
+
| --------------- | ----- | -------- |
|
| 73 |
+
| German | `deu` | 0 |
|
| 74 |
+
| Chinese | `zho` | 1 |
|
| 75 |
+
| Amharic | `amh` | 2 |
|
| 76 |
+
| Hindi | `hin` | 3 |
|
| 77 |
+
| Arabic | `arb` | 4 |
|
| 78 |
+
| Hausa | `hau` | 5 |
|
| 79 |
+
| Turkish | `tur` | 6 |
|
| 80 |
+
| Urdu | `urd` | 7 |
|
| 81 |
+
| Spanish | `spa` | 8 |
|
| 82 |
+
| Persian (Farsi) | `fas` | 9 |
|
| 83 |
+
| English | `eng` | 10 |
|
| 84 |
+
| Nepali | `nep` | 11 |
|
| 85 |
+
|
| 86 |
|
|
|
|
| 87 |
|
| 88 |
|
| 89 |
## Intended Uses
|
|
|
|
| 120 |
Label mapping:
|
| 121 |
|
| 122 |
```python
|
| 123 |
+
label2idx = {
|
| 124 |
+
'deu': 0,
|
| 125 |
+
'zho': 1,
|
| 126 |
+
'amh': 2,
|
| 127 |
+
'hin': 3,
|
| 128 |
+
'arb': 4,
|
| 129 |
+
'hau': 5,
|
| 130 |
+
'tur': 6,
|
| 131 |
+
'urd': 7,
|
| 132 |
+
'spa': 8,
|
| 133 |
+
'fas': 9,
|
| 134 |
+
'eng': 10,
|
| 135 |
+
'nep': 11
|
| 136 |
}
|
| 137 |
+
|
| 138 |
```
|
| 139 |
|
| 140 |
|