Run this model with HF Jobs

Run briaai/RMBG-2.0 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/briaai/RMBG-2.0. Ask me which dataset to train on, then push the fine-tuned model to a new private 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/briaai/RMBG-2.0 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.

from_pretrained()

#33
by vittjet - opened

Could you please explain how to use your model locally? Where can I get access to use AutoModelForImageSegmentation.from_pretrained()? Currently, it returns an authorization error.

Hi @vittjet , are you using it for private or commercial use?

private

OMG, please explain how to use the code you provided in the “usage” section. I’m getting the following error:

You are trying to access a gated repo.
Make sure to have access to it at https://huggingface.co/briaai/RMBG-2.0.
401 Client Error. (Request ID: Root=1-682b2936-4a8b9124358c2d3977cfd314;86cc6839-4652-4086-8dd6-c5ba66e97bb6)

Cannot access gated repo for url https://huggingface.co/briaai/RMBG-2.0/resolve/main/config.json.
Access to model briaai/RMBG-2.0 is restricted. You must have access to it and be authenticated to access it. Please log in.

How can I get approval to test the code you published?

Sign up or log in to comment