Datasets:

ArXiv:
License:
shinseung428 commited on
Commit
b29fd1c
β€’
1 Parent(s): 640edb5

update benchmark pdf files and results

Browse files
README.md CHANGED
@@ -232,11 +232,11 @@ $ python evaluate.py \
232
 
233
  | Source | Request date | TEDS ↑ | TEDS-S ↑ | NID ↑ | Avg. Time (secs) ↓ |
234
  |:---------------------|:------------:|-----------:|----------:|------------:|------------:|
235
- | upstage | 2024-10-22 | **92.06** | **93.81** | **96.26** | **3.79** |
236
- | aws | 2024-10-10 | 86.39 | 90.22 | 95.94 | 14.47 |
237
- | llamaparse | 2024-10-10 | 73.36 | 76.29 | 92.22 | 4.14 |
238
- | unstructured | 2024-10-10 | 64.49 | 69.90 | 90.42 | 13.14 |
239
- | google | 2024-10-10 | 64.64 | 70.95 | 90.09 | 5.85 |
240
- | microsoft | 2024-10-10 | 85.54 | 89.07 | 87.03 | 4.44 |
241
 
242
  </div>
 
232
 
233
  | Source | Request date | TEDS ↑ | TEDS-S ↑ | NID ↑ | Avg. Time (secs) ↓ |
234
  |:---------------------|:------------:|-----------:|----------:|------------:|------------:|
235
+ | upstage | 2024-10-24 | **93.48** | **94.16** | **97.02** | **3.79** |
236
+ | aws | 2024-10-24 | 88.05 | 90.79 | 96.71 | 14.47 |
237
+ | llamaparse | 2024-10-24 | 74.57 | 76.34 | 92.82 | 4.14 |
238
+ | unstructured | 2024-10-24 | 65.56 | 70.00 | 91.18 | 13.14 |
239
+ | google | 2024-10-24 | 66.13 | 71.58 | 90.86 | 5.85 |
240
+ | microsoft | 2024-10-24 | 87.19 | 89.75 | 87.69 | 4.44 |
241
 
242
  </div>
