Skip to content

Instantly share code, notes, and snippets.

View andandandand's full-sized avatar
🎯
Focusing

Antonio Rueda-Toicen andandandand

🎯
Focusing
View GitHub Profile
@andandandand
andandandand / grpo_demo.py
Created February 5, 2025 09:41 — 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
@andandandand
andandandand / modern-geospatial-python.md
Created September 1, 2018 16:15 — forked from jqtrde/modern-geospatial-python.md
Modern remote sensing image processing with Python
@andandandand
andandandand / Localbitcoins.py
Created April 14, 2018 21:51 — forked from rgoncalves-95/Localbitcoins.py
Script que descarga las transacciones realizadas en Bolívares en Localbitcoins
import json
import urllib.request
import datetime
import time
import pandas as pd
comienzo = time.time()
def hacer_request(tid):
url = "https://localbitcoins.com/bitcoincharts/VEF/trades.json?since="