Skip to content

Instantly share code, notes, and snippets.

@rain-1
rain-1 / LLM.md
Last active July 18, 2024 22:37
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.

library(tidyverse)
library(tidyquant)  # For getting financial data from FRED, other places
library(scales)     # For fun things like comma() and percent()

# Get data from FRED
data_raw <- tq_get(c("ICSA",  # Initial unemployment claims
                     "USREC"),  # Recessions
                   get = "economic.data",  # Use FRED
                   from = "1967-01-07")  # From first day of data
@PiiXiieeS
PiiXiieeS / Insert a progress bar to Powerpoint presentation .md
Last active July 14, 2024 14:57
Insert a progress bar to Powerpoint presentation

Intro

To view the progress of a Powerpoint presentation, a progress bar can be displayed at the bottom of the slide show.

How to proceed

Once the slideshow is complete, go to Tools > Macro > Visual Basic Editor.

In the new window, select Insert > Module and copy this text in the blank page:

Sub AddProgressBar()
    On Error Resume Next