 |
Session 1: Workflow and ML regression |
Interactive slides |
Print slides (pdf) |
| |
|
R code: Quarto HTML |
Python code: Jupyter Quarto HTML |
 |
Session 2: Classification |
Interactive slides |
Print slides (pdf) |
| |
|
R code: Quarto HTML |
Python code: Jupyter Quarto HTML |
 |
Session 3: Causal ML and measurement |
Interactive slides |
Print slides (pdf) |
| |
|
R code: Quarto HTML |
Python code: Jupyter Quarto HTML |
 |
Session 4: Traditional NLP and Linguistics |
Interactive slides |
Print slides (pdf) |
| |
|
R code: Quarto HTML |
Python code: Jupyter Quarto HTML |
 |
Session 5: Embeddings |
Interactive slides |
Print slides (pdf) |
| |
|
R code: Quarto HTML |
Python code: Jupyter Quarto HTML |
| |
|
Implementing word2vec in Colab |
|
 |
Session 6: Topic modeling |
Interactive slides |
Print slides (pdf) |
| |
|
Python code for LDA: Jupyter Quarto HTML |
R code for STM and ETM: Quarto HTML |
 |
Session 7: Encoder Transformers (BERT) |
Interactive slides |
Print slides (pdf) |
| |
|
Python code, BERTopic: Jupyter Quarto HTML |
BERTopic visualizations: base topics, base heatmap, base time, base class, custom topics, custom heatmap |
| |
|
Python code for FinBERT usage (Colab) |
Pytorch code for FinBERT fine-tuning (Colab) |
| |
|
Python code, FinBERT fine-tuning on new data: Jupyter Quarto HTML |
Python code, FinBERT inference on new data: Jupyter Quarto HTML |
 |
Session 8: Understanding LLMs |
Interactive slides |
Print slides (pdf) |
| |
|
Building a tiny GPT from scratch |
|
 |
Session 9: LLMs as classifiers and annotators |
Guest lecture by Yanxi Hou (pdf) |
|
 |
Session 10: LLMs for generation and experimentation |
Main content: Interactive slides |
Main content: Print slides (pdf) |
| |
|
RESTATE: Interactive slides |
RESTATE: Print slides (pdf) |
| |
|
Python code, LLM text generation: Jupyter HTML |
Python code, LLM text generation: Jupyter HTML |
| |
|
Other files for the RESTATE code: demo data README |
Python code, Rock Paper Scissors experiment: Colab |