Instructions to use launch/POLITICS with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use launch/POLITICS with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="launch/POLITICS")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("launch/POLITICS") model = AutoModelForMaskedLM.from_pretrained("launch/POLITICS") - Notebooks
- Google Colab
- Kaggle
Fine-tuned POLITICS for political leaning classification
#5 opened 12 months ago
by
matous-volf
Adding `safetensors` variant of this model
#4 opened about 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#3 opened over 2 years ago
by
SFconvertbot
Adding `safetensors` variant of this model
#2 opened about 3 years ago
by
SFconvertbot
add model/demo to NAACL 2022 organization
#1 opened almost 4 years ago
by
akhaliq