Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
danzzzll
/
rubert-tiny_cls
like
0
Text Classification
Transformers
Safetensors
bert
Model card
Files
Files and versions
xet
Community
Deploy
Use this model
danzzzll
commited on
Dec 15, 2023
Commit
a2d89f6
·
1 Parent(s):
17e71f8
Create README.md
Browse files
Files changed (1)
hide
show
README.md
+6
-0
README.md
ADDED
Viewed
@@ -0,0 +1,6 @@
1
+
texts = List[str]
2
+
3
+
from transformers import pipeline
4
+
5
+
classifier = pipeline("text-classification", model='danzzzll/rubert-tiny_cls', tokenizer='cointegrated/rubert-tiny2')
6
+
classifier(texts)