Instructions to use textattack/distilbert-base-cased-QQP with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use textattack/distilbert-base-cased-QQP with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="textattack/distilbert-base-cased-QQP")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("textattack/distilbert-base-cased-QQP") model = AutoModelForSequenceClassification.from_pretrained("textattack/distilbert-base-cased-QQP", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
Verified signatureThis 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.14a6af9
-
Update config.json
8e5453d -
Update eval_results_qqp.txt
15f8be9 -
Update special_tokens_map.json
b61165f -
Update tokenizer_config.json
f7bcb4b -
Update vocab.txt
61904b9 -
Update pytorch_model.bin
396357b -
Update training_args.bin
c61a992
-
Update config.json
ac2f9b2 -
Update eval_results_qqp.txt
492924b -
Update special_tokens_map.json
13e3878 -
Update tokenizer_config.json
e80be19 -
Update vocab.txt
065c7c0 -
Update config.json
0fc50df -
Update eval_results_qqp.txt
34fec3e -
Update special_tokens_map.json
a8884b1 -
Update tokenizer_config.json
f8c9b54 -
Update vocab.txt
e15e02b -
initial commit
b1079ad