Update README.md
Browse files
README.md
CHANGED
@@ -38,3 +38,24 @@ configs:
|
|
38 |
- split: train
|
39 |
path: cc-by-nc/train-*
|
40 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
- split: train
|
39 |
path: cc-by-nc/train-*
|
40 |
---
|
41 |
+
# ChemRxiv Paragraphs
|
42 |
+
|
43 |
+
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, 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.
|
44 |
+
|
45 |
+
The number of unique papers in each license category is as follows:
|
46 |
+
|
47 |
+
- **CC BY 4.0:** 5,848 papers
|
48 |
+
- **CC BY-NC 4.0:** 3,082 papers
|
49 |
+
|
50 |
+
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.
|
51 |
+
|
52 |
+
To access paragraphs for a specific license, use the `name` argument as follows:
|
53 |
+
|
54 |
+
|
55 |
+
```python
|
56 |
+
import datasets
|
57 |
+
|
58 |
+
cc_by = datasets.load_dataset('BASF-AI/ChemRxiv-Paragraphs', name='cc-by')
|
59 |
+
cc_by_nc = datasets.load_dataset('BASF-AI/ChemRxiv-Paragraphs', name='cc-by-nc')
|
60 |
+
|
61 |
+
```
|