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