Run this model with HF Jobs

Run microsoft/xclip-base-patch16-zero-shot 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/microsoft/xclip-base-patch16-zero-shot. 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/microsoft/xclip-base-patch16-zero-shot 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.

Inference API not working

#1
by bgffgb - opened

The inference API interfacing does not seem to be correctly set up.

A simple curl request to reproduce the error:

curl -X POST -H "Authorization: Bearer hf_<API KEY>" -H "Content-Type: application/json" -d '{"inputs": "Any text", "parameters": {"return_embeddings": true}}' https://api-inference.huggingface.co/models/microsoft/xclip-base-patch16-zero-shot

gets

{"error":"unknown error","warnings":["There was an inference error: unknown error: 'NoneType' object has no attribute 'shape'"]}

Sign up or log in to comment