Run this model with HF Jobs

Run moonshotai/Kimi-K2-Instruct 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/moonshotai/Kimi-K2-Instruct. 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/moonshotai/Kimi-K2-Instruct 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/moonshotai/Kimi-K2-Instruct. 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/moonshotai/Kimi-K2-Instruct. 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.

Good work - Great potential and current results

#24
by app-31 - opened

Hey, thanks for unleashing this to the open world!
I haven't completed my tests by far and I already got new ideas while working with Kimi-K2.
I can't wait to see what to expect to be capable with more APIs and tools enabled.

To give someone here an idea (or not):
For a test I was letting Kimi-K2 manage to spin up from zero a wsl2 instance on a Windows host with full CUDA 12.8 integration to the hosts hardware, CUDA 12.8, PyTorch, driver all detected. Kimi-K2 was pushing through the "roadblocks" getting all the setup done and to sum up, Kimi only needed a bit guidance on getting the correct URLs and a bit help pointing out a way to solve a problem with nvidia drivers by simply using others.

I have tested other LLMs with this task to troubleshoot or start working on it, and Kimi-K2 was the first to get it succeed. (No trophy I can hand over here, as I have limited time to conduct such kind of PoC/tests usually but to my experience this task was pretty tricky for other models. )

Glad you liked it!

Sign up or log in to comment