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