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