dataset/pdfs/01030000000170.pdf CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f6eaf6be346de489b06d5b25fd2e4756588ba27b5958b1c6a4108462d34029c9
3
- size 74646
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4d5b682effaf9580928a7073980e3916687d168238bc96b6c17222f747eacde6
3
+ size 69255
dataset/pdfs/01030000000185.pdf CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:89e2c45a2c3e2ea0c2b5fbc88ff0f5b91e6b879c56e3b8a535a89ee8ad7cd5fb
3
- size 110764
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b639c25ab157f6f4ecbdb7cd31724bf4c8869f03134f5e606c49dd5fbee2bb54
3
+ size 107787
dataset/pdfs/01030000000186.pdf CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b4469a0e7a0d159508feccac6cb0caeeb8829b70ea066935c7d61e5705fd6aa0
3
- size 258683
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:22d276b33b49ec941acbc323e24fa57ed07579760f472c136f226d755a0c3b13
3
+ size 256708
dataset/pdfs/01030000000187.pdf CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1d9441305f5b2e12c776071cae7e1be597895353e82dc16c2cb59382af1ff802
3
- size 72844
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29d883eb26e7b9d08250b4bab1c51092d74e310e6acfa955f8fe28f1008accf5
3
+ size 71370
dataset/pdfs/01030000000188.pdf CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9899725b0f1f21b71449bf549741c2abfb85a1b21e056f125854176eb2e2252a
3
- size 118294
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:61070c2fe64a690c7c9cc97d12b76380e7a134feda3c5315f779306699a89a1b
3
+ size 114941
dataset/pdfs/01030000000189.pdf CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:27745ea21e70a052723786a1936f459e7b3d3e300193eda65c6fb5534abe01e8
3
- size 72211
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2f972daaa81cb3949db12a39cf6910c4f9952135f7eb3850e1f60ef7d8b5aaf9
3
+ size 71529
dataset/pdfs/01030000000190.pdf CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f430be3f18f33483059bd73d8c8ae5a171b0863bb57c17c3b3b6f24e0f5e337e
3
- size 86677
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eac01901729786f15ba498716c592370d50f00658c291495086ff49a8538c5c6
3
+ size 85792
dataset/pdfs/01030000000191.pdf CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:dd837d275dbb548a67fd13ac45532e41543b8e431bb981c97e9c44946f2a9f33
3
- size 85838
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:196876d21778214061c0d970de83cf37204a90e0f58c3da7e9f3c8c7e803b770
3
+ size 84621
dataset/pdfs/01030000000192.pdf CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:184d2a5d0d91b8d066034840f941eefc64be30143fb971f94d26cfed3c78fec2
3
- size 82792
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eaafa071048c2ec1309751325280ea3d354317cf67ebda400cdf4fd39503392b
3
+ size 65607
dataset/pdfs/01030000000193.pdf CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:353e9a67945648afd9ef544074e55cabc0e3be02a8d6d9551dab3f85ae79691d
3
- size 65701
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fcaa8c3de4757ff51e604d84c983c59c421e31b9989df5b74c930e0e8720e5ae
3
+ size 47856
dataset/pdfs/01030000000195.pdf CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3aff6b5404443c0c29c1d9e9d9fb90c11dcedd2f3cad77dc47d453a1fe6104a1
3
- size 53454
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b12f031b9b42e6f54b76b7d4666df76b7c8410a676d63b0ad2afdb40388d623
3
+ size 52383
dataset/pdfs/01030000000196.pdf CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2790e014f6267fb7dacc4986aab913c6db40b6ff4c843aa42228e2dc850ff04d
3
- size 53690
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1c0d070f25babee3e3b5e2a842c54258f41939a7774c0e7c6d85fb7078e1196d
3
+ size 52496
dataset/pdfs/01030000000197.pdf CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3f9f5d9acf6467af94a650e6c9e92fd068f0d158616c1615206a5ac175c43489
3
- size 45507
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:39f32d6a01b8e434ad2fb16ff3896931153cdf4f85bca09194b71e1514711355
3
+ size 44988
dataset/reference.json CHANGED
The diff for this file is too large to render. See raw diff
 
dataset/sample_results/aws_241010.json DELETED
The diff for this file is too large to render. See raw diff
 
dataset/sample_results/aws_241024.json ADDED
The diff for this file is too large to render. See raw diff
 
dataset/sample_results/google_241010.json DELETED
The diff for this file is too large to render. See raw diff
 
dataset/sample_results/google_241024.json ADDED
The diff for this file is too large to render. See raw diff
 
dataset/sample_results/llamaparse_241010.json DELETED
The diff for this file is too large to render. See raw diff
 
dataset/sample_results/llamaparse_241024.json ADDED
The diff for this file is too large to render. See raw diff
 
dataset/sample_results/microsoft_241010.json DELETED
The diff for this file is too large to render. See raw diff
 
dataset/sample_results/microsoft_241024.json ADDED
The diff for this file is too large to render. See raw diff
 
dataset/sample_results/unstructured_241010.json DELETED
The diff for this file is too large to render. See raw diff
 
dataset/sample_results/unstructured_241024.json ADDED
The diff for this file is too large to render. See raw diff
 
dataset/sample_results/{upstage_241022.json β†’ upstage_241024.json} RENAMED
The diff for this file is too large to render. See raw diff
 
scripts/infer_unstructured.py CHANGED
@@ -151,6 +151,13 @@ class UnstructuredInference:
151
  with open(self.save_path, "w") as f:
152
  json.dump(result_dict, f)
153
 
 
 
 
 
 
 
 
154
 
155
  if __name__ == "__main__":
156
  args = argparse.ArgumentParser()
 
151
  with open(self.save_path, "w") as f:
152
  json.dump(result_dict, f)
153
 
154
+ for error_file in error_files:
155
+ print(f"Error processing file: {error_file}")
156
+
157
+ print("Finished processing all documents")
158
+ print("Results saved to: {}".format(self.save_path))
159
+ print("Number of errors: {}".format(len(error_files)))
160
+
161
 
162
  if __name__ == "__main__":
163
  args = argparse.ArgumentParser()