feat
Browse files- VieGLUE.py +29 -1
- data/vtoc/train.tar.gz +3 -0
- data/vtoc/validation.tar.gz +3 -0
VieGLUE.py
CHANGED
@@ -111,6 +111,10 @@ _DOWNLOAD_URL = {
|
|
111 |
"test": [os.path.join("data", "vsmec", "test.tar.gz")],
|
112 |
"validation": [os.path.join("data", "vsmec", "valid.tar.gz")],
|
113 |
},
|
|
|
|
|
|
|
|
|
114 |
}
|
115 |
|
116 |
SUBSET_KWARGS = {
|
@@ -455,10 +459,34 @@ predictions for this dataset."""
|
|
455 |
"""a standard Vietnamese Social Media Emotion Corpus (UIT-VSMEC) with exactly 6,927 emotion-annotated sentences, contributing to emotion recognition research in Vietnamese"""
|
456 |
),
|
457 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
458 |
}
|
459 |
|
460 |
|
461 |
-
_VERSION = datasets.Version("1.
|
462 |
|
463 |
|
464 |
class VieGLUEConfig(datasets.BuilderConfig):
|
|
|
111 |
"test": [os.path.join("data", "vsmec", "test.tar.gz")],
|
112 |
"validation": [os.path.join("data", "vsmec", "valid.tar.gz")],
|
113 |
},
|
114 |
+
"vtoc": {
|
115 |
+
"train": [os.path.join("data", "vtoc", "train.tar.gz")],
|
116 |
+
"validation": [os.path.join("data", "vtoc", "validation.tar.gz")],
|
117 |
+
},
|
118 |
}
|
119 |
|
120 |
SUBSET_KWARGS = {
|
|
|
459 |
"""a standard Vietnamese Social Media Emotion Corpus (UIT-VSMEC) with exactly 6,927 emotion-annotated sentences, contributing to emotion recognition research in Vietnamese"""
|
460 |
),
|
461 |
},
|
462 |
+
"vtoc": {
|
463 |
+
"name": "vtoc",
|
464 |
+
"text_features": ["sentence"],
|
465 |
+
"label_classes": [
|
466 |
+
"Automobile",
|
467 |
+
"Business",
|
468 |
+
"Digital",
|
469 |
+
"Education",
|
470 |
+
"Entertainment",
|
471 |
+
"Health",
|
472 |
+
"Law",
|
473 |
+
"Life",
|
474 |
+
"News",
|
475 |
+
"Perspective",
|
476 |
+
"Relax",
|
477 |
+
"Science",
|
478 |
+
"Sports",
|
479 |
+
"Travel",
|
480 |
+
"World",
|
481 |
+
],
|
482 |
+
"label_column": "label",
|
483 |
+
"citation": textwrap.dedent(""""""),
|
484 |
+
"description": textwrap.dedent(""""""),
|
485 |
+
},
|
486 |
}
|
487 |
|
488 |
|
489 |
+
_VERSION = datasets.Version("1.2.0", "")
|
490 |
|
491 |
|
492 |
class VieGLUEConfig(datasets.BuilderConfig):
|
data/vtoc/train.tar.gz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b12205bcd7ceae4227d903a14e02f5d21cfb3ebc3dd6e82513e31a7180a85c9a
|
3 |
+
size 431905
|
data/vtoc/validation.tar.gz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3f759ff10c3b8d399a9b288b76b73314f9ebd775c7cd72134714ff4608efd270
|
3 |
+
size 115235
|