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

pipe = pipeline("text-classification", model="danzzzll/rubert-tiny_cls")
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("danzzzll/rubert-tiny_cls")
model = AutoModelForSequenceClassification.from_pretrained("danzzzll/rubert-tiny_cls")
Quick Links

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

texts = List[str]

from transformers import pipeline

classifier = pipeline("text-classification", model='danzzzll/rubert-tiny_cls', tokenizer='cointegrated/rubert-tiny2')
classifier(texts)
Downloads last month
5
Safetensors
Model size
29.2M params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support