Run this model with HF Jobs

Run LiquidAI/LFM2.5-2.6B 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/LiquidAI/LFM2.5-2.6B. 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/LiquidAI/LFM2.5-2.6B 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/LiquidAI/LFM2.5-2.6B. 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/LiquidAI/LFM2.5-2.6B. 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.

Update context length in README.md

#5
by alvarobartt HF Staff - opened

This PR updates the context length value mentioned in the README.md since it claims 131,072 which is what's commonly known as 128K, but as per https://huggingface.co/LiquidAI/LFM2.5-2.6B/blob/main/config.json#L56 the actual context length is 128,000 instead i.e., 128k.

llama.cpp in fact reports the following:

0.02.167.679 W llama_context: n_ctx_seq (131072) > n_ctx_train (128000) -- possible training context overflow
0.02.778.694 W srv    load_model: the slot context (131072) exceeds the training context of the model (128000) - capping
Liquid AI org

Thanks @alvarobartt ! You're right, it's incorrect but the real value is 131,072 tokens. I fixed it in the config.json.

Awesome @mlabonne thanks for the prompt action!

alvarobartt changed pull request status to closed

Sign up or log in to comment