|
--- |
|
library_name: transformers |
|
tags: |
|
- text-classification |
|
widget: |
|
- text: I love AutoTrain |
|
pipeline_tag: text-classification |
|
--- |
|
|
|
# Model Trained Using AutoTrain |
|
|
|
- Problem type: Text Classification |
|
|
|
## Inference |
|
|
|
You can use the following Python code to perform inference with this model using the `transformers` library: |
|
|
|
```python |
|
from transformers import pipeline |
|
|
|
# Load the model |
|
classifier = pipeline("text-classification", model="Phase-Technologies/RoBERTo") |
|
|
|
# Perform inference |
|
text = "Phase Technologies is a company" |
|
result = classifier(text) |
|
|
|
print(result) |
|
``` |
|
|
|
|
|
# Use through Google Colab |
|
https://colab.research.google.com/drive/1wxfY0lWPRRYhj6oklj-p9mw5HcSFWXCL?usp=sharing |