Instructions to use textattack/roberta-base-RTE with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use textattack/roberta-base-RTE with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="textattack/roberta-base-RTE")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("textattack/roberta-base-RTE") model = AutoModelForSequenceClassification.from_pretrained("textattack/roberta-base-RTE", 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.3c5521b
-
upload flax model
de14c05 -
allow flax
cff41b4
-
Update pytorch_model.bin
92be5a3 -
Update tokenizer_config.json
8db7741 -
Update train_args.json
93bd74d -
Update README.md
4902891 -
Update config.json
48b5a43 -
Update special_tokens_map.json
3631bed -
Update log.txt
e928596 -
Update merges.txt
6e2fa5e -
Update vocab.json
36e7413
-
Update eval_results_rte.txt
1f8ba2f -
Update tokenizer_config.json
daef499 -
Update merges.txt
5f2573e -
Update special_tokens_map.json
900bc05 -
Update config.json
490b98f -
Update training_args.bin
f69bb6c -
Update vocab.json
43474fc
-
Update eval_results_rte.txt
5f17400 -
Update tokenizer_config.json
8b9bf39 -
Update special_tokens_map.json
b9f3e36 -
Update merges.txt
486d880 -
Update vocab.json
23ef9f8 -
Update config.json
8c6a855 -
Update eval_results_rte.txt
2b7e107 -
Update tokenizer_config.json
a9b62c0 -
Update merges.txt
6d059fd -
Update special_tokens_map.json
cbf4be8 -
Update vocab.json
19d0fcf -
Update config.json
06e67da -
initial commit
eb0d8be