Instructions to use yujiepan/tiny-random-SwinModel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use yujiepan/tiny-random-SwinModel with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="yujiepan/tiny-random-SwinModel")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModel processor = AutoImageProcessor.from_pretrained("yujiepan/tiny-random-SwinModel") model = AutoModel.from_pretrained("yujiepan/tiny-random-SwinModel", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#1)
Verified signature- Adding `safetensors` variant of this model (db3dacdc4694604f81785b0f44eed4665165cfc5) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>cf959d2
-
upload model
5a4b7f5 -
initial commit
16f7f74