Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ dataseteCQM = load_dataset("awacke1/eCQM-Code-Value-Semantic-Set.csv", split="tr
|
|
13 |
from transformers import AutoTokenizer
|
14 |
tokenizer = AutoTokenizer.from_pretrained("bert-base-cased")
|
15 |
dataset = datasetLOINC.map(lambda examples: tokenizer(examples["Description"]), batched=True)
|
16 |
-
JSONOBJ2=dataset[
|
17 |
print(JSONOBJ2)
|
18 |
|
19 |
sw = datasetLOINC.filter(lambda example: example["Description"].startswith("Allergy"))
|
|
|
13 |
from transformers import AutoTokenizer
|
14 |
tokenizer = AutoTokenizer.from_pretrained("bert-base-cased")
|
15 |
dataset = datasetLOINC.map(lambda examples: tokenizer(examples["Description"]), batched=True)
|
16 |
+
JSONOBJ2=dataset[0]
|
17 |
print(JSONOBJ2)
|
18 |
|
19 |
sw = datasetLOINC.filter(lambda example: example["Description"].startswith("Allergy"))
|