Skip to content

Instantly share code, notes, and snippets.

View 0xKoda's full-sized avatar
🤙
Stateless

Koda 0xKoda

🤙
Stateless
View GitHub Profile
@willccbb
willccbb / grpo_demo.py
Last active October 25, 2025 16:39
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},
@m1guelpf
m1guelpf / MergeReward.sol
Created May 23, 2022 18:55
A contract that rewards its first caller after the Merge.
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
import {SafeTransferLib} from "solmate/utils/SafeTransferLib.sol";
/// @title Merge Reward
/// @author Miguel Piedrafita
/// @notice A contract that rewards its first caller after the Merge
contract MergeReward {
/// @notice Thrown when attempting to claim the reward while in POW
@z0r0z
z0r0z / ClubSig.sol
Last active September 24, 2022 19:47
EIP-712-signed multi-signature contract with NFT identifiers for signers and ragequit
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity >=0.8.4;
import "https://github.com/Rari-Capital/solmate/src/tokens/ERC721.sol";
import "https://github.com/kalidao/kali-contracts/blob/main/contracts/utils/NFThelper.sol";
/// @notice Minimal ERC-20 interface.
interface IERC20minimal {
function balanceOf(address account) external view returns (uint256);
@adrianhajdin
adrianhajdin / Transactions.sol
Last active July 8, 2025 12:05
Build and Deploy a Modern Web 3.0 Blockchain App | Solidity, Smart Contracts
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
import "hardhat/console.sol";
contract Transactions {
uint256 transactionCount;
event Transfer(address from, address receiver, uint amount, string message, uint256 timestamp, string account, string keyword);