Skip to content

Instantly share code, notes, and snippets.

View Maxvyr's full-sized avatar
💻
Product Manager

Maxvyr Maxvyr

💻
Product Manager
View GitHub Profile
@Maxvyr
Maxvyr / mini-openclaw.py
Created February 11, 2026 19:10 — forked from dabit3/mini-openclaw.py
Mini Openclaw in 400 lines
#!/usr/bin/env python3
# mini-openclaw.py - A minimal OpenClaw clone
# Run: uv run --with anthropic --with schedule python mini-openclaw.py
import anthropic
import subprocess
import json
import os
import re
import threading
@Maxvyr
Maxvyr / grpo_demo.py
Created February 1, 2025 10:44 — 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