Instructions to use huggingface/prunebert-base-uncased-6-finepruned-w-distil-mnli with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use huggingface/prunebert-base-uncased-6-finepruned-w-distil-mnli with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="huggingface/prunebert-base-uncased-6-finepruned-w-distil-mnli")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("huggingface/prunebert-base-uncased-6-finepruned-w-distil-mnli") model = AutoModelForSequenceClassification.from_pretrained("huggingface/prunebert-base-uncased-6-finepruned-w-distil-mnli", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from huggingface/prunebert-base-uncased-6-finepruned-w-distil-mnli: direct link, hf CLI and curl.
- Browser
- Download file 39 Bytes
-
https://huggingface.co/huggingface/prunebert-base-uncased-6-finepruned-w-distil-mnli/resolve/927e96d0f7dd363ffd5154269636f9b6461be237/tokenizer_config.json
- Command line
-
hf download hf://huggingface/prunebert-base-uncased-6-finepruned-w-distil-mnli@927e96d0f7dd363ffd5154269636f9b6461be237/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/huggingface/prunebert-base-uncased-6-finepruned-w-distil-mnli/resolve/927e96d0f7dd363ffd5154269636f9b6461be237/tokenizer_config.json
39 Bytes
| {"do_lower_case": true, "max_len": 512} |