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