Text Classification
Transformers
PyTorch
TensorFlow
JAX
Safetensors
Russian
bert
sentiment-analysis
multi-class-classification
sentiment analysis
rubert
sentiment
tiny
russian
multiclass
classification
text-embeddings-inference
Instructions to use seara/rubert-tiny2-russian-sentiment with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use seara/rubert-tiny2-russian-sentiment with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="seara/rubert-tiny2-russian-sentiment")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("seara/rubert-tiny2-russian-sentiment") model = AutoModelForSequenceClassification.from_pretrained("seara/rubert-tiny2-russian-sentiment", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -36,6 +36,14 @@ The task is a __multi-class classification__ with the following labels:
|
|
| 36 |
2: negative
|
| 37 |
```
|
| 38 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
## Usage
|
| 40 |
|
| 41 |
```python
|
|
|
|
| 36 |
2: negative
|
| 37 |
```
|
| 38 |
|
| 39 |
+
Label to Russian label:
|
| 40 |
+
|
| 41 |
+
```yaml
|
| 42 |
+
neutral: нейтральный
|
| 43 |
+
positive: позитивный
|
| 44 |
+
negative: негативный
|
| 45 |
+
```
|
| 46 |
+
|
| 47 |
## Usage
|
| 48 |
|
| 49 |
```python
|