ShivamPR21
commited on
Commit
•
d079c03
1
Parent(s):
318e103
Config fixed.
Browse filesSigned-off-by: ShivamPR21 <pandeyshivam2023robotics@gmail.com>
- RedPajama-Data-V2.py +3 -1
RedPajama-Data-V2.py
CHANGED
@@ -137,7 +137,9 @@ class RedPajamaDataV2Config(datasets.BuilderConfig):
|
|
137 |
self.partition: str = kwargs.pop("partition", "all")
|
138 |
self.snapshots: List[str] = kwargs.pop("snapshots", _CC_SNAPSHOT_IDS)
|
139 |
self.languages: List[str] = kwargs.pop("languages", _LANGUAGES)
|
140 |
-
|
|
|
|
|
141 |
|
142 |
class RedPajamaV2(datasets.GeneratorBasedBuilder):
|
143 |
"""RedPajama V2: Quality annotated Web Text Documents."""
|
|
|
137 |
self.partition: str = kwargs.pop("partition", "all")
|
138 |
self.snapshots: List[str] = kwargs.pop("snapshots", _CC_SNAPSHOT_IDS)
|
139 |
self.languages: List[str] = kwargs.pop("languages", _LANGUAGES)
|
140 |
+
self.deduplication: bool = kwargs.pop("deduplication", False)
|
141 |
+
self.shard_fraction: float = kwargs.pop('shard_fraction', 1.0)
|
142 |
+
self.shards: List[int] = kwargs.pop('shards', _SHARDS_ID)
|
143 |
|
144 |
class RedPajamaV2(datasets.GeneratorBasedBuilder):
|
145 |
"""RedPajama V2: Quality annotated Web Text Documents."""
|