Instructions to use hf-internal-testing/tiny-random-DistilBertForMultipleChoice with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-DistilBertForMultipleChoice with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultipleChoice tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-DistilBertForMultipleChoice") model = AutoModelForMultipleChoice.from_pretrained("hf-internal-testing/tiny-random-DistilBertForMultipleChoice", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 131 Bytes
950c38b | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:ae83ce3d82e8c4128997847045bb34871b95203f3f3a567997dfb507c8aa45bc
size 359736
|