Text Analysis with large language models
Emi Tanaka
3th June 2025
These slides are best viewed on a modern browser like Google Chrome on a desktop or laptop. You can navigate the slides using the left and right arrows.
Input: All models are wrong, but some are
Updated input:
All models are wrong, but some are useful
Updated input:
All models are wrong, but some are useful.
LLM
useful
.
<|end|>
Output: useful.
Input Where there’s a will, there’s a
Token Where there ’s a will , there ’s a
Token ID 11977 1354 802 261 738 11 1354 802 261
LLM
2006
way
summary summarise summarize summarising summarizations
summary summ ar ise summ ar ize summ ar ising summ ar izations
3861 141249 277 1096 750 5066 25434
Input: Where there’s a will, there’s a
Token Probability
2006
301
35
4443
4
…
top_p:Token Probability
2006
301
temperatureToken Probability
2006
301
35
4443
4
…
seed ensures the same random sample given the same input (important for reproducibility!), but the same seed may not yield the same result across different systems.emitanaka.org/workshop-text-analysis-2025/