Text Classification
Transformers
TensorBoard
Safetensors
Polish
xlm-roberta
emotion-classification
roberta
fine-tuned
polish
Eval Results (legacy)
text-embeddings-inference
Instructions to use visegradmedia-emotion/Emotion_RoBERTa_polish6 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use visegradmedia-emotion/Emotion_RoBERTa_polish6 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="visegradmedia-emotion/Emotion_RoBERTa_polish6")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("visegradmedia-emotion/Emotion_RoBERTa_polish6") model = AutoModelForSequenceClassification.from_pretrained("visegradmedia-emotion/Emotion_RoBERTa_polish6", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -87,7 +87,7 @@ You can use this model directly with the `transformers` library from Hugging Fac
|
|
| 87 |
from transformers import pipeline
|
| 88 |
|
| 89 |
# Load the fine-tuned model
|
| 90 |
-
classifier = pipeline("text-classification", model="
|
| 91 |
|
| 92 |
# Example usage
|
| 93 |
result = classifier("Czuję się dziś bardzo szczęśliwy!")
|
|
|
|
| 87 |
from transformers import pipeline
|
| 88 |
|
| 89 |
# Load the fine-tuned model
|
| 90 |
+
classifier = pipeline("text-classification", model="visegradmedia-emotion/Emotion_RoBERTa_polish6")
|
| 91 |
|
| 92 |
# Example usage
|
| 93 |
result = classifier("Czuję się dziś bardzo szczęśliwy!")
|