Instructions to use davanstrien/dataset-rows-task-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use davanstrien/dataset-rows-task-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="davanstrien/dataset-rows-task-classifier", trust_remote_code=True)# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("davanstrien/dataset-rows-task-classifier", trust_remote_code=True) model = AutoModelForSequenceClassification.from_pretrained("davanstrien/dataset-rows-task-classifier", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 135 Bytes
443fc75 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:3bf5c212f49c333d3e0e522e4cd61672774559c8292146670d7fbc2269f214a0
size 1418095980
|