Instructions to use hf-internal-testing/tiny-random-DebertaV2ForMultipleChoice with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-DebertaV2ForMultipleChoice with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultipleChoice tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-DebertaV2ForMultipleChoice") model = AutoModelForMultipleChoice.from_pretrained("hf-internal-testing/tiny-random-DebertaV2ForMultipleChoice", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from hf-internal-testing/tiny-random-DebertaV2ForMultipleChoice: direct link, hf CLI and curl.
- Browser
- Download file 384 Bytes
-
https://huggingface.co/hf-internal-testing/tiny-random-DebertaV2ForMultipleChoice/resolve/33e70c0bbc6a56e5e8fc34bbe38657cfd801657e/tokenizer_config.json
- Command line
-
hf download hf://hf-internal-testing/tiny-random-DebertaV2ForMultipleChoice@33e70c0bbc6a56e5e8fc34bbe38657cfd801657e/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/hf-internal-testing/tiny-random-DebertaV2ForMultipleChoice/resolve/33e70c0bbc6a56e5e8fc34bbe38657cfd801657e/tokenizer_config.json
384 Bytes
| { | |
| "bos_token": "[CLS]", | |
| "clean_up_tokenization_spaces": true, | |
| "cls_token": "[CLS]", | |
| "do_lower_case": false, | |
| "eos_token": "[SEP]", | |
| "mask_token": "[MASK]", | |
| "model_max_length": 512, | |
| "pad_token": "[PAD]", | |
| "sep_token": "[SEP]", | |
| "sp_model_kwargs": {}, | |
| "split_by_punct": false, | |
| "tokenizer_class": "DebertaV2Tokenizer", | |
| "unk_token": "[UNK]", | |
| "vocab_type": "spm" | |
| } | |