Run this model with HF Jobs

Run microsoft/Florence-2-base 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 and TRL to fine-tune https://huggingface.co/microsoft/Florence-2-base. 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/Florence-2-base 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.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/microsoft/Florence-2-base. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/microsoft/Florence-2-base. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
leoxiaobin commited on
Commit
1896e7c
·
verified ·
1 Parent(s): ceaf371

Fix weight init, deprecation warnings, safetensors (#27)

Browse files

- Update modeling code and weights (9a303c20e479b3e899a8262364920a58227458f8)
- Add one more file (c2d78d1e36292674195414029d0d0c1a721c53e1)
- Update tied weights keys (bef74d7de9a4f1275b0c6e517b80afee13018e5c)
- Tie weights correctly and update weights (1e8c51ff43b3851d36c8a21f688ad903ebfe4f0a)
- Fix dtype (386f84a8872b44814ea429c0187e0b7406260d94)

2 files changed +23 -22
Files changed (2)
model.safetensorsAdded+3
modeling_florence2.py+20-22