Datasets:
Tasks:
Text Classification
Modalities:
Text
Formats:
parquet
Languages:
English
Size:
10K - 100K
ArXiv:
License:
Commit
•
d85bf57
1
Parent(s):
83a7773
Deprecate dataset (#5)
Browse files- Add deprecation warning to dataset script (62985b322fff2b005b22c7527108376db24ee077)
- Add deprecation warning to dataset card (ff8494eeae592f55abe2f1c7c2aaa54ecfb1c049)
- README.md +4 -0
- banking77.py +5 -0
README.md
CHANGED
@@ -200,6 +200,10 @@ train-eval-index:
|
|
200 |
|
201 |
### Dataset Summary
|
202 |
|
|
|
|
|
|
|
|
|
203 |
Dataset composed of online banking queries annotated with their corresponding intents.
|
204 |
|
205 |
BANKING77 dataset provides a very fine-grained set of intents in a banking domain.
|
|
|
200 |
|
201 |
### Dataset Summary
|
202 |
|
203 |
+
<div class="course-tip course-tip-orange bg-gradient-to-br dark:bg-gradient-to-r before:border-orange-500 dark:before:border-orange-800 from-orange-50 dark:from-gray-900 to-white dark:to-gray-950 border border-orange-50 text-orange-700 dark:text-gray-400">
|
204 |
+
<p><b>Deprecated:</b> Dataset "banking77" is deprecated and will be deleted. Use "<a href="https://huggingface.co/datasets/PolyAI/banking77">PolyAI/banking77</a>" instead.</p>
|
205 |
+
</div>
|
206 |
+
|
207 |
Dataset composed of online banking queries annotated with their corresponding intents.
|
208 |
|
209 |
BANKING77 dataset provides a very fine-grained set of intents in a banking domain.
|
banking77.py
CHANGED
@@ -16,6 +16,7 @@
|
|
16 |
|
17 |
|
18 |
import csv
|
|
|
19 |
|
20 |
import datasets
|
21 |
from datasets.tasks import TextClassification
|
@@ -55,6 +56,10 @@ class Banking77(datasets.GeneratorBasedBuilder):
|
|
55 |
VERSION = datasets.Version("1.1.0")
|
56 |
|
57 |
def _info(self):
|
|
|
|
|
|
|
|
|
58 |
features = datasets.Features(
|
59 |
{
|
60 |
"text": datasets.Value("string"),
|
|
|
16 |
|
17 |
|
18 |
import csv
|
19 |
+
import warnings
|
20 |
|
21 |
import datasets
|
22 |
from datasets.tasks import TextClassification
|
|
|
56 |
VERSION = datasets.Version("1.1.0")
|
57 |
|
58 |
def _info(self):
|
59 |
+
warnings.warn(
|
60 |
+
"Dataset 'banking77' is deprecated and will be deleted. Use 'PolyAI/banking77' instead.",
|
61 |
+
FutureWarning,
|
62 |
+
)
|
63 |
features = datasets.Features(
|
64 |
{
|
65 |
"text": datasets.Value("string"),
|