Run this model with HF Jobs

Run facebook/MobileLLM-Pro 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/facebook/MobileLLM-Pro. 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/facebook/MobileLLM-Pro 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/facebook/MobileLLM-Pro. Ask me which benchmark to run, then save the scores and the per-example results to a new private 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/facebook/MobileLLM-Pro. Push it to a new private model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

how to get the base model

#5
by bedio - opened

facebook/MobileLLM-Pro does not have a base model and cannot be seen at facebook
where can i get the base model

The base model (pre-trained only) is here:
https://huggingface.co/facebook/MobileLLM-Pro/tree/main/base

You can access it in your code as:

tokenizer = AutoTokenizer.from_pretrained("facebook/MobileLLM-Pro", trust_remote_code=True, subfolder="base")
model = AutoModelForCausalLM.from_pretrained("facebook/MobileLLM-Pro", trust_remote_code=True, subfolder="base")

We changed the repository structure. The instruction tuned model should now be directly available in this repo, while the pre-trained checkpoint is moved to: https://huggingface.co/facebook/MobileLLM-Pro-base

Sign up or log in to comment