Update README.md
Browse files
README.md
CHANGED
@@ -59,21 +59,20 @@ Developing a BioBERT-based Natural Language Processing Algorithm for Acute Myelo
|
|
59 |
</i>
|
60 |
</b>
|
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 |
-
|
70 |
|
71 |
-
|
72 |
-
|
73 |
|
74 |
-
|
75 |
|
76 |
-
|
|
|
77 |
|
78 |
```
|
79 |
|
|
|
59 |
</i>
|
60 |
</b>
|
61 |
|
|
|
|
|
62 |
## Model Usage
|
63 |
The model can be used as a spacy library.
|
64 |
|
65 |
```python
|
66 |
|
67 |
+
!pip install https://huggingface.co/pmaitra/en_biobert_ner_symptom/resolve/main/en_biobert_ner_symptom-any-py3-none-any.whl
|
68 |
|
69 |
+
import spacy
|
70 |
+
nlp = spacy.load("en_biobert_ner_symptom")
|
71 |
|
72 |
+
doc = nlp("He complained of dizziness and nausea during the Iowa trip.")
|
73 |
|
74 |
+
for ent in doc.ents:
|
75 |
+
print(ent)
|
76 |
|
77 |
```
|
78 |
|