Datasets:
Commit
·
5aa7ec4
1
Parent(s):
f4d940a
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -12,14 +12,44 @@ multilinguality:
|
|
| 12 |
pretty_name: PET
|
| 13 |
size_categories:
|
| 14 |
- 1K<n<10K
|
| 15 |
-
source_datasets:
|
| 16 |
-
|
| 17 |
task_categories:
|
| 18 |
- token-classification
|
| 19 |
task_ids:
|
| 20 |
- token classification
|
| 21 |
- named entity recognition
|
| 22 |
- relation extraction
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
---
|
| 24 |
|
| 25 |
# PET: A NEW DATASET FOR PROCESS EXTRACTION FROM TEXT
|
|
@@ -324,4 +354,4 @@ modelhub_dataset = load_dataset("patriziobellan/PET", name='token-classification
|
|
| 324 |
### Relations-extraction task
|
| 325 |
```python
|
| 326 |
from datasets import load_dataset
|
| 327 |
-
modelhub_dataset = load_dataset("patriziobellan/PET", name='relations-extraction')
|
|
|
|
| 12 |
pretty_name: PET
|
| 13 |
size_categories:
|
| 14 |
- 1K<n<10K
|
| 15 |
+
source_datasets:
|
| 16 |
+
- Friedrich et al. original dataset
|
| 17 |
task_categories:
|
| 18 |
- token-classification
|
| 19 |
task_ids:
|
| 20 |
- token classification
|
| 21 |
- named entity recognition
|
| 22 |
- relation extraction
|
| 23 |
+
dataset_info:
|
| 24 |
+
features:
|
| 25 |
+
- name: document name
|
| 26 |
+
dtype: string
|
| 27 |
+
- name: tokens
|
| 28 |
+
sequence: string
|
| 29 |
+
- name: tokens-IDs
|
| 30 |
+
sequence: int8
|
| 31 |
+
- name: ner_tags
|
| 32 |
+
sequence: string
|
| 33 |
+
- name: sentence-IDs
|
| 34 |
+
sequence: int8
|
| 35 |
+
- name: relations
|
| 36 |
+
sequence:
|
| 37 |
+
- name: source-head-sentence-ID
|
| 38 |
+
dtype: int8
|
| 39 |
+
- name: source-head-word-ID
|
| 40 |
+
dtype: int8
|
| 41 |
+
- name: relation-type
|
| 42 |
+
dtype: string
|
| 43 |
+
- name: target-head-sentence-ID
|
| 44 |
+
dtype: int8
|
| 45 |
+
- name: target-head-word-ID
|
| 46 |
+
dtype: int8
|
| 47 |
+
splits:
|
| 48 |
+
- name: test
|
| 49 |
+
num_bytes: 203379
|
| 50 |
+
num_examples: 45
|
| 51 |
+
download_size: 38326
|
| 52 |
+
dataset_size: 203379
|
| 53 |
---
|
| 54 |
|
| 55 |
# PET: A NEW DATASET FOR PROCESS EXTRACTION FROM TEXT
|
|
|
|
| 354 |
### Relations-extraction task
|
| 355 |
```python
|
| 356 |
from datasets import load_dataset
|
| 357 |
+
modelhub_dataset = load_dataset("patriziobellan/PET", name='relations-extraction')
|