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")# Load model directly from transformers import AutoModelForTokenClassification model = AutoModelForTokenClassification.from_pretrained("hf-internal-testing/tiny-random-MegaForTokenClassification", dtype="auto") - Notebooks
- Google Colab
- Kaggle
File size: 131 Bytes
b82ab7f | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:302c69bdf34dc79347aec8908f11fe3afc6778d0003f9bf0f92d9115f5256707
size 382300
|