Run this model with HF Jobs

Run OpenGVLab/InternVL2-1B 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/OpenGVLab/InternVL2-1B. 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/OpenGVLab/InternVL2-1B 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/OpenGVLab/InternVL2-1B. 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/OpenGVLab/InternVL2-1B. 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.

[proposal] Move model code to transformers library

#3
by hvaara - opened

Have you considered moving the Python code from the hub to the transformers library (ref https://github.com/huggingface/transformers)?

This would simplify keeping the code in sync across the different model sizes, enable testing of the code to prevent breaking changes elsewhere in the library, eliminate the need for trust_remote_code=True, etc.

OpenGVLab org

Hello, thank you very much for your advice. We have this plan, and we will push for code integration in the near future.

Awesome! I'm looking forward to it. Please let me know if you want me to help in any way. I'd be more than happy to contribute some time to the effort πŸ™‚

Congratulations to you and your team on the release of the paper and the model by the way! πŸŽ‰ And thank you for releasing open source! πŸ€—

Sign up or log in to comment

⌂ 捒网址