Instructions to use hf-internal-testing/tiny-random-MegatronBertForPreTraining with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-MegatronBertForPreTraining with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-MegatronBertForPreTraining") model = AutoModelForMultimodalLM.from_pretrained("hf-internal-testing/tiny-random-MegatronBertForPreTraining") - Notebooks
- Google Colab
- Kaggle