File size: 1,524 Bytes
407a9f5 470fe5c 407a9f5 470fe5c 407a9f5 470fe5c 407a9f5 470fe5c 407a9f5 | 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 62 | ---
configs:
- config_name: pubmed
data_files:
- split: train
path: data/pubmed/part-*.jsonl.gz
- config_name: pmc
data_files:
- split: train
path: data/pmc/part-*.jsonl.gz
- config_name: uspto
data_files:
- split: train
path: data/uspto/part-*.jsonl.gz
- config_name: clinical_trial
data_files:
- split: train
path: data/clinical_trial/part-*.jsonl.gz
---
# BEN Entities
Full BEN entity extraction results exported from MongoDB as Hub-native
`jsonl.gz` shards.
Each row contains only `document_id` and `entities`. Scores are filtered with
threshold `0.6` and rounded to two decimals.
## Configs
- `pubmed` from Mongo collection `pubmed_ncbi`
- `pmc` from Mongo collection `pmc_xml`
- `uspto` from Mongo collection `patent_uspto`
- `clinical_trial` from Mongo collection `clinical_trial_gov`
## Usage
```python
from datasets import load_dataset
ds = load_dataset("BioMedBigDataCenter/ben-entities", name="pubmed", split="train")
print(len(ds), ds[0]["document_id"])
```
```python
from datasets import load_dataset
ds = load_dataset("BioMedBigDataCenter/ben-entities", name="pmc", split="train")
print(len(ds), ds[0]["document_id"])
```
```python
from datasets import load_dataset
ds = load_dataset("BioMedBigDataCenter/ben-entities", name="uspto", split="train")
print(len(ds), ds[0]["document_id"])
```
```python
from datasets import load_dataset
ds = load_dataset("BioMedBigDataCenter/ben-entities", name="clinical_trial", split="train")
print(len(ds), ds[0]["document_id"])
```
|