Run this model with HF Jobs

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

Please add other European languages

#19
by edobobo - opened

Hey folks, first of all: thank you so much for these models! I’m a huge fan of your work .

Quick question: are you planning to support additional languages (especially Italian) in the near future? We’re trying to use your model for our new company, but performance in Italian is noticeably below the supported languages (I was hoping for some “cross-language contamination”, ahah).

Thanks again for the amazing work!

Liquid AI org

Thanks for your message @edobobo ! Yes, Italian support should improve in the next releases. The issue is these models don't have a lot of parameters, so there's a trade-off between expanding the number of supported languages and saving parameters for other things.

I completely agree! And I even know the effort and the costs related to training from scratch SLMs. Indeed, I was thinking about, maybe, having some models for European languages only, but again training multiple different models might cost a lot. Training something from scratch on multiple languages and then post-train multiple versions on different families of languages might be an option. OC, i don't want to tell you how to do your thing, you know better than anyone else, but still I would love to have a model supporting Italian! Best of luck with everything.

Sign up or log in to comment