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