Cyrile commited on
Commit
8f1679a
1 Parent(s): ccce922

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +27 -0
README.md CHANGED
@@ -1,3 +1,30 @@
1
  ---
2
  license: apache-2.0
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
  ---
4
+
5
+ We present the **Arxiv Figures & Tables Database (AFTdb)**, which consists of an aggregation of figures and tables from scientific articles sourced from the ArXiv platform.
6
+
7
+ The purpose of this dataset is to train multimodal models specialized in images of document-type objects (graphs, functional diagrams, tables, etc.), rather than photographic-type images. The idea is that a model trained on this type of data will be more coherent within the context of document corpora than a model trained on pictorial compositions. To establish a connection between the two modalities (image and text), captions for each object are also provided. As captions can sometimes be very brief, the article's summary is also included to add context to the document object if necessary.
8
+
9
+ For this reason, a corpus of scientific articles was prioritized. Due to the scientific rigor demanded, each document-type object is systematically accompanied by a caption (similar to captions for pictorial images on platforms like Flickr, for example).
10
+
11
+ The database is divided into two types of document objects: figures and tables. For the table part, it is possible to approach two different types of learning. The first, similar to figures, associates the image with the caption. However, in the data field, the LaTeX source code of the table is also provided. An objective can be to take an image of a table and convert it into text using this source code.
12
+
13
+ Loading the database:
14
+ ---------------------
15
+
16
+ The figure part is relatively substantial, and it is advisable to use the dataset in streaming mode:
17
+ ```python
18
+ aftdb_figure = load_dataset("cmarkea/aftdb", "figure", streaming=True)
19
+ ```
20
+
21
+ The table part is less substantial and can be downloaded locally directly:
22
+ ```python
23
+ aftdb_table = load_dataset("cmarkea/aftdb", "table")
24
+ ```
25
+
26
+ Both categories are compatible, and it is possible to load both types simultaneously:
27
+ ```python
28
+ aftdb_both = load_dataset("cmarkea/aftdb", "figure+table", streaming=True)
29
+ ```
30
+ **This is the default configuration.**