Run this model with HF Jobs

Run Salesforce/blip-image-captioning-large 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/Salesforce/blip-image-captioning-large. 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/Salesforce/blip-image-captioning-large 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.

Anyone has same problem when using api?

#17
by lallala - opened

I use python to write a simple script to check the outcome of my image.
It goes well when I use my first image to test.
But I change the image name to test other cases, the error will occur
'''
{'error': 'Model Salesforce/blip-image-captioning-large is currently loading', 'estimated_time': 75.16575622558594}
'''

Hi @lallala
If you use a local instance, can you try out the snippets shared on the model card? Make sure also to use the latest version of HF packages, e.g. pip install -U transformers

Sign up or log in to comment