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