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:
- 83cd67a9953ff126a99be78ea88350d78b68f494bc09e539ad987a8bf7617bf5
- Size of remote file:
- 410 kB
- SHA256:
- cda89eb64b2f0691971f94fd10b52e42f017e2329536741d0b8fa603f5bb6c7d
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.