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.

[blip_text_model] num_attention_heads is 8? not 12? [blip_vision_model] eps is 1e-5?

#5
by junnyu - opened

(1) i find https://github.com/salesforce/BLIP/blob/main/configs/med_config.json num_attention_heads is 12, but in this repo num_attention_heads is 8
(2) and blip_vision_model eps shoud be 1e-6, not 1e-5

Hi @junnyu
I think you are right, see related: https://github.com/huggingface/transformers/issues/22625

Sign up or log in to comment