Datasets:
Tasks:
Text Classification
Languages:
Persian
mahdiyehebrahimi
commited on
Commit
•
471531a
1
Parent(s):
4d48980
Update tc.py
Browse files
tc.py
CHANGED
@@ -8,12 +8,11 @@ logger = datasets.logging.get_logger(__name__)
|
|
8 |
|
9 |
|
10 |
_CITATION = """Citation"""
|
11 |
-
_DESCRIPTION = """
|
12 |
|
13 |
_DOWNLOAD_URLS = {
|
14 |
-
"train": "
|
15 |
-
"
|
16 |
-
"test": "D:\Ticket Calssification\TC Code & Data\Split Dataset\IntegratedDataTest.csv",
|
17 |
}
|
18 |
|
19 |
|
@@ -41,7 +40,7 @@ class DatasetName(datasets.GeneratorBasedBuilder):
|
|
41 |
features=datasets.Features(
|
42 |
{text_column: datasets.Value("string"), label_column: datasets.features.ClassLabel(names=label_names)}
|
43 |
),
|
44 |
-
homepage="
|
45 |
citation=_CITATION,
|
46 |
task_templates=[TextClassification(text_column=text_column, label_column=label_column)],
|
47 |
)
|
|
|
8 |
|
9 |
|
10 |
_CITATION = """Citation"""
|
11 |
+
_DESCRIPTION = """Tickets of IUT university"""
|
12 |
|
13 |
_DOWNLOAD_URLS = {
|
14 |
+
"train": "https://huggingface.co/datasets/mahdiyehebrahimi/University_Ticket_Classification/raw/main/tc_train.csv",
|
15 |
+
"test": "https://huggingface.co/datasets/mahdiyehebrahimi/University_Ticket_Classification/raw/main/tc_test.csv",
|
|
|
16 |
}
|
17 |
|
18 |
|
|
|
40 |
features=datasets.Features(
|
41 |
{text_column: datasets.Value("string"), label_column: datasets.features.ClassLabel(names=label_names)}
|
42 |
),
|
43 |
+
homepage="https://huggingface.co/datasets/mahdiyehebrahimi/University_Ticket_Classification",
|
44 |
citation=_CITATION,
|
45 |
task_templates=[TextClassification(text_column=text_column, label_column=label_column)],
|
46 |
)
|