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