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