Added separate path for test data annotations
Browse files- .gitattributes +1 -0
- hinglish.py +4 -3
.gitattributes
CHANGED
@@ -55,3 +55,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
55 |
data/metadata.csv filter=lfs diff=lfs merge=lfs -text
|
56 |
data/test.tar.gz filter=lfs diff=lfs merge=lfs -text
|
57 |
data/train.tar.gz filter=lfs diff=lfs merge=lfs -text
|
|
|
|
55 |
data/metadata.csv filter=lfs diff=lfs merge=lfs -text
|
56 |
data/test.tar.gz filter=lfs diff=lfs merge=lfs -text
|
57 |
data/train.tar.gz filter=lfs diff=lfs merge=lfs -text
|
58 |
+
data/metadata-test.csv filter=lfs diff=lfs merge=lfs -text
|
hinglish.py
CHANGED
@@ -3,9 +3,10 @@ import json
|
|
3 |
import os
|
4 |
import datasets
|
5 |
|
6 |
-
_ANNOT_URL =
|
7 |
-
"https://huggingface.co/datasets/ujs/hinglish/blob/main/data/metadata.csv"
|
8 |
-
|
|
|
9 |
|
10 |
_DATA_URL = [
|
11 |
"https://huggingface.co/datasets/ujs/hinglish/blob/main/data/train.tar.gz",
|
|
|
3 |
import os
|
4 |
import datasets
|
5 |
|
6 |
+
_ANNOT_URL = {
|
7 |
+
"train": "https://huggingface.co/datasets/ujs/hinglish/blob/main/data/metadata.csv",
|
8 |
+
"test": "https://huggingface.co/datasets/ujs/hinglish/blob/main/data/metadata-test.csv"
|
9 |
+
}
|
10 |
|
11 |
_DATA_URL = [
|
12 |
"https://huggingface.co/datasets/ujs/hinglish/blob/main/data/train.tar.gz",
|