How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("zero-shot-classification", model="kwang123/roberta-base-nli")
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("kwang123/roberta-base-nli")
model = AutoModelForSequenceClassification.from_pretrained("kwang123/roberta-base-nli", device_map="auto")
Quick Links

roberta-base-nli

This model was fine-tuned on the LT-EDI-ACL-2022 shared task 4 depression detection datset.

Downloads last month
16
Safetensors
Model size
0.1B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support