Run this model with HF Jobs

Run Maincode/Maincoder-1B-GGUF 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-GGUF. Ask me which dataset to train on, then push the LoRA adapter to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs and Transformers to run batch inference with https://huggingface.co/Maincode/Maincoder-1B-GGUF on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the predictions back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs and Lighteval to evaluate https://huggingface.co/Maincode/Maincoder-1B-GGUF. 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.
How to use from
Docker Model Runner
docker model run hf.co/Maincode/Maincoder-1B-GGUF:
Quick Links

Maincoder-1B-GGUF

GGUF quantizations of Maincoder-1B, a code-focused language model optimized for code generation and completion tasks. These quantized versions are designed for efficient local deployment with llama.cpp.

Find more details in the original model card: https://huggingface.co/Maincode/Maincoder-1B

How to run Maincoder

Example usage with llama.cpp:

llama-cli -hf Maincode/Maincoder-1B-GGUF

Or with a specific quantization:

llama-cli -hf Maincode/Maincoder-1B-GGUF -m Maincoder-1B-Q4_K_M.gguf

Code completion example:

llama-cli -hf Maincode/Maincoder-1B-GGUF -p 'def fibonacci(n: int) -> int:
    """Return the n-th Fibonacci number."""
' -n 256

Available Quantizations

Filename Size Description
Maincoder-1B-BF16.gguf 1.9 GB BFloat16 - Full precision, best quality
Maincoder-1B-F16.gguf 1.9 GB Float16 - Full precision
Maincoder-1B-Q8_0.gguf 1.0 GB 8-bit quantization - Highest quality quantized
Maincoder-1B-Q6_K.gguf 809 MB 6-bit quantization - High quality
Maincoder-1B-Q5_K_M.gguf 722 MB 5-bit quantization - Great balance
Maincoder-1B-Q4_K_M.gguf 641 MB 4-bit quantization - Recommended
Maincoder-1B-Q4_0.gguf 614 MB 4-bit quantization - Smallest, fastest

πŸ“„ License

This model is released under the Apache 2.0 License.

πŸ”— Links

Downloads last month
368
GGUF
Model size
1B params
Architecture
maincoder
Hardware compatibility
Log In to add your hardware

4-bit

5-bit

6-bit

8-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for Maincode/Maincoder-1B-GGUF

Quantized
(7)
this model