Datasets:
Tasks:
Token Classification
Modalities:
Text
Formats:
parquet
Sub-tasks:
named-entity-recognition
Languages:
Spanish
Size:
10K - 100K
License:
Commit
·
4de8da2
1
Parent(s):
0204cf5
Added data in json format
Browse files- clinical_trials.py +19 -1
- dev.json +0 -0
- test.json +0 -0
- train.json +0 -0
clinical_trials.py
CHANGED
@@ -1,3 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import datasets
|
2 |
|
3 |
|
@@ -8,7 +26,7 @@ _LICENSE = "Creative Commons Attribution 4.0 International"
|
|
8 |
|
9 |
_VERSION = "1.1.0"
|
10 |
|
11 |
-
_URL = "https://huggingface.co/datasets/
|
12 |
_TRAINING_FILE = "train.conll"
|
13 |
_DEV_FILE = "dev.conll"
|
14 |
_TEST_FILE = "test.conll"
|
|
|
1 |
+
'''
|
2 |
+
Procesar así los datos en el terminal:
|
3 |
+
|
4 |
+
import clinical_trials
|
5 |
+
|
6 |
+
from clinical_trials import ClinicalTrials
|
7 |
+
|
8 |
+
train_json = ClinicalTrials._generate_examples('train.json','train.conll')
|
9 |
+
|
10 |
+
x = json.dumps([item for item in train_json])
|
11 |
+
|
12 |
+
outFile = open("train.json",'w',encoding="utf8")
|
13 |
+
print(x,file=outFile)
|
14 |
+
outFile.close()
|
15 |
+
|
16 |
+
'''
|
17 |
+
|
18 |
+
|
19 |
import datasets
|
20 |
|
21 |
|
|
|
26 |
|
27 |
_VERSION = "1.1.0"
|
28 |
|
29 |
+
_URL = "https://huggingface.co/datasets/lcampillos/CT-EBM-ES"
|
30 |
_TRAINING_FILE = "train.conll"
|
31 |
_DEV_FILE = "dev.conll"
|
32 |
_TEST_FILE = "test.conll"
|
dev.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
test.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
train.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|