Instructions to use ncbi/MedCPT-Query-Encoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ncbi/MedCPT-Query-Encoder with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="ncbi/MedCPT-Query-Encoder")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("ncbi/MedCPT-Query-Encoder") model = AutoModel.from_pretrained("ncbi/MedCPT-Query-Encoder", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
d83a36c
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (8436913e91cd2090bc41f9a380c41d5d56be212d) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>1aa2621
-
Update README.md
c9691d8 -
Update README.md
0256a65
-
Update README.md
bf75e81
-
Update README.md
cf41bd2 -
Update README.md
82babd4 -
Update README.md
1864ffe -
Update README.md
52ea8ab -
Upload tokenizer
cda3e75 -
Upload model
851f075 -
Upload model
0cab47f
-
Update LICENSE
7509db9 -
initial commit
937ba39