Instructions to use hf-internal-testing/tiny-random-AlbertForMultipleChoice with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-AlbertForMultipleChoice with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultipleChoice tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-AlbertForMultipleChoice") model = AutoModelForMultipleChoice.from_pretrained("hf-internal-testing/tiny-random-AlbertForMultipleChoice", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from hf-internal-testing/tiny-random-AlbertForMultipleChoice: direct link, hf CLI and curl.
- Browser
- Download file 515 Bytes
-
https://huggingface.co/hf-internal-testing/tiny-random-AlbertForMultipleChoice/resolve/0da68f5cf52dc1dea0854cd2fc968e32c1a3de53/tokenizer_config.json
- Command line
-
hf download hf://hf-internal-testing/tiny-random-AlbertForMultipleChoice@0da68f5cf52dc1dea0854cd2fc968e32c1a3de53/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/hf-internal-testing/tiny-random-AlbertForMultipleChoice/resolve/0da68f5cf52dc1dea0854cd2fc968e32c1a3de53/tokenizer_config.json
515 Bytes
| { | |
| "bos_token": "[CLS]", | |
| "cls_token": "[CLS]", | |
| "do_lower_case": true, | |
| "eos_token": "[SEP]", | |
| "keep_accents": false, | |
| "mask_token": { | |
| "__type": "AddedToken", | |
| "content": "[MASK]", | |
| "lstrip": true, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "model_max_length": 512, | |
| "pad_token": "<pad>", | |
| "remove_space": true, | |
| "sep_token": "[SEP]", | |
| "sp_model_kwargs": {}, | |
| "special_tokens_map_file": null, | |
| "tokenizer_class": "AlbertTokenizer", | |
| "unk_token": "<unk>" | |
| } | |