Update README.md
Browse filesFix up usage sample
README.md
CHANGED
@@ -58,8 +58,8 @@ Actual, clinical diagnosis.
|
|
58 |
```python
|
59 |
from transformers import pipeline
|
60 |
|
61 |
-
condition_from_drug_review_classifier = pipeline("lloydmeta/drug-bert")
|
62 |
-
text_sentiment = "I have been
|
63 |
condition_from_drug_review_classifier(text_sentiment)
|
64 |
```
|
65 |
|
|
|
58 |
```python
|
59 |
from transformers import pipeline
|
60 |
|
61 |
+
condition_from_drug_review_classifier = pipeline("text-classification", model = "lloydmeta/drug-bert")
|
62 |
+
text_sentiment = "I have been taking ambien or zolphidem for almost 15 years."
|
63 |
condition_from_drug_review_classifier(text_sentiment)
|
64 |
```
|
65 |
|