Run this model with HF Jobs
Run openbmb/MiniCPM-Reranker 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/openbmb/MiniCPM-Reranker. 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/openbmb/MiniCPM-Reranker 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 openbmb/MiniCPM-Reranker with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use openbmb/MiniCPM-Reranker with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="openbmb/MiniCPM-Reranker", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForSequenceClassification model = AutoModelForSequenceClassification.from_pretrained("openbmb/MiniCPM-Reranker", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update model metadata to set pipeline tag to the new `text-ranking` and tags to `sentence-transformers`
#2
by tomaarsen HF Staff - opened
2 unmodified lines3456789102 unmodified lines- zh- enbase_model: openbmb/MiniCPM-2B-sft-bf16pipeline_tag: text-classificationlibrary_name: transformers---## MiniCPM-Reranker2 unmodified lines34567891011122 unmodified lines- zh- enbase_model: openbmb/MiniCPM-2B-sft-bf16pipeline_tag: text-rankinglibrary_name: transformerstags:- sentence-transformers---## MiniCPM-Reranker
README.md+3-1