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