pmaitra commited on
Commit
2aba7d7
1 Parent(s): 96eef38

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +14 -9
README.md CHANGED
@@ -49,7 +49,7 @@ BioBERT based NER model for medical symptoms
49
 
50
 
51
 
52
- <b> <u> Model Description </u> </b>
53
 
54
  The model was trained on a combined maccrobat and i2c2 dataset and is based on biobert. If you use this model kindly cite the paper below:
55
 
@@ -61,17 +61,22 @@ Developing a BioBERT-based Natural Language Processing Algorithm for Acute Myelo
61
 
62
  <b> <u> How to use the Model </u> </b>
63
 
64
- <div class="boxed">
65
- !pip install https://huggingface.co/pmaitra/en_biobert_ner_symptom/resolve/main/en_biobert_ner_symptom-any-py3-none-any.whl
66
 
67
- import spacy
68
- nlp = spacy.load("en_biobert_ner_symptom")
69
 
70
- doc = nlp("He complained of dizziness and nausea during the Iowa trip.")
 
 
 
 
 
 
 
 
 
71
 
72
- for ent in doc.ents:
73
- print(ent)
74
- </div>
75
 
76
  ### Accuracy
77
 
 
49
 
50
 
51
 
52
+ ## Model Description
53
 
54
  The model was trained on a combined maccrobat and i2c2 dataset and is based on biobert. If you use this model kindly cite the paper below:
55
 
 
61
 
62
  <b> <u> How to use the Model </u> </b>
63
 
64
+ ## Model Usage
65
+ The model can be used as a spacy library.
66
 
67
+ ```python
 
68
 
69
+ >>> !pip install https://huggingface.co/pmaitra/en_biobert_ner_symptom/resolve/main/en_biobert_ner_symptom-any-py3-none-any.whl
70
+
71
+ >>> import spacy
72
+ >>> nlp = spacy.load("en_biobert_ner_symptom")
73
+
74
+ >>> doc = nlp("He complained of dizziness and nausea during the Iowa trip.")
75
+
76
+ >>> for ent in doc.ents: print(ent)
77
+
78
+ ```
79
 
 
 
 
80
 
81
  ### Accuracy
82