Instructions to use jbeno/electra-base-classifier-sentiment with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jbeno/electra-base-classifier-sentiment with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="jbeno/electra-base-classifier-sentiment")# Load model directly from transformers import AutoTokenizer, ElectraClassifier tokenizer = AutoTokenizer.from_pretrained("jbeno/electra-base-classifier-sentiment") model = ElectraClassifier.from_pretrained("jbeno/electra-base-classifier-sentiment") - Notebooks
- Google Colab
- Kaggle
Ctrl+K