Update README.md
Browse files
README.md
CHANGED
@@ -4,6 +4,7 @@ tags:
|
|
4 |
- text-classification
|
5 |
widget:
|
6 |
- text: I love AutoTrain
|
|
|
7 |
---
|
8 |
|
9 |
# Model Trained Using AutoTrain
|
@@ -21,7 +22,7 @@ from transformers import pipeline
|
|
21 |
classifier = pipeline("text-classification", model="Phase-Technologies/RoBERTo")
|
22 |
|
23 |
# Perform inference
|
24 |
-
text = "
|
25 |
result = classifier(text)
|
26 |
|
27 |
print(result)
|
|
|
4 |
- text-classification
|
5 |
widget:
|
6 |
- text: I love AutoTrain
|
7 |
+
pipeline_tag: text-classification
|
8 |
---
|
9 |
|
10 |
# Model Trained Using AutoTrain
|
|
|
22 |
classifier = pipeline("text-classification", model="Phase-Technologies/RoBERTo")
|
23 |
|
24 |
# Perform inference
|
25 |
+
text = "Phase Technologies is a company"
|
26 |
result = classifier(text)
|
27 |
|
28 |
print(result)
|