Pointwise Gaggle!
Collection
10 items β’ Updated β’ 1
Run castorini/monot5-base-msmarco 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:
Use HF Jobs to fine-tune https://huggingface.co/castorini/monot5-base-msmarco. 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.
Use HF Jobs to run batch inference with https://huggingface.co/castorini/monot5-base-msmarco 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.
How to use castorini/monot5-base-msmarco with Transformers:
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("castorini/monot5-base-msmarco")
model = AutoModelForSeq2SeqLM.from_pretrained("castorini/monot5-base-msmarco", device_map="auto")YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
This model is a T5-base reranker fine-tuned on the MS MARCO passage dataset for 100k steps (or 10 epochs).
For better zero-shot performance (i.e., inference on other datasets), we recommend using castorini/monot5-base-msmarco-10k.
For more details on how to use it, check the following links:
Paper describing the model: Document Ranking with a Pretrained Sequence-to-Sequence Model