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 model.safetensors from hf-internal-testing/tiny-random-ImageGPTForCausalImageModeling: direct link, hf CLI and curl.
- Browser
- Download file 5.65 MB
-
https://huggingface.co/hf-internal-testing/tiny-random-ImageGPTForCausalImageModeling/resolve/refs%2Fpr%2F1/model.safetensors
- Command line
-
hf download hf://hf-internal-testing/tiny-random-ImageGPTForCausalImageModeling@refs/pr/1/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/hf-internal-testing/tiny-random-ImageGPTForCausalImageModeling/resolve/refs%2Fpr%2F1/model.safetensors
5.65 MB
- Xet hash:
- 3652bd6662a8346efa237489a1ccfe32d4a8fd3fbbfa35355841f817d6098898
- Size of remote file:
- 5.65 MB
- SHA256:
- 04b18826a0adf3ea278e40205e76557f93a7c7f31da2d754850d52d792361b29
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.