Instructions to use ydshieh/tiny-random-DebertaForSequenceClassification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ydshieh/tiny-random-DebertaForSequenceClassification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ydshieh/tiny-random-DebertaForSequenceClassification")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ydshieh/tiny-random-DebertaForSequenceClassification") model = AutoModelForSequenceClassification.from_pretrained("ydshieh/tiny-random-DebertaForSequenceClassification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 131 Bytes
89c90e7 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:ecd24b3eef290f63acca7a98b0e88280e479c1faf02211537c30b182c804c1fb
size 365636
|