Instructions to use textattack/albert-base-v2-SST-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use textattack/albert-base-v2-SST-2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="textattack/albert-base-v2-SST-2")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("textattack/albert-base-v2-SST-2") model = AutoModelForSequenceClassification.from_pretrained("textattack/albert-base-v2-SST-2") - Notebooks
- Google Colab
- Kaggle
Update pytorch_model.bin
Browse files- pytorch_model.bin +3 -0
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ad61f77feed66af4b11be45fe986f4257a8472e008a545a4812f70bc0862c934
|
| 3 |
+
size 46747112
|