ccdv commited on
Commit
b5a1371
1 Parent(s): 563f6e8
Files changed (4) hide show
  1. govreport-summarization.py +0 -3
  2. test.zip +2 -2
  3. train.zip +2 -2
  4. 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:a88ab045b282014eb2509537e6423c3ac8cb0bd709a6f13f1f54c00b74992a66
3
- size 14617513
 
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:fd34bc80bb468f68dc7ffe6ba0a70fcce292b397a081e746da243432460a7721
3
- size 276873459
 
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:65fe863ce429f5ad669744aae2de57490d2970b1ade8bc1094386c0599d3307b
3
- size 15912114
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f9e0e50e8e183020f075a15d7e088e856d884d1a1e02768c8348352c8875085d
3
+ size 15445708