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