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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 131 Bytes
450d372 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:fd409dde4799059fe43bb3b50653d7d5fdabe036a3733dbe9c145ef0a44e39a6
size 406101
|