Skip to content

Instantly share code, notes, and snippets.

@willccbb
willccbb / read_paper.py
Last active March 18, 2025 10:23
Arxiv link to Markdown via Mistral OCR (h/t @simonw)
# /// script
# requires-python = ">=3.12"
# dependencies = [
# "click",
# "mistralai",
# "markdown",
# "requests",
# "beautifulsoup4",
# ]
# ///
@willccbb
willccbb / REPORT.md
Created March 9, 2025 18:30
Claude Deep Research: ARC-AGI
@willccbb
willccbb / grpo_demo.py
Last active March 19, 2025 02:53
GRPO Llama-1B
# train_grpo.py
#
# See https://github.com/willccbb/verifiers for ongoing developments
#
import re
import torch
from datasets import load_dataset, Dataset
from transformers import AutoTokenizer, AutoModelForCausalLM
from peft import LoraConfig
from trl import GRPOConfig, GRPOTrainer