Instructions to use hf-tiny-model-private/tiny-random-ReformerForSequenceClassification 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-ReformerForSequenceClassification 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-ReformerForSequenceClassification")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("hf-tiny-model-private/tiny-random-ReformerForSequenceClassification") model = AutoModelForSequenceClassification.from_pretrained("hf-tiny-model-private/tiny-random-ReformerForSequenceClassification") - Notebooks
- Google Colab
- Kaggle
File size: 131 Bytes
d96afbe | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:14478412faa9cfe39a1a77ddf447f2466ae5eabc3d389d73e2444cf47001e260
size 241801
|