Datasets:
update
Browse files- govreport-summarization.py +0 -3
- test.zip +2 -2
- train.zip +2 -2
- valid.zip +2 -2
govreport-summarization.py
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
import json
|
2 |
import os
|
3 |
-
import re
|
4 |
import datasets
|
5 |
from datasets.tasks import TextClassification
|
6 |
|
@@ -94,6 +93,4 @@ class GovReportSummarizationDataset(datasets.GeneratorBasedBuilder):
|
|
94 |
report = data["report"]
|
95 |
summary = data["summary"]
|
96 |
|
97 |
-
report = re.sub(" +", " ", report)
|
98 |
-
summary = re.sub(" +", " ", summary)
|
99 |
yield id_, {"report": report, "summary": summary}
|
|
|
1 |
import json
|
2 |
import os
|
|
|
3 |
import datasets
|
4 |
from datasets.tasks import TextClassification
|
5 |
|
|
|
93 |
report = data["report"]
|
94 |
summary = data["summary"]
|
95 |
|
|
|
|
|
96 |
yield id_, {"report": report, "summary": summary}
|
test.zip
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3ee14fe90cd37f19cd84794b2095298bd8f5b3bbe57cc6f24b1cbc4df30f505e
|
3 |
+
size 14171808
|
train.zip
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c6778dcb780efc10ed4e5aba786c478843522c15a9212519d312c2638d3e38da
|
3 |
+
size 270614224
|
valid.zip
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f9e0e50e8e183020f075a15d7e088e856d884d1a1e02768c8348352c8875085d
|
3 |
+
size 15445708
|