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