Instructions to use McGill-NLP/dpr-statcan-metadata_encoder-title with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use McGill-NLP/dpr-statcan-metadata_encoder-title with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, DPRContextEncoder tokenizer = AutoTokenizer.from_pretrained("McGill-NLP/dpr-statcan-metadata_encoder-title") model = DPRContextEncoder.from_pretrained("McGill-NLP/dpr-statcan-metadata_encoder-title", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from McGill-NLP/dpr-statcan-metadata_encoder-title: direct link, hf CLI and curl.
- Browser
- Download file 438 MB
-
https://huggingface.co/McGill-NLP/dpr-statcan-metadata_encoder-title/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://McGill-NLP/dpr-statcan-metadata_encoder-title/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/McGill-NLP/dpr-statcan-metadata_encoder-title/resolve/main/pytorch_model.bin
438 MB
- Xet hash:
- 7b36ad5c54cde772927242e7908509952d8c983f788183a8296e95c2c7056c19
- Size of remote file:
- 438 MB
- SHA256:
- 1309962c6cd77dbcbc81ef1507388db7eaa9c221f70f33843a397710a12abbcd
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.