Instructions to use diwank/silicone-deberta-pair with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use diwank/silicone-deberta-pair with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="diwank/silicone-deberta-pair")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("diwank/silicone-deberta-pair") model = AutoModelForSequenceClassification.from_pretrained("diwank/silicone-deberta-pair", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from diwank/silicone-deberta-pair: direct link, hf CLI and curl.
- Browser
- Download file 1.2 kB
-
https://huggingface.co/diwank/silicone-deberta-pair/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://diwank/silicone-deberta-pair/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/diwank/silicone-deberta-pair/resolve/main/tokenizer_config.json
1.2 kB
| {"errors": "replace", "unk_token": {"content": "[UNK]", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "bos_token": {"content": "[CLS]", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "eos_token": {"content": "[SEP]", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "add_prefix_space": false, "sep_token": {"content": "[SEP]", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "cls_token": {"content": "[CLS]", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "pad_token": {"content": "[PAD]", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "mask_token": {"content": "[MASK]", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "do_lower_case": false, "vocab_type": "gpt2", "model_max_length": 512, "special_tokens_map_file": null, "tokenizer_file": null, "name_or_path": "microsoft/deberta-base", "tokenizer_class": "DebertaTokenizer"} |