Run this model with HF Jobs
Run ncbi/MedCPT-Query-Encoder on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/ncbi/MedCPT-Query-Encoder. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/ncbi/MedCPT-Query-Encoder on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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