Text Classification
Transformers
PyTorch
TensorBoard
Safetensors
English
roberta
Generated from Trainer
Eval Results (legacy)
text-embeddings-inference
Instructions to use JeremiahZ/roberta-base-sst2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use JeremiahZ/roberta-base-sst2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="JeremiahZ/roberta-base-sst2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("JeremiahZ/roberta-base-sst2") model = AutoModelForSequenceClassification.from_pretrained("JeremiahZ/roberta-base-sst2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#2)
Verified signature- Adding `safetensors` variant of this model (04f00e628e53b25c55a5a58e59ef93b5e909630c) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>0daa4dc
-
initial commit
Jeremiah Zhoudc1c3fb