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