Instructions to use textattack/roberta-base-SST-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use textattack/roberta-base-SST-2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="textattack/roberta-base-SST-2")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("textattack/roberta-base-SST-2") model = AutoModelForSequenceClassification.from_pretrained("textattack/roberta-base-SST-2") - Notebooks
- Google Colab
- Kaggle
Commit ·
a029a46
1
Parent(s): 96f970f
upload flax model
Browse files- flax_model.msgpack +3 -0
flax_model.msgpack
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:69558465a46d77d5bb12f0bf2f792d17a9e81643c557f7f69fe8ea96adfb6481
|
| 3 |
+
size 498595901
|