Datasets:
Tasks:
Text Generation
Modalities:
Text
Formats:
json
Sub-tasks:
language-modeling
Languages:
English
Size:
10K - 100K
ArXiv:
License:
Rename cpt.py to llmcompression.py
Browse files
cpt.py → llmcompression.py
RENAMED
@@ -18,7 +18,7 @@ import datasets
|
|
18 |
import pandas as pd
|
19 |
from datasets import DatasetInfo, DownloadManager
|
20 |
|
21 |
-
|
22 |
_CITATION = """\
|
23 |
"""
|
24 |
|
@@ -28,7 +28,7 @@ _DESCRIPTION = """\
|
|
28 |
|
29 |
_LICENSE = ""
|
30 |
|
31 |
-
_URL = r"https://huggingface.co/datasets/hkust-nlp/
|
32 |
|
33 |
|
34 |
Task_list = [
|
@@ -38,14 +38,14 @@ Task_list = [
|
|
38 |
]
|
39 |
|
40 |
|
41 |
-
class
|
42 |
def __init__(self, **kwargs):
|
43 |
super().__init__(version=datasets.Version("1.0.0"), **kwargs)
|
44 |
|
45 |
|
46 |
-
class
|
47 |
BUILDER_CONFIGS = [
|
48 |
-
|
49 |
name=task_name,
|
50 |
)
|
51 |
for task_name in Task_list
|
|
|
18 |
import pandas as pd
|
19 |
from datasets import DatasetInfo, DownloadManager
|
20 |
|
21 |
+
|
22 |
_CITATION = """\
|
23 |
"""
|
24 |
|
|
|
28 |
|
29 |
_LICENSE = ""
|
30 |
|
31 |
+
_URL = r"https://huggingface.co/datasets/hkust-nlp/llm-compression/resolve/main/data.zip"
|
32 |
|
33 |
|
34 |
Task_list = [
|
|
|
38 |
]
|
39 |
|
40 |
|
41 |
+
class LlmCompressionConfig(datasets.BuilderConfig):
|
42 |
def __init__(self, **kwargs):
|
43 |
super().__init__(version=datasets.Version("1.0.0"), **kwargs)
|
44 |
|
45 |
|
46 |
+
class LlmCompression(datasets.GeneratorBasedBuilder):
|
47 |
BUILDER_CONFIGS = [
|
48 |
+
LlmCompressionConfig(
|
49 |
name=task_name,
|
50 |
)
|
51 |
for task_name in Task_list
|