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")# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForMaskedLM model = AutoModelForMaskedLM.from_pretrained("hf-internal-testing/tiny-random-MegaForMaskedLM", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from hf-internal-testing/tiny-random-MegaForMaskedLM: direct link, hf CLI and curl.
- Browser
- Download file 410 kB
-
https://huggingface.co/hf-internal-testing/tiny-random-MegaForMaskedLM/resolve/6b2d47ba03bec9e6f7eefdd4a67351fa191aae6f/pytorch_model.bin
- Command line
-
hf download hf://hf-internal-testing/tiny-random-MegaForMaskedLM@6b2d47ba03bec9e6f7eefdd4a67351fa191aae6f/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/hf-internal-testing/tiny-random-MegaForMaskedLM/resolve/6b2d47ba03bec9e6f7eefdd4a67351fa191aae6f/pytorch_model.bin
410 kB
- Xet hash:
- ad4bb8a30311ea3a97fff23d8bd0afb38eae44c20485508962f6b27c40e051ef
- Size of remote file:
- 410 kB
- SHA256:
- 043327df9782a7e7457ee9aeb4986a6d560f533857624c178b81523b2e65eeef
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.