Skip to content

Instantly share code, notes, and snippets.

View ayushthakur's full-sized avatar

Ayush Thakur ayushthakur

View GitHub Profile
@ayushthakur
ayushthakur / ipak.R
Created June 30, 2016 15:33 — forked from stevenworthington/ipak.R
Install and load multiple R packages at once
# ipak function: install and load multiple R packages.
# check to see if packages are installed. Install them if they are not, then load them into the R session.
ipak <- function(pkg){
new.pkg <- pkg[!(pkg %in% installed.packages()[, "Package"])]
if (length(new.pkg))
install.packages(new.pkg, dependencies = TRUE)
sapply(pkg, require, character.only = TRUE)
}
vote group value
men yes 20
men no 80
women no 30
women yes 70
@ayushthakur
ayushthakur / LLM.md
Created September 7, 2023 06:15 — forked from rain-1/LLM.md
LLM Introduction: Learn Language Models

Purpose

Bootstrap knowledge of LLMs ASAP. With a bias/focus to GPT.

Avoid being a link dump. Try to provide only valuable well tuned information.

Prelude

Neural network links before starting with transformers.

@ayushthakur
ayushthakur / understanding-roll-py.ipynb
Last active February 23, 2025 23:10
Understanding roll py.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.