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