Skip to content

Instantly share code, notes, and snippets.

View SagiPolaczek's full-sized avatar
🦜

Sagi Polaczek SagiPolaczek

🦜
View GitHub Profile
@SagiPolaczek
SagiPolaczek / interactive-paper-reading-prompt.md
Created October 18, 2026 16:10
Read, Reason, Understand: An Interactive Paper Reading Prompt

Read, Reason, Understand: An Interactive Paper Reading Prompt

A reading companion that helps you work through a paper, explain its ideas, and question its claims—with hints and corrections grounded in the text.

How to use: Copy the prompt below into your AI assistant and replace [LINK] with a paper or project URL. You can ask questions, skip a stage, or stop at any time.

Assist me in digesting the paper or project linked at the end of this prompt through an interactive reading discussion.
Start by asking me to explain the abstract in my own words, checking that I grasp its main claim.
Next, have me explain the introduction’s motivation, problem, and relevant background; help fill gaps.
@karpathy
karpathy / microgpt.py
Last active November 14, 2026 17:31
microgpt
"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@jagregory
jagregory / gist:710671
Created November 22, 2010 21:01
How to move to a fork after cloning
So you've cloned somebody's repo from github, but now you want to fork it and contribute back. Never fear!
Technically, when you fork "origin" should be your fork and "upstream" should be the project you forked; however, if you're willing to break this convention then it's easy.
* Off the top of my head *
1. Fork their repo on Github
2. In your local, add a new remote to your fork; then fetch it, and push your changes up to it
git remote add my-fork git@github...my-fork.git