Instructions to use maurice/PolitBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use maurice/PolitBERT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="maurice/PolitBERT")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("maurice/PolitBERT") model = AutoModelForMaskedLM.from_pretrained("maurice/PolitBERT") - Notebooks
- Google Colab
- Kaggle
Commit History
upload flax model 6d7e702
allow flax 3739cb6
Added tokenizer 4eceab5
mauricerupp commited on
init 381af13
mauricerupp commited on