Skip to content

Instantly share code, notes, and snippets.

View benjaminsinzore's full-sized avatar
👽

Benjamin Sinzore benjaminsinzore

👽
  • THE BOMA Project-NGO
  • Nairobi, Kenya
  • 15:05 (UTC +03:00)
View GitHub Profile
@benjaminsinzore
benjaminsinzore / grpo_demo.py
Created June 4, 2025 13:03 — forked from willccbb/grpo_demo.py
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},
@benjaminsinzore
benjaminsinzore / gist:93a9e15ea8725cab98221fb835af6aaf
Created November 19, 2022 06:33 — forked from mstfldmr/gist:f6594b2337e3633673e5
Example of Volley GET and POST requests with parameters and headers
RequestQueue queue = Volley.newRequestQueue(context);
//for POST requests, only the following line should be changed to
StringRequest sr = new StringRequest(Request.Method.GET, "http://headers.jsontest.com/",
new Response.Listener<String>() {
@Override
public void onResponse(String response) {
Log.e("HttpClient", "success! response: " + response.toString());
}
},