Instructions to use hf-internal-testing/tiny-random-MegaModel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-MegaModel with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="hf-internal-testing/tiny-random-MegaModel")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("hf-internal-testing/tiny-random-MegaModel", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from hf-internal-testing/tiny-random-MegaModel: direct link, hf CLI and curl.
- Browser
- Download file 409 kB
-
https://huggingface.co/hf-internal-testing/tiny-random-MegaModel/resolve/ca0862db27428893fe22f9bb5d2eb0875c2156f3/pytorch_model.bin
- Command line
-
hf download hf://hf-internal-testing/tiny-random-MegaModel@ca0862db27428893fe22f9bb5d2eb0875c2156f3/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/hf-internal-testing/tiny-random-MegaModel/resolve/ca0862db27428893fe22f9bb5d2eb0875c2156f3/pytorch_model.bin
409 kB
- Xet hash:
- 9cddf3101e0b3fee78944448075cf6427d2829e081dfdb942cd8f5989b17d029
- Size of remote file:
- 409 kB
- SHA256:
- ae037d0f82fdb8a52ba9219b3841986c15b85c9bba065438b04eb1934176a8c7
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.