AlGe commited on
Commit
0b052a8
·
verified ·
1 Parent(s): 1c3ac91

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -83,11 +83,8 @@ iface = gr.Interface(
83
  title="Tokenizer Comparison",
84
  description="Compare tokenization results from different tokenizers.",
85
  examples=[
86
- ["Hello, world! How are you doing today?", ["bert-base-uncased", "gpt2"]],
87
- ["The quick brown fox jumps over the lazy dog.", ["roberta-base", "distilbert-base-uncased"]],
88
- ["Natural Language Processing (NLP) is a subfield of linguistics, computer science, and artificial intelligence.", ["xlnet-base-cased", "bert-base-uncased"]],
89
- ["Don't you just love Python? It's so versatile!", ["gpt2", "roberta-base"]],
90
- ["In 2023, AI made significant advancements.", ["distilbert-base-uncased", "xlnet-base-cased"]]
91
  ],
92
  allow_flagging="never"
93
  )
 
83
  title="Tokenizer Comparison",
84
  description="Compare tokenization results from different tokenizers.",
85
  examples=[
86
+ ["Allergies: \nNo Known Allergies / Adverse Drug Reactions\n\nChief Complaint: \nRight hand erythema/edema\n\nHistory of Present Illness: \nThe patient is a ___ y/o M with PMHx significant", ["allenai/longformer-base-4096", "gpt2"]],
87
+ ["In the ED, initial vitals: 98.3 80 144/90 18 96% ra \nLabs notable for: Leukocytosis to 12.5. The patient endorsed \nsevere R hand tenderness but otherwise denied any fevers, \nchills, nausea, vomiting, numbness, tingling or weakness. Hand \nsurgery was consulted and recommended admission to medicine for \nIV antibiotics, possible ultrasound to evaluate for \nthrombophlebitis and pain control. In the ED, patient received \nZosyn and IV dilaudid 0.5mg x1.\n\nUpon arrival to the floor, patient endorses R hand pain- stable \nfrom prior. \n\nROS: Per HPI \n\n\nPast Medical History: \nCrohn's disease\nAnal fissure\nh/o DVT on coumadin\nRotator cuff repair in ___\n\n\nFamily History: \nNo family h/o IBD\n\n\nMedications on Admission: EXAMINATION: UNILAT UP EXT VEINS US RIGHT\n\nINDICATION: ___ year old man with concern for R hand cellulitis vs.\nthrombophlebitis ", ["roberta-base", "allenai/longformer-base-4096"]],
 
 
 
88
  ],
89
  allow_flagging="never"
90
  )