Instructions to use hf-internal-testing/tiny-random-XLNetForMultipleChoice with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-XLNetForMultipleChoice with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultipleChoice tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-XLNetForMultipleChoice") model = AutoModelForMultipleChoice.from_pretrained("hf-internal-testing/tiny-random-XLNetForMultipleChoice", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from hf-internal-testing/tiny-random-XLNetForMultipleChoice: direct link, hf CLI and curl.
- Browser
- Download file 4.4 MB
-
https://huggingface.co/hf-internal-testing/tiny-random-XLNetForMultipleChoice/resolve/b45afaed4304eb6aee6db886079a3b93bec5b2a7/pytorch_model.bin
- Command line
-
hf download hf://hf-internal-testing/tiny-random-XLNetForMultipleChoice@b45afaed4304eb6aee6db886079a3b93bec5b2a7/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/hf-internal-testing/tiny-random-XLNetForMultipleChoice/resolve/b45afaed4304eb6aee6db886079a3b93bec5b2a7/pytorch_model.bin
4.4 MB
- Xet hash:
- 7a33b5b53b6ef7dfea1b87e12d41c9584d644ba7ebc0c33fd56cdefed4611bc2
- Size of remote file:
- 4.4 MB
- SHA256:
- f06068da534b766edaf54e878302c71dfddb7f9f3c0f3215f07dac680eb8ee5c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.