Run this model with HF Jobs

Run Maincode/Maincoder-1B 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/Maincode/Maincoder-1B. 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/Maincode/Maincoder-1B 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/Maincode/Maincoder-1B. 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/Maincode/Maincoder-1B. 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.

When a GGUF would be available?

#1
by FlameF0X - opened

It would be nice to have a gguf of the model

say not supported by llama.cpp when I tried to convert it

WARNING:hf-to-gguf:Trying to load config.json instead
INFO:hf-to-gguf:Model architecture: MaincoderForCausalLM
ERROR:hf-to-gguf:Model MaincoderForCausalLM is not supported

and https://huggingface.co/spaces/ggml-org/gguf-my-repo errored out

I know, i tried that too. I am guessing that you need to modify llama.cpp to be compatible with MaincoderForCausalLM

Someone from our team is already working on it so there should be an update soon : )

Okay! Hope everything goes well!

Any update on this?

Hi.. We've been taking a break after the release so this could some time but rest assured it will up updated here the moment it is done and released....

But again, in the meantime, to encourage community involvement and participation too, I think it would be great to see someone from the community do that if they're up for the task... The model's license permits that too so you're all cool...

That PR has been merged. It's supported now! https://github.com/ggml-org/llama.cpp/pull/18534

Neat, now I can run the model locally :)


so i tried to load the model on lm studio (thinking that it would work) and i got this

🥲 Failed to load the model

Failed to load model

error loading model: error loading model architecture: unknown model architecture: 'maincoder'

Maybe enable LM Studio's beta channel. You need llama.cpp version >= b7614

https://github.com/ggml-org/llama.cpp/releases/tag/b7614

I set LM Studio to beta, but it still doesn’t work, and I’m not sure how to set up llama.cpp b7614 to work with LM Studio.

Probably need to wait a few days to a week for LM Studio to catch up if you don't want to run llama.cpp directly

okay

Sign up or log in to comment