awacke1 commited on
Commit
8059699
1 Parent(s): a20d979

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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['train'][0]
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"))