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
Commit History
-
Upload vocab.txt
975b8a4 -
Upload tokenizer.json
30a45be -
Upload special_tokens_map.json
7cb4b64 -
Upload pytorch_model.bin with git-lfs
08c31dd -
Upload config.json
00f4c14 -
initial commit
2f58a17