Instructions to use korca/textfooler-roberta-base-sst2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use korca/textfooler-roberta-base-sst2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="korca/textfooler-roberta-base-sst2")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("korca/textfooler-roberta-base-sst2") model = AutoModelForSequenceClassification.from_pretrained("korca/textfooler-roberta-base-sst2") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
e9782ae | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:17d0987b83df2174e9d43f0a821e7df63ce306978d601aceac82f2d78dcc945d
size 498679241
|