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