Instructions to use Declan/Politico_model_v4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Declan/Politico_model_v4 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="Declan/Politico_model_v4")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("Declan/Politico_model_v4") model = AutoModelForMaskedLM.from_pretrained("Declan/Politico_model_v4", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from Declan/Politico_model_v4: direct link, hf CLI and curl.
- Browser
- Download file 438 MB
-
https://huggingface.co/Declan/Politico_model_v4/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://Declan/Politico_model_v4/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/Declan/Politico_model_v4/resolve/main/pytorch_model.bin
438 MB
- Xet hash:
- 39359bef3cf8a3d957eb1e3cbe2dbd236f006d4237191a70638c68e66ad374bf
- Size of remote file:
- 438 MB
- SHA256:
- 759ebeed3c8c63733e96944f74505f92df0093d7382fe9a97f817f52a7f10738
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.