Instructions to use hf-internal-testing/tiny-random-ImageGPTModel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-ImageGPTModel with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="hf-internal-testing/tiny-random-ImageGPTModel")# Load model directly from transformers import AutoImageProcessor, AutoModel processor = AutoImageProcessor.from_pretrained("hf-internal-testing/tiny-random-ImageGPTModel") model = AutoModel.from_pretrained("hf-internal-testing/tiny-random-ImageGPTModel", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 132 Bytes
5a7983e | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:63133606540f2211f8e031e184cfa29dfd87ed6283835210780e0f2622e5eb6d
size 5592622
|