Run this model with HF Jobs

Run zeroentropy/zerank-2-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/zeroentropy/zerank-2-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/zeroentropy/zerank-2-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.
prathamj31 commited on
Commit
0ac03c0
·
1 Parent(s): cd705e3

Remove lazy loading and load model on instantiation

Browse files

Load the model immediately when the CrossEncoder class is instantiated
instead of waiting for the first predict() call.

1 file changed +12 -10
modeling_zeranker.py+12-10