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