shub-kris/claire-dataset
Viewer • Updated • 756 • 6
How to use shub-kris/claire-text-classification-model with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="shub-kris/claire-text-classification-model") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("shub-kris/claire-text-classification-model")
model = AutoModelForSequenceClassification.from_pretrained("shub-kris/claire-text-classification-model")This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
Use the code below to get started with the model.