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