Skip to content

Instantly share code, notes, and snippets.

View bryceweiner's full-sized avatar

Bryce Weiner bryceweiner

View GitHub Profile
@bryceweiner
bryceweiner / grpo_demo.py
Created February 1, 2025 16:13 — forked from willccbb/grpo_demo.py
GRPO Llama-1B
# train_grpo.py
import re
import torch
from datasets import load_dataset, Dataset
from transformers import AutoTokenizer, AutoModelForCausalLM
from peft import LoraConfig
from trl import GRPOConfig, GRPOTrainer
# Load and prep dataset
@bryceweiner
bryceweiner / wallets-tao-adapter.php
Last active December 6, 2018 02:07 — forked from alex-georgiou/wallets-xyz-coin-adapter.php
Example of how to add an RPC-compatible wallet to the Full Node Multi Coin Adapter for Bitcoin and Altcoin Wallets
<?php
/*
Plugin Name: Tao Adapter
Plugin URI: https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/full-node-multi-coin-adapter-extension/
Description: Example of how to add an RPC-compatible wallet to the Full Node Multi Coin Adapter for Bitcoin and Altcoin Wallets
Version: 0.1.0
Author: Bryce Weiner <[email protected]>
Author URI: https://tao.network
*/

Keybase proof

I hereby claim:

  • I am bryceweiner on github.
  • I am cogburn (https://keybase.io/cogburn) on keybase.
  • I have a public key whose fingerprint is 017D 8237 1609 D23C C9D3 269A D2B8 42D5 940D 5A3B

To claim this, I am signing this object:

class Secp256k1 < Formula
desc "Optimized C library for EC operations on curve secp256k1"
homepage "https://github.com/bitcoin/secp256k1"
url "https://github.com/bitcoin/secp256k1.git"
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
def install