Instructions to use blanchefort/rubert-base-cased-sentiment with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use blanchefort/rubert-base-cased-sentiment with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="blanchefort/rubert-base-cased-sentiment")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("blanchefort/rubert-base-cased-sentiment") model = AutoModelForSequenceClassification.from_pretrained("blanchefort/rubert-base-cased-sentiment", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
1c43a54 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:17c5e6f11e5672c158b12ed629edb94a2d5adfb0c0eacf55c21d250c7381dac1
size 711509513
|