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")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("maurice/PolitBERT") model = AutoModelForMaskedLM.from_pretrained("maurice/PolitBERT", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download flax_model.msgpack from maurice/PolitBERT: direct link, hf CLI and curl.
- Browser
- Download file 438 MB
-
https://huggingface.co/maurice/PolitBERT/resolve/main/flax_model.msgpack
- Command line
-
hf download hf://maurice/PolitBERT/flax_model.msgpack
-
curl -L -o flax_model.msgpack https://huggingface.co/maurice/PolitBERT/resolve/main/flax_model.msgpack
438 MB
- Xet hash:
- 14d538a2bd655b6071dc3fc28e00086893867c9c2b3d97e51fb2e3c90b141ebd
- Size of remote file:
- 438 MB
- SHA256:
- 3b419a5fe3a736b623211c598618ac74ffaab5385fbc00fafdb1adc3a971f14f
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.