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