Instructions to use hf-internal-testing/tiny-random-MegaForMaskedLM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-MegaForMaskedLM with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="hf-internal-testing/tiny-random-MegaForMaskedLM")# Load model directly from transformers import AutoModelForMaskedLM model = AutoModelForMaskedLM.from_pretrained("hf-internal-testing/tiny-random-MegaForMaskedLM", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 376a534e2385b715b8a9675e3952b9c40bf7d3ec1aaf7da70c1208e110d26be8
- Size of remote file:
- 410 kB
- SHA256:
- d4b97c9bbcd76c9eebd1c2334e6ec2d7ce3c48f2e3fc62fc83b34c9ede4e5159
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.