Datasets:

Modalities:
Text
Languages:
English
Libraries:
Datasets
License:
Zhangir Azerbayev commited on
Commit
0443587
1 Parent(s): 25dc5a2

I think I fixed everything!

Browse files
Files changed (4) hide show
  1. gen_split.py +20 -0
  2. proof-pile.py +7 -11
  3. splits.json +368 -0
  4. test.py +1 -1
gen_split.py CHANGED
@@ -36,6 +36,21 @@ def get_split(path, train_split: float, must_be_in_train):
36
 
37
  return train_paths, valid_paths
38
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
39
  def main():
40
  train_rate = 0.95
41
  splits = {}
@@ -51,6 +66,11 @@ def main():
51
  splits[subdir + "-train"] = train
52
  splits[subdir + "-valid"] = valid
53
 
 
 
 
 
 
54
  with open("splits.json", "w") as f:
55
  f.write(json.dumps(splits, indent=4))
56
 
 
36
 
37
  return train_paths, valid_paths
38
 
39
+ def arxiv_split():
40
+ train_paths = []
41
+ val_paths = []
42
+ for f in os.listdir("arxiv"):
43
+ if f[-3:] == ".gz":
44
+ f_path = os.path.join("./arxiv", f)
45
+ # validation set is june of years divisible by 4
46
+ if int(f[1])%4==0 and int(f[3])==6:
47
+ val_paths.append(f_path)
48
+ else:
49
+ train_paths.append(f_path)
50
+
51
+ return train_paths, val_paths
52
+
53
+
54
  def main():
55
  train_rate = 0.95
56
  splits = {}
 
66
  splits[subdir + "-train"] = train
67
  splits[subdir + "-valid"] = valid
68
 
69
+ train, valid = arxiv_split()
70
+ splits["arxiv-train"] = train
71
+ splits["arxiv-valid"] = valid
72
+ print("arxiv", len(train), len(valid))
73
+
74
  with open("splits.json", "w") as f:
75
  f.write(json.dumps(splits, indent=4))
76
 
proof-pile.py CHANGED
@@ -122,15 +122,11 @@ class ProofPile(datasets.GeneratorBasedBuilder):
122
 
123
  if self.config.name in self.archived_configs:
124
  if self.config.name=="arxiv":
125
- train_paths = []
126
- val_paths = []
127
- for f in os.listdir("arxiv"):
128
- f_path = os.path.join("./arxiv", f)
129
- # validation set is june of years divisible by 4
130
- if int(f[1])%4==0 and int(f[3])==6:
131
- val_paths.append(f_path)
132
- else:
133
- train_paths.append(f_path)
134
  if self.config.name=="stack-exchange":
135
  train_paths = [os.path.join("./stack-exchange", x) for x in ["math_overflow.tar.gz",
136
  "math_stack_exchange.tar.gz"]]
@@ -144,8 +140,7 @@ class ProofPile(datasets.GeneratorBasedBuilder):
144
  val_paths = ["wiki/proofwiki_val.tar.gz"]
145
 
146
  train_files = itertools.chain.from_iterable(dl_manager.iter_archive(dl_manager.download(x)) for x in train_paths)
147
- val_files = itertools.chain.from_iterable(dl_manager.iter_files(dl_manager.download_and_extract(x))
148
- for x in val_paths)
149
 
150
  return [
151
  datasets.SplitGenerator(
@@ -198,6 +193,7 @@ class ProofPile(datasets.GeneratorBasedBuilder):
198
  "file": name,
199
  "text": text,
200
  }
 
201
  else:
202
  for name in data_files:
203
  with open(name, encoding="utf-8") as f:
 
122
 
123
  if self.config.name in self.archived_configs:
124
  if self.config.name=="arxiv":
125
+ with open(dl_manager.download("splits.json")) as f:
126
+ split = json.load(f)
127
+
128
+ train_paths = split["arxiv-train"]
129
+ val_paths = split["arxiv-valid"]
 
 
 
 
130
  if self.config.name=="stack-exchange":
131
  train_paths = [os.path.join("./stack-exchange", x) for x in ["math_overflow.tar.gz",
132
  "math_stack_exchange.tar.gz"]]
 
140
  val_paths = ["wiki/proofwiki_val.tar.gz"]
141
 
142
  train_files = itertools.chain.from_iterable(dl_manager.iter_archive(dl_manager.download(x)) for x in train_paths)
143
+ val_files = itertools.chain.from_iterable(dl_manager.iter_archive(dl_manager.download(x)) for x in val_paths)
 
144
 
145
  return [
146
  datasets.SplitGenerator(
 
193
  "file": name,
194
  "text": text,
195
  }
196
+ key += 1
197
  else:
198
  for name in data_files:
199
  with open(name, encoding="utf-8") as f:
splits.json CHANGED
@@ -14699,5 +14699,373 @@
14699
  "formal/afp/Higher_Order_Terms/Fresh_Monad.thy",
14700
  "formal/afp/Network_Security_Policy_Verification/Examples/Tainting/MeasrDroid.thy",
14701
  "formal/afp/JinjaThreads/DFA/Opt.thy"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14702
  ]
14703
  }
 
14699
  "formal/afp/Higher_Order_Terms/Fresh_Monad.thy",
14700
  "formal/afp/Network_Security_Policy_Verification/Examples/Tainting/MeasrDroid.thy",
14701
  "formal/afp/JinjaThreads/DFA/Opt.thy"
14702
+ ],
14703
+ "arxiv-train": [
14704
+ "./arxiv/1311.tar.gz",
14705
+ "./arxiv/0810.tar.gz",
14706
+ "./arxiv/9211.tar.gz",
14707
+ "./arxiv/0701.tar.gz",
14708
+ "./arxiv/2201.tar.gz",
14709
+ "./arxiv/1903.tar.gz",
14710
+ "./arxiv/2203.tar.gz",
14711
+ "./arxiv/9305.tar.gz",
14712
+ "./arxiv/0203.tar.gz",
14713
+ "./arxiv/9108.tar.gz",
14714
+ "./arxiv/0805.tar.gz",
14715
+ "./arxiv/1610.tar.gz",
14716
+ "./arxiv/1609.tar.gz",
14717
+ "./arxiv/9908.tar.gz",
14718
+ "./arxiv/1312.tar.gz",
14719
+ "./arxiv/9208.tar.gz",
14720
+ "./arxiv/1712.tar.gz",
14721
+ "./arxiv/0404.tar.gz",
14722
+ "./arxiv/0005.tar.gz",
14723
+ "./arxiv/0905.tar.gz",
14724
+ "./arxiv/9511.tar.gz",
14725
+ "./arxiv/9707.tar.gz",
14726
+ "./arxiv/1502.tar.gz",
14727
+ "./arxiv/2001.tar.gz",
14728
+ "./arxiv/0911.tar.gz",
14729
+ "./arxiv/0202.tar.gz",
14730
+ "./arxiv/1608.tar.gz",
14731
+ "./arxiv/9602.tar.gz",
14732
+ "./arxiv/9608.tar.gz",
14733
+ "./arxiv/0608.tar.gz",
14734
+ "./arxiv/0411.tar.gz",
14735
+ "./arxiv/1507.tar.gz",
14736
+ "./arxiv/9403.tar.gz",
14737
+ "./arxiv/9504.tar.gz",
14738
+ "./arxiv/1110.tar.gz",
14739
+ "./arxiv/9207.tar.gz",
14740
+ "./arxiv/1810.tar.gz",
14741
+ "./arxiv/2010.tar.gz",
14742
+ "./arxiv/1905.tar.gz",
14743
+ "./arxiv/0409.tar.gz",
14744
+ "./arxiv/2104.tar.gz",
14745
+ "./arxiv/1409.tar.gz",
14746
+ "./arxiv/0002.tar.gz",
14747
+ "./arxiv/9706.tar.gz",
14748
+ "./arxiv/0605.tar.gz",
14749
+ "./arxiv/9710.tar.gz",
14750
+ "./arxiv/9901.tar.gz",
14751
+ "./arxiv/1009.tar.gz",
14752
+ "./arxiv/1704.tar.gz",
14753
+ "./arxiv/0312.tar.gz",
14754
+ "./arxiv/0603.tar.gz",
14755
+ "./arxiv/0407.tar.gz",
14756
+ "./arxiv/1308.tar.gz",
14757
+ "./arxiv/9302.tar.gz",
14758
+ "./arxiv/1411.tar.gz",
14759
+ "./arxiv/1503.tar.gz",
14760
+ "./arxiv/9906.tar.gz",
14761
+ "./arxiv/2202.tar.gz",
14762
+ "./arxiv/9410.tar.gz",
14763
+ "./arxiv/0110.tar.gz",
14764
+ "./arxiv/0302.tar.gz",
14765
+ "./arxiv/1401.tar.gz",
14766
+ "./arxiv/1107.tar.gz",
14767
+ "./arxiv/0712.tar.gz",
14768
+ "./arxiv/9401.tar.gz",
14769
+ "./arxiv/1405.tar.gz",
14770
+ "./arxiv/1612.tar.gz",
14771
+ "./arxiv/1012.tar.gz",
14772
+ "./arxiv/1410.tar.gz",
14773
+ "./arxiv/9812.tar.gz",
14774
+ "./arxiv/1102.tar.gz",
14775
+ "./arxiv/2007.tar.gz",
14776
+ "./arxiv/2004.tar.gz",
14777
+ "./arxiv/9303.tar.gz",
14778
+ "./arxiv/0405.tar.gz",
14779
+ "./arxiv/9702.tar.gz",
14780
+ "./arxiv/1506.tar.gz",
14781
+ "./arxiv/1008.tar.gz",
14782
+ "./arxiv/0908.tar.gz",
14783
+ "./arxiv/9610.tar.gz",
14784
+ "./arxiv/1210.tar.gz",
14785
+ "./arxiv/0804.tar.gz",
14786
+ "./arxiv/2206.tar.gz",
14787
+ "./arxiv/0402.tar.gz",
14788
+ "./arxiv/0807.tar.gz",
14789
+ "./arxiv/2003.tar.gz",
14790
+ "./arxiv/1005.tar.gz",
14791
+ "./arxiv/0510.tar.gz",
14792
+ "./arxiv/9204.tar.gz",
14793
+ "./arxiv/0107.tar.gz",
14794
+ "./arxiv/9402.tar.gz",
14795
+ "./arxiv/9807.tar.gz",
14796
+ "./arxiv/1705.tar.gz",
14797
+ "./arxiv/0611.tar.gz",
14798
+ "./arxiv/0207.tar.gz",
14799
+ "./arxiv/1304.tar.gz",
14800
+ "./arxiv/1611.tar.gz",
14801
+ "./arxiv/1011.tar.gz",
14802
+ "./arxiv/0709.tar.gz",
14803
+ "./arxiv/0310.tar.gz",
14804
+ "./arxiv/0112.tar.gz",
14805
+ "./arxiv/9310.tar.gz",
14806
+ "./arxiv/9209.tar.gz",
14807
+ "./arxiv/9212.tar.gz",
14808
+ "./arxiv/1512.tar.gz",
14809
+ "./arxiv/1509.tar.gz",
14810
+ "./arxiv/0003.tar.gz",
14811
+ "./arxiv/0607.tar.gz",
14812
+ "./arxiv/9308.tar.gz",
14813
+ "./arxiv/1001.tar.gz",
14814
+ "./arxiv/0802.tar.gz",
14815
+ "./arxiv/0509.tar.gz",
14816
+ "./arxiv/0208.tar.gz",
14817
+ "./arxiv/1909.tar.gz",
14818
+ "./arxiv/0707.tar.gz",
14819
+ "./arxiv/9905.tar.gz",
14820
+ "./arxiv/1711.tar.gz",
14821
+ "./arxiv/0512.tar.gz",
14822
+ "./arxiv/0904.tar.gz",
14823
+ "./arxiv/9206.tar.gz",
14824
+ "./arxiv/2105.tar.gz",
14825
+ "./arxiv/9306.tar.gz",
14826
+ "./arxiv/2103.tar.gz",
14827
+ "./arxiv/1403.tar.gz",
14828
+ "./arxiv/2009.tar.gz",
14829
+ "./arxiv/9805.tar.gz",
14830
+ "./arxiv/9506.tar.gz",
14831
+ "./arxiv/0106.tar.gz",
14832
+ "./arxiv/9911.tar.gz",
14833
+ "./arxiv/9711.tar.gz",
14834
+ "./arxiv/1209.tar.gz",
14835
+ "./arxiv/1002.tar.gz",
14836
+ "./arxiv/0209.tar.gz",
14837
+ "./arxiv/0501.tar.gz",
14838
+ "./arxiv/1305.tar.gz",
14839
+ "./arxiv/9405.tar.gz",
14840
+ "./arxiv/9109.tar.gz",
14841
+ "./arxiv/0401.tar.gz",
14842
+ "./arxiv/0504.tar.gz",
14843
+ "./arxiv/0702.tar.gz",
14844
+ "./arxiv/0610.tar.gz",
14845
+ "./arxiv/1402.tar.gz",
14846
+ "./arxiv/1309.tar.gz",
14847
+ "./arxiv/0109.tar.gz",
14848
+ "./arxiv/0909.tar.gz",
14849
+ "./arxiv/0303.tar.gz",
14850
+ "./arxiv/9703.tar.gz",
14851
+ "./arxiv/9704.tar.gz",
14852
+ "./arxiv/9904.tar.gz",
14853
+ "./arxiv/0511.tar.gz",
14854
+ "./arxiv/1906.tar.gz",
14855
+ "./arxiv/0801.tar.gz",
14856
+ "./arxiv/9301.tar.gz",
14857
+ "./arxiv/9601.tar.gz",
14858
+ "./arxiv/9803.tar.gz",
14859
+ "./arxiv/1007.tar.gz",
14860
+ "./arxiv/0903.tar.gz",
14861
+ "./arxiv/0009.tar.gz",
14862
+ "./arxiv/2108.tar.gz",
14863
+ "./arxiv/0506.tar.gz",
14864
+ "./arxiv/1112.tar.gz",
14865
+ "./arxiv/2204.tar.gz",
14866
+ "./arxiv/0907.tar.gz",
14867
+ "./arxiv/0507.tar.gz",
14868
+ "./arxiv/0201.tar.gz",
14869
+ "./arxiv/0803.tar.gz",
14870
+ "./arxiv/0808.tar.gz",
14871
+ "./arxiv/0505.tar.gz",
14872
+ "./arxiv/1004.tar.gz",
14873
+ "./arxiv/9809.tar.gz",
14874
+ "./arxiv/1706.tar.gz",
14875
+ "./arxiv/0210.tar.gz",
14876
+ "./arxiv/0408.tar.gz",
14877
+ "./arxiv/1105.tar.gz",
14878
+ "./arxiv/0101.tar.gz",
14879
+ "./arxiv/1812.tar.gz",
14880
+ "./arxiv/1904.tar.gz",
14881
+ "./arxiv/1707.tar.gz",
14882
+ "./arxiv/9407.tar.gz",
14883
+ "./arxiv/9404.tar.gz",
14884
+ "./arxiv/1412.tar.gz",
14885
+ "./arxiv/0502.tar.gz",
14886
+ "./arxiv/1601.tar.gz",
14887
+ "./arxiv/2109.tar.gz",
14888
+ "./arxiv/9112.tar.gz",
14889
+ "./arxiv/0007.tar.gz",
14890
+ "./arxiv/1606.tar.gz",
14891
+ "./arxiv/1211.tar.gz",
14892
+ "./arxiv/1804.tar.gz",
14893
+ "./arxiv/0308.tar.gz",
14894
+ "./arxiv/0703.tar.gz",
14895
+ "./arxiv/2110.tar.gz",
14896
+ "./arxiv/0304.tar.gz",
14897
+ "./arxiv/9110.tar.gz",
14898
+ "./arxiv/9701.tar.gz",
14899
+ "./arxiv/0010.tar.gz",
14900
+ "./arxiv/0111.tar.gz",
14901
+ "./arxiv/0910.tar.gz",
14902
+ "./arxiv/9604.tar.gz",
14903
+ "./arxiv/0311.tar.gz",
14904
+ "./arxiv/1504.tar.gz",
14905
+ "./arxiv/0809.tar.gz",
14906
+ "./arxiv/9802.tar.gz",
14907
+ "./arxiv/1701.tar.gz",
14908
+ "./arxiv/9408.tar.gz",
14909
+ "./arxiv/0410.tar.gz",
14910
+ "./arxiv/9210.tar.gz",
14911
+ "./arxiv/9409.tar.gz",
14912
+ "./arxiv/0301.tar.gz",
14913
+ "./arxiv/0012.tar.gz",
14914
+ "./arxiv/0212.tar.gz",
14915
+ "./arxiv/0403.tar.gz",
14916
+ "./arxiv/0706.tar.gz",
14917
+ "./arxiv/0705.tar.gz",
14918
+ "./arxiv/1809.tar.gz",
14919
+ "./arxiv/1602.tar.gz",
14920
+ "./arxiv/2112.tar.gz",
14921
+ "./arxiv/1902.tar.gz",
14922
+ "./arxiv/9201.tar.gz",
14923
+ "./arxiv/0306.tar.gz",
14924
+ "./arxiv/0602.tar.gz",
14925
+ "./arxiv/1106.tar.gz",
14926
+ "./arxiv/9708.tar.gz",
14927
+ "./arxiv/2012.tar.gz",
14928
+ "./arxiv/9510.tar.gz",
14929
+ "./arxiv/1310.tar.gz",
14930
+ "./arxiv/1708.tar.gz",
14931
+ "./arxiv/0704.tar.gz",
14932
+ "./arxiv/2102.tar.gz",
14933
+ "./arxiv/0004.tar.gz",
14934
+ "./arxiv/1104.tar.gz",
14935
+ "./arxiv/9808.tar.gz",
14936
+ "./arxiv/0104.tar.gz",
14937
+ "./arxiv/0503.tar.gz",
14938
+ "./arxiv/1912.tar.gz",
14939
+ "./arxiv/0601.tar.gz",
14940
+ "./arxiv/0901.tar.gz",
14941
+ "./arxiv/1302.tar.gz",
14942
+ "./arxiv/9507.tar.gz",
14943
+ "./arxiv/1603.tar.gz",
14944
+ "./arxiv/9712.tar.gz",
14945
+ "./arxiv/1605.tar.gz",
14946
+ "./arxiv/9512.tar.gz",
14947
+ "./arxiv/0710.tar.gz",
14948
+ "./arxiv/9811.tar.gz",
14949
+ "./arxiv/1109.tar.gz",
14950
+ "./arxiv/1303.tar.gz",
14951
+ "./arxiv/0902.tar.gz",
14952
+ "./arxiv/9111.tar.gz",
14953
+ "./arxiv/1803.tar.gz",
14954
+ "./arxiv/1510.tar.gz",
14955
+ "./arxiv/1604.tar.gz",
14956
+ "./arxiv/2002.tar.gz",
14957
+ "./arxiv/2107.tar.gz",
14958
+ "./arxiv/9412.tar.gz",
14959
+ "./arxiv/1306.tar.gz",
14960
+ "./arxiv/9203.tar.gz",
14961
+ "./arxiv/9705.tar.gz",
14962
+ "./arxiv/9205.tar.gz",
14963
+ "./arxiv/9612.tar.gz",
14964
+ "./arxiv/9607.tar.gz",
14965
+ "./arxiv/1010.tar.gz",
14966
+ "./arxiv/1407.tar.gz",
14967
+ "./arxiv/9709.tar.gz",
14968
+ "./arxiv/9304.tar.gz",
14969
+ "./arxiv/1501.tar.gz",
14970
+ "./arxiv/1710.tar.gz",
14971
+ "./arxiv/9503.tar.gz",
14972
+ "./arxiv/9810.tar.gz",
14973
+ "./arxiv/1801.tar.gz",
14974
+ "./arxiv/1802.tar.gz",
14975
+ "./arxiv/2011.tar.gz",
14976
+ "./arxiv/0305.tar.gz",
14977
+ "./arxiv/1101.tar.gz",
14978
+ "./arxiv/9505.tar.gz",
14979
+ "./arxiv/1808.tar.gz",
14980
+ "./arxiv/1911.tar.gz",
14981
+ "./arxiv/9609.tar.gz",
14982
+ "./arxiv/0011.tar.gz",
14983
+ "./arxiv/1408.tar.gz",
14984
+ "./arxiv/1709.tar.gz",
14985
+ "./arxiv/9309.tar.gz",
14986
+ "./arxiv/1805.tar.gz",
14987
+ "./arxiv/0211.tar.gz",
14988
+ "./arxiv/2008.tar.gz",
14989
+ "./arxiv/0711.tar.gz",
14990
+ "./arxiv/0906.tar.gz",
14991
+ "./arxiv/0206.tar.gz",
14992
+ "./arxiv/9804.tar.gz",
14993
+ "./arxiv/0912.tar.gz",
14994
+ "./arxiv/9902.tar.gz",
14995
+ "./arxiv/1108.tar.gz",
14996
+ "./arxiv/9312.tar.gz",
14997
+ "./arxiv/0811.tar.gz",
14998
+ "./arxiv/1003.tar.gz",
14999
+ "./arxiv/9907.tar.gz",
15000
+ "./arxiv/0812.tar.gz",
15001
+ "./arxiv/0604.tar.gz",
15002
+ "./arxiv/9903.tar.gz",
15003
+ "./arxiv/9910.tar.gz",
15004
+ "./arxiv/9508.tar.gz",
15005
+ "./arxiv/2205.tar.gz",
15006
+ "./arxiv/9311.tar.gz",
15007
+ "./arxiv/1212.tar.gz",
15008
+ "./arxiv/0204.tar.gz",
15009
+ "./arxiv/0008.tar.gz",
15010
+ "./arxiv/2101.tar.gz",
15011
+ "./arxiv/1505.tar.gz",
15012
+ "./arxiv/0108.tar.gz",
15013
+ "./arxiv/2106.tar.gz",
15014
+ "./arxiv/0606.tar.gz",
15015
+ "./arxiv/9502.tar.gz",
15016
+ "./arxiv/1807.tar.gz",
15017
+ "./arxiv/1511.tar.gz",
15018
+ "./arxiv/9509.tar.gz",
15019
+ "./arxiv/1103.tar.gz",
15020
+ "./arxiv/9605.tar.gz",
15021
+ "./arxiv/9912.tar.gz",
15022
+ "./arxiv/1607.tar.gz",
15023
+ "./arxiv/9611.tar.gz",
15024
+ "./arxiv/1811.tar.gz",
15025
+ "./arxiv/0103.tar.gz",
15026
+ "./arxiv/9202.tar.gz",
15027
+ "./arxiv/1404.tar.gz",
15028
+ "./arxiv/0412.tar.gz",
15029
+ "./arxiv/0102.tar.gz",
15030
+ "./arxiv/9411.tar.gz",
15031
+ "./arxiv/1908.tar.gz",
15032
+ "./arxiv/1703.tar.gz",
15033
+ "./arxiv/1508.tar.gz",
15034
+ "./arxiv/1702.tar.gz",
15035
+ "./arxiv/9307.tar.gz",
15036
+ "./arxiv/9801.tar.gz",
15037
+ "./arxiv/9603.tar.gz",
15038
+ "./arxiv/9107.tar.gz",
15039
+ "./arxiv/1901.tar.gz",
15040
+ "./arxiv/0205.tar.gz",
15041
+ "./arxiv/0105.tar.gz",
15042
+ "./arxiv/0001.tar.gz",
15043
+ "./arxiv/9501.tar.gz",
15044
+ "./arxiv/9606.tar.gz",
15045
+ "./arxiv/0309.tar.gz",
15046
+ "./arxiv/0612.tar.gz",
15047
+ "./arxiv/1910.tar.gz",
15048
+ "./arxiv/9909.tar.gz",
15049
+ "./arxiv/1301.tar.gz",
15050
+ "./arxiv/1907.tar.gz",
15051
+ "./arxiv/1111.tar.gz",
15052
+ "./arxiv/2005.tar.gz",
15053
+ "./arxiv/0708.tar.gz",
15054
+ "./arxiv/0609.tar.gz",
15055
+ "./arxiv/1307.tar.gz",
15056
+ "./arxiv/2111.tar.gz",
15057
+ "./arxiv/0307.tar.gz",
15058
+ "./arxiv/0508.tar.gz"
15059
+ ],
15060
+ "arxiv-valid": [
15061
+ "./arxiv/9406.tar.gz",
15062
+ "./arxiv/0806.tar.gz",
15063
+ "./arxiv/1806.tar.gz",
15064
+ "./arxiv/0006.tar.gz",
15065
+ "./arxiv/9806.tar.gz",
15066
+ "./arxiv/1406.tar.gz",
15067
+ "./arxiv/2006.tar.gz",
15068
+ "./arxiv/0406.tar.gz",
15069
+ "./arxiv/1006.tar.gz"
15070
  ]
15071
  }
test.py CHANGED
@@ -5,7 +5,7 @@ import time
5
  from tqdm import tqdm
6
 
7
  total_size = 0
8
- for x in ["arxiv", "books", "formal", "wiki", "stack-exchange", "math-dataset"]:
9
  dataset = load_dataset("./proof-pile.py", x)
10
  size = dataset["train"].dataset_size / 2**30
11
  total_size += size
 
5
  from tqdm import tqdm
6
 
7
  total_size = 0
8
+ for x in ["arxiv"]:
9
  dataset = load_dataset("./proof-pile.py", x)
10
  size = dataset["train"].dataset_size / 2**30
11
  total_size += size