Run this model with HF Jobs
Run eac123/olmicro-2.7b-aoc 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 to fine-tune https://huggingface.co/eac123/olmicro-2.7b-aoc. 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/eac123/olmicro-2.7b-aoc 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/eac123/olmicro-2.7b-aoc. 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/eac123/olmicro-2.7b-aoc. 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.
Instructions to use eac123/olmicro-2.7b-aoc with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use eac123/olmicro-2.7b-aoc with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("allenai/olmicro-2.7b-base") model = PeftModel.from_pretrained(base_model, "eac123/olmicro-2.7b-aoc") - Notebooks
- Google Colab
- Kaggle
Olmicro 2.7B AoC solver (LoRA)
A small-model counterpart to eac123/olmo-hybrid-7b-aoc-v3.
It is a LoRA adapter (r = 16, alpha = 32, q/k/v/o/gate/up/down) for
allenai/olmicro-2.7b-base at revision
1de10b378c168962b4370c8bb4f80abc2795d965. Load the base model with trust_remote_code=True.
It was trained in stages, with no distillation and no human-written solutions:
- RL-Zero on maths problems.
- RL on contest programming problems.
- RL on Advent of Code-style puzzles: 78 updates on a single RTX 4080 (16 GB).
The stage 3 data was 1,107 tasks: 450 Advent of Code puzzles from 2015-2024 minus the held-out ones, 17 i18n puzzles and 640 verified generated puzzles. Rewards come from running the model's programs in a sandbox. Failed attempts get a retry turn with feedback. The prompt is the same trace-first prompt as the 7B model (see its card).
| Before stage 3 | This adapter | |
|---|---|---|
| Held-out AoC (41 puzzles, 8 samples), pass@1 | 8.5% | 21.6% |
| Held-out AoC, solved in 8 samples | 8/41 | 16/41 |
| AoC 2026 Day 1 (64 samples, filter and vote) | correct | correct (36/64 pass the examples) |
| AoC 2026 Day 2 | not solved | not solved |
The base model alone scores 4.6% on the held-out set.
The repository contains no Advent of Code puzzle text or inputs. Advent of Code is (c) Eric Wastl.
- Downloads last month
- -
Model tree for eac123/olmicro-2.7b-aoc
Base model
allenai/olmicro-2.7b-base