Instructions to use hf-internal-testing/tiny-random-FlavaForPreTraining with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-FlavaForPreTraining with Transformers:
# Load model directly from transformers import AutoProcessor, AutoModelForPreTraining processor = AutoProcessor.from_pretrained("hf-internal-testing/tiny-random-FlavaForPreTraining") model = AutoModelForPreTraining.from_pretrained("hf-internal-testing/tiny-random-FlavaForPreTraining", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
6e9b209 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:c8a862b63f50d590fcb2cbde8f065905c427a72b1c2f78ba13c23246d49f3bf3
size 218436329
|