Instructions to use hf-tiny-model-private/tiny-random-MegaForSequenceClassification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-tiny-model-private/tiny-random-MegaForSequenceClassification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="hf-tiny-model-private/tiny-random-MegaForSequenceClassification")# Load model directly from transformers import AutoModelForSequenceClassification model = AutoModelForSequenceClassification.from_pretrained("hf-tiny-model-private/tiny-random-MegaForSequenceClassification", dtype="auto") - Notebooks
- Google Colab
- Kaggle
File size: 131 Bytes
d53c79f | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:da250369afda39943ab980f6985b61a674281bf9d1cc03a89335208e7b1a6017
size 410909
|