blnewman-uw commited on
Commit
3f8eb69
·
1 Parent(s): 6d9f8d5

Add more information to README

Browse files
Files changed (1) hide show
  1. README.md +44 -3
README.md CHANGED
@@ -11,8 +11,49 @@ configs:
11
  path: tables_dataset_viewer_only.jsonl
12
  ---
13
 
14
- # ArXivDIGESTables
15
 
16
- **Note**: Please use huggingface datasets as a way to preview the data only as `load_dataset` does not work well with the current data format. Instead it is recommended to directly download `tables.jsonl`, `papers.jsonl`, and `full_texts.jsonl.gz`.
17
 
18
- See [the github repo](https://github.com/bnewm0609/arxivDIGESTables) for more details.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  path: tables_dataset_viewer_only.jsonl
12
  ---
13
 
14
+ # ArxivDIGESTables
15
 
16
+ The data set of tables released with [ArxivDIGESTables: Synthesizing Scientific Literature into Tables using Language Models](https://arxiv.org/abs/2410.22360).
17
 
18
+ The tables in this dataset are arbitrary json objects, so they don't play nicely with huggingface's `load_dataset` method. The recommended way to access the data is to download individual files from [huggingface.co/datasets/blnewman/arxivDIGESTables](https://huggingface.co/datasets/blnewman/arxivDIGESTables/tree/main).
19
+
20
+ For the high quality data, you should download `papers.jsonl`, `tables.jsonl`, and `full_texts.jsonl.gz`.
21
+ If you want more tables that are less stringently filtered and do not have associated full texts, you can download `papers_medium_quality.jsonl` and `tables_medium_quality.jsonl`.
22
+ - The `papers*.jsonl` files include information about the papers cited in the tables including their S2 corpus ids, title, abstract and the ids of what tables they can be found in. These are mostly useful for analysis as almost all of the information is also included in the `tables*.jsonl` files.
23
+ - The `tables*.jsonl` files include:
24
+ - `tabid`: an id for each table
25
+ - `table`: the table itself, which is a nested json dictionary
26
+ - `row_bib_map`: which maps each row of the table to the corpus id, title, and abstract for the paper cited in that row.
27
+ - `caption`: the table's caption
28
+ - `in_text_ref`: a list of paragraphs where the table is refered to in the main text
29
+ - `arxiv_id`: the arxiv id of the paper that table comes from
30
+ - `full_text.jsonl.gz`contains the full texts for the papers in `papers.jsonl`.
31
+
32
+
33
+ If you want to preview the tables, you can use huggingface dataset's loader. In this case, the tables are stored as json strings and need to be parsed:
34
+ ```python
35
+ import json
36
+ from datasets import load_dataset
37
+
38
+ # high quality
39
+ tables = load_dataset("blnewman/arxivDIGESTables")
40
+
41
+ # load the table from json string. Not necessary if you download `tables.jsonl` directly.
42
+ print(json.loads(tables["validation"]["table"][0]))
43
+
44
+ # medium quality
45
+ arxivdigestables_medium = load_dataset("blnewman/arxivDIGESTables", "medium_quality")
46
+ ```
47
+
48
+ See [the github repo](https://github.com/bnewm0609/arxivDIGESTables) for more details.
49
+
50
+ ## Citation
51
+ ```
52
+ @article{newman2024arxivdigestables,
53
+ title={ArxivDIGESTables: Synthesizing Scientific Literature into Tables using Language Models},
54
+ author={Benjamin Newman and Yoonjoo Lee and Aakanksha Naik and Pao Siangliulue and Raymond Fok and Juho Kim and Daniel S. Weld and Joseph Chee Chang and Kyle Lo},
55
+ year={2024},
56
+ journal={arXiv preprint},
57
+ url={https://arxiv.org/abs/2410.22360},
58
+ }
59
+ ```