File size: 1,791 Bytes
c332b5a
 
dedbd09
c332b5a
 
 
 
 
 
 
 
 
 
 
 
 
dedbd09
 
 
 
 
 
 
 
 
 
 
 
 
 
c332b5a
 
 
 
 
dedbd09
 
 
 
c332b5a
b63cdc1
 
0fa94af
b63cdc1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
---
dataset_info:
- config_name: cc-by
  features:
  - name: id
    dtype: string
  - name: idx
    dtype: int64
  - name: paragraph
    dtype: string
  splits:
  - name: train
    num_bytes: 151115318
    num_examples: 139463
  download_size: 76199216
  dataset_size: 151115318
- config_name: cc-by-nc
  features:
  - name: id
    dtype: string
  - name: idx
    dtype: int64
  - name: paragraph
    dtype: string
  splits:
  - name: train
    num_bytes: 78538396
    num_examples: 69457
  download_size: 39741294
  dataset_size: 78538396
configs:
- config_name: cc-by
  data_files:
  - split: train
    path: cc-by/train-*
- config_name: cc-by-nc
  data_files:
  - split: train
    path: cc-by-nc/train-*
---
# ChemRxiv Paragraphs

This dataset consists of paragraphs from ChemRxiv papers with **CC BY 4.0** and **CC BY-NC 4.0** licenses, sourced from the [BASF-AI/ChemRxiv-Papers](https://huggingface.co/datasets/BASF-AI/ChemRxiv-Papers) dataset. Paragraphs are extracted using [Grobid](https://github.com/kermitt2/grobid), and filtered using an average log word probability method similar to the approach in [allenai/peS2o](https://huggingface.co/datasets/allenai/peS2o). Paragraphs with fewer than 50 words are excluded.

The number of unique papers in each license category is as follows:

- **CC BY 4.0:** 5,848 papers
- **CC BY-NC 4.0:** 3,082 papers

To obtain metadata for each paper, join on the `id` column with the [BASF-AI/ChemRxiv-Papers](https://huggingface.co/datasets/BASF-AI/ChemRxiv-Papers) dataset.

To access paragraphs for a specific license, use the `name` argument as follows:


```python
import datasets

cc_by = datasets.load_dataset('BASF-AI/ChemRxiv-Paragraphs', name='cc-by')
cc_by_nc = datasets.load_dataset('BASF-AI/ChemRxiv-Paragraphs', name='cc-by-nc')

```