lloydmeta commited on
Commit
0f6b2e4
1 Parent(s): f487940

Update README.md

Browse files

Fix up usage sample

Files changed (1) hide show
  1. README.md +2 -2
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 on quetiapine 50mg for 2 years now."
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