Skip to content

Instantly share code, notes, and snippets.

View mourginakis's full-sized avatar
👻

Ioannis Mourginakis mourginakis

👻
View GitHub Profile
@divs1210
divs1210 / multilambda.py
Last active March 25, 2025 04:00
Dead Simple Multiline Lambdas for Python
def do(*body):
return body[-1]
# Example (Python 2)
# =======
map(lambda x: do(
print('x =', x),
x * x),
range(5))
@willccbb
willccbb / grpo_demo.py
Last active July 29, 2025 16:47
GRPO Llama-1B
# train_grpo.py
#
# See https://github.com/willccbb/verifiers for ongoing developments
#
"""
citation:
@misc{brown2025grpodemo,
title={Granular Format Rewards for Eliciting Mathematical Reasoning Capabilities in Small Language Models},
author={Brown, William},