Run this model with HF Jobs

Run openbmb/MiniCPM3-4B 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/openbmb/MiniCPM3-4B. 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/openbmb/MiniCPM3-4B 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/openbmb/MiniCPM3-4B. 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/openbmb/MiniCPM3-4B. 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.

Remove torch.fx guard for pytorch < 1.13

#39
by tms-jr - opened

This model no longer works as of transformers 4.48.0 since is_torch_greater_or_equal_than_1_13 was removed in https://github.com/huggingface/transformers/pull/35358.

For context, I am trying to upgrade vLLM to 4.48 in this PR: https://github.com/vllm-project/vllm/pull/12120, and as an alternate solution I've also put up a PR to restore is_torch_greater_or_equal_than_1_13 here https://github.com/huggingface/transformers/pull/35734.

Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment