Run this model with HF Jobs
Run textattack/roberta-base-SST-2 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/textattack/roberta-base-SST-2. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/textattack/roberta-base-SST-2 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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")# pip install -U transformers accelerate # 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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
This is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.bb15ed7
-
upload flax model
a029a46 -
allow flax
96f970f
-
Update tokenizer_config.json
102ad9e -
Update config.json
ad483da -
Update training_args.bin
d2d3d2d -
Update pytorch_model.bin
1bbf65e -
Update merges.txt
5adb3ac -
Update special_tokens_map.json
8ffd92e -
Update vocab.json
1249603 -
Update eval_results_sst-2.txt
2ec42a6
-
Update config.json
ba6ebca -
Update tokenizer_config.json
2f532c2 -
Update merges.txt
0456741 -
Update vocab.json
0dc69c6 -
Update eval_results_sst-2.txt
c45d682 -
Update special_tokens_map.json
6162ade -
initial commit
9041df4