bhadresh-savani
commited on
Commit
•
178324b
1
Parent(s):
0532707
Update README.md
Browse files
README.md
CHANGED
@@ -26,7 +26,10 @@ metrics:
|
|
26 |
|
27 |
## How to Use the model:
|
28 |
```python
|
29 |
-
|
|
|
|
|
|
|
30 |
```
|
31 |
|
32 |
## Dataset:
|
|
|
26 |
|
27 |
## How to Use the model:
|
28 |
```python
|
29 |
+
from transformers import pipeline
|
30 |
+
classifier = pipeline("sentiment-analysis",model='bhadresh-savani/distilbert-base-uncased-emotion')
|
31 |
+
prediction = classifier("I love using transformers. The best part is wide range of support and its easy to use")
|
32 |
+
print(prediction)
|
33 |
```
|
34 |
|
35 |
## Dataset:
|