- minipileoflaw.py +3 -3
minipileoflaw.py
CHANGED
@@ -6,6 +6,9 @@ import json
|
|
6 |
import csv
|
7 |
import pandas as pd
|
8 |
|
|
|
|
|
|
|
9 |
import datasets
|
10 |
try:
|
11 |
import lzma as xz
|
@@ -93,9 +96,6 @@ class MiniPileOfLaw(datasets.GeneratorBasedBuilder):
|
|
93 |
]
|
94 |
|
95 |
|
96 |
-
import json
|
97 |
-
import logging
|
98 |
-
|
99 |
def _generate_examples(self, filepaths):
|
100 |
"""This function returns the examples in the raw (text) form by iterating on all the files."""
|
101 |
id_ = 0
|
|
|
6 |
import csv
|
7 |
import pandas as pd
|
8 |
|
9 |
+
import json
|
10 |
+
import logging
|
11 |
+
|
12 |
import datasets
|
13 |
try:
|
14 |
import lzma as xz
|
|
|
96 |
]
|
97 |
|
98 |
|
|
|
|
|
|
|
99 |
def _generate_examples(self, filepaths):
|
100 |
"""This function returns the examples in the raw (text) form by iterating on all the files."""
|
101 |
id_ = 0
|