Instructions to use textattack/bert-base-uncased-snli with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use textattack/bert-base-uncased-snli with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="textattack/bert-base-uncased-snli")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("textattack/bert-base-uncased-snli") model = AutoModelForSequenceClassification.from_pretrained("textattack/bert-base-uncased-snli", 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.facaa4a
-
upload flax model
d4ef8a6 -
allow flax
0996195
-
Update config.json
52e79e7 -
Update eval_results.txt
0db82c1 -
Update vocab.txt
210569e -
Update train_args.json
cd81367 -
Update pytorch_model.bin
92a7650 -
Update config.json
e5d6263 -
Update eval_results.txt
0fa1362 -
Update vocab.txt
beae67d -
Update train_args.json
3bf05d8 -
Update config.json
e06dd44 -
Update vocab.txt
ebbc4d1 -
Update eval_results.txt
582bb28 -
Update train_args.json
2bd1bd7 -
Update config.json
4c720b7 -
Update vocab.txt
161f21b -
Update eval_results.txt
c768ad9 -
Update train_args.json
317b579 -
Update config.json
6dbb1b1 -
Update vocab.txt
9a341ff -
Update eval_results.txt
c4038bc -
Update train_args.json
aa963c7 -
Update config.json
66f38a3 -
Update eval_results.txt
c80bf39 -
Update vocab.txt
60334f3 -
initial commit
4b325ae