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 instruction.json
Browse files123456789101112131415161718192021222324{"fiqa": "Instruction: Given a financial question, retrieve user replies that best answer the question. Query: ","dbpedia": "Instruction: Given a query, retrieve relevant entity descriptions from DBPedia. Query: ","CmedqaRetrieval": "Instruction: 为这个医疗问题检索相关回答。 Query: ","nfcorpus": "Instruction: Given a question, retrieve relevant documents that best answer the question. Query: ","touche2020": "Instruction: Given a question, retrieve detailed and persuasive arguments that answer the question. Query: ","CovidRetrieval": "Instruction: 为这个问题检索相关政策回答。 Query: ","scifact": "Instruction: Given a scientific claim, retrieve documents that support or refute the claim. Query: ","scidocs": "Instruction: Given a scientific paper title, retrieve paper abstracts that are cited by the given paper. Query: ","nq": "Instruction: Given a question, retrieve Wikipedia passages that answer the question. Query: ","T2Retrieval": "Instruction: 为这个问题检索相关段落。 Query: ","VideoRetrieval": "Instruction: 为这个电影标题检索相关段落。 Query: ","DuRetrieval": "Instruction: 为这个问题检索相关百度知道回答。 Query: ","MMarcoRetrieval": "Instruction: 为这个查询检索相关段落。 Query: ","hotpotqa": "Instruction: Given a multi-hop question, retrieve documents that can help answer the question. Query: ","quora": "Instruction: Given a question, retrieve questions that are semantically equivalent to the given question. Query: ","climate-fever": "Instruction: Given a claim about climate change, retrieve documents that support or refute the claim. Query: ","arguana": "Instruction: Given a claim, find documents that refute the claim. Query: ","fever": "Instruction: Given a claim, retrieve documents that support or refute the claim. Query: ","trec-covid": "Instruction: Given a query on COVID-19, retrieve documents that answer the query. Query: ","msmarco": "Instruction: Given a web search query, retrieve relevant passages that answer the query. Query: ","EcomRetrieval": "Instruction: 为这个查询检索相关商品标题。 Query: ","MedicalRetrieval": "Instruction: 为这个医学问题检索相关回答。 Query: "}12345678910111213141516171819202122232425{"fiqa": "Instruction: Given a financial question, retrieve user replies that best answer the question. Query: ","dbpedia": "Instruction: Given a query, retrieve relevant entity descriptions from DBPedia. Query: ","CmedqaRetrieval": "Instruction: 为这个医疗问题检索相关回答。 Query: ","nfcorpus": "Instruction: Given a question, retrieve relevant documents that best answer the question. Query: ","touche2020": "Instruction: Given a question, retrieve detailed and persuasive arguments that answer the question. Query: ","CovidRetrieval": "Instruction: 为这个问题检索相关政策回答。 Query: ","scifact": "Instruction: Given a scientific claim, retrieve documents that support or refute the claim. Query: ","scidocs": "Instruction: Given a scientific paper title, retrieve paper abstracts that are cited by the given paper. Query: ","nq": "Instruction: Given a question, retrieve Wikipedia passages that answer the question. Query: ","T2Retrieval": "Instruction: 为这个问题检索相关段落。 Query: ","VideoRetrieval": "Instruction: 为这个电影标题检索相关段落。 Query: ","DuRetrieval": "Instruction: 为这个问题检索相关百度知道回答。 Query: ","MMarcoRetrieval": "Instruction: 为这个查询检索相关段落。 Query: ","hotpotqa": "Instruction: Given a multi-hop question, retrieve documents that can help answer the question. Query: ","quora": "Instruction: Given a question, retrieve questions that are semantically equivalent to the given question. Query: ","climate-fever": "Instruction: Given a claim about climate change, retrieve documents that support or refute the claim. Query: ","arguana": "Instruction: Given a claim, find documents that refute the claim. Query: ","fever": "Instruction: Given a claim, retrieve documents that support or refute the claim. Query: ","trec-covid": "Instruction: Given a query on COVID-19, retrieve documents that answer the query. Query: ","msmarco": "Instruction: Given a web search query, retrieve relevant passages that answer the query. Query: ","EcomRetrieval": "Instruction: 为这个查询检索相关商品标题。 Query: ","MedicalRetrieval": "Instruction: 为这个医学问题检索相关回答。 Query: ","CAQstack":"Instruction: Given a question, retrieve detailed question descriptions from Stackexchange that are duplicates to the given question. Query: "}
instruction.json+24-23