ivanzhou-uber
commited on
Commit
·
a35812e
1
Parent(s):
dbe8248
correct name
Browse files- RedPajama-Tiny.py +4 -4
RedPajama-Tiny.py
CHANGED
@@ -39,7 +39,7 @@ _URLS = [
|
|
39 |
]
|
40 |
|
41 |
|
42 |
-
class
|
43 |
"""BuilderConfig for RedPajama sample."""
|
44 |
|
45 |
def __init__(self, **kwargs):
|
@@ -47,14 +47,14 @@ class RedPajama1TSampleConfig(datasets.BuilderConfig):
|
|
47 |
Args:
|
48 |
**kwargs: keyword arguments forwarded to super.
|
49 |
"""
|
50 |
-
super(
|
51 |
|
52 |
|
53 |
-
class
|
54 |
"""RedPajama 1T Sample: version 1.0.0."""
|
55 |
|
56 |
BUILDER_CONFIGS = [
|
57 |
-
|
58 |
name="plain_text",
|
59 |
version=datasets.Version("1.0.0", ""),
|
60 |
description="Plain text",
|
|
|
39 |
]
|
40 |
|
41 |
|
42 |
+
class RedPajamaTinyConfig(datasets.BuilderConfig):
|
43 |
"""BuilderConfig for RedPajama sample."""
|
44 |
|
45 |
def __init__(self, **kwargs):
|
|
|
47 |
Args:
|
48 |
**kwargs: keyword arguments forwarded to super.
|
49 |
"""
|
50 |
+
super(RedPajamaTinyConfig, self).__init__(**kwargs)
|
51 |
|
52 |
|
53 |
+
class RedPajamaTiny(datasets.GeneratorBasedBuilder):
|
54 |
"""RedPajama 1T Sample: version 1.0.0."""
|
55 |
|
56 |
BUILDER_CONFIGS = [
|
57 |
+
RedPajamaTinyConfig(
|
58 |
name="plain_text",
|
59 |
version=datasets.Version("1.0.0", ""),
|
60 |
description="Plain text",
|