kairaamilanii
commited on
Commit
•
7d509cc
1
Parent(s):
09898c4
Update README.md
Browse files
README.md
CHANGED
@@ -53,8 +53,8 @@ model-index:
|
|
53 |
value: 0.9724
|
54 |
---
|
55 |
|
56 |
-
|
57 |
-
from transformers import pipeline
|
58 |
|
59 |
model = "/content/RoBERTa-mind14-classifier-intent"
|
60 |
classifier = pipeline("text-classification", model=model)
|
@@ -62,4 +62,5 @@ classifier = pipeline("text-classification", model=model)
|
|
62 |
text = "hi what's the maximum amount of money I can withdraw from" # Replace with your desired input text
|
63 |
|
64 |
prediction = classifier(text)
|
65 |
-
prediction
|
|
|
|
53 |
value: 0.9724
|
54 |
---
|
55 |
|
56 |
+
```python
|
57 |
+
>>> from transformers import pipeline
|
58 |
|
59 |
model = "/content/RoBERTa-mind14-classifier-intent"
|
60 |
classifier = pipeline("text-classification", model=model)
|
|
|
62 |
text = "hi what's the maximum amount of money I can withdraw from" # Replace with your desired input text
|
63 |
|
64 |
prediction = classifier(text)
|
65 |
+
prediction
|
66 |
+
```
|