Skip to content

Instantly share code, notes, and snippets.

View althetinkerer's full-sized avatar
💭
Building

Alfred Farrington II althetinkerer

💭
Building
View GitHub Profile
# Follow Things To Do After Installing Ubuntu 24.04 LTS
$ apt update -y
$ apt upgrade -y
$ apt update -y
$ apt install build-essential checkinstall
$ apt install ubuntu-restricted-extras
$ apt install software-properties-common
$ apt install apt-show-versions
$ apt upgrade -o APT::Get::Show-Upgraded=true
# Follow Things To Do After Installing Ubuntu 24.04 LTS
$ apt update -y
$ apt upgrade -y
$ apt update -y
$ apt install build-essential checkinstall
$ apt install ubuntu-restricted-extras
$ apt install software-properties-common
$ apt install apt-show-versions
$ apt upgrade -o APT::Get::Show-Upgraded=true
@althetinkerer
althetinkerer / grpo_demo.py
Created February 1, 2025 00:49 — 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
@althetinkerer
althetinkerer / ipfs-server-setup.md
Created June 29, 2018 12:26 — forked from claus/ipfs-server-setup.md
Host Your Site Under Your Domain on IPFS

Host Your Site Under Your Domain on IPFS

This is a step-by-step tutorial for hosting your website under your domain on IPFS, from zero, on a DigitalOcean Ubuntu 16.04.3 x64 Droplet (i am using the $10 variant with 2GB RAM).

Install IPFS

Log in as root.

First, make sure the system is up to date, and install tar and wget: