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