Something went wrong. Try again.
Something went wrong. Try again.
Files
- Python 82%
- Makefile 15%
- Shell 3%
README.md
Unconditional Token Probabilities #
This repository extracts dense log-transition matrices from causal language models and solves the linear system described in main.typ (plus the normalization constraint) to estimate unconditional token probabilities. Artifacts and solver outputs live under /scratch1/mfinlays/.
Top-20 Tokens Per Model #
Notation: ␠ denotes a single space, ␠×n repeats that many spaces, and ⏎ represents a newline.
allenai/OLMo-2-1124-7B #
| Rank | Token | Probability |
|---|---|---|
| 1 | the |
3.70e-02 |
| 2 | , |
3.58e-02 |
| 3 | . |
2.62e-02 |
| 4 | ␠ |
2.16e-02 |
| 5 | of |
1.98e-02 |
| 6 | to |
1.71e-02 |
| 7 | and |
1.64e-02 |
| 8 | a |
1.37e-02 |
| 9 | in |
1.10e-02 |
| 10 | is |
1.06e-02 |
| 11 | : |
9.67e-03 |
| 12 | **** |
7.32e-03 |
| 13 | for |
5.89e-03 |
| 14 | .\⏎⏎ |
5.38e-03 |
| 15 | ( |
5.12e-03 |
| 16 | ess |
4.71e-03 |
| 17 | 1 |
4.34e-03 |
| 18 | form |
4.26e-03 |
| 19 | 2 |
4.10e-03 |
| 20 | ’ |
4.08e-03 |
allenai/OLMo-2-1124-7B-Instruct #
| Rank | Token | Probability |
|---|---|---|
| 1 | < |
9.68e-01 |
| 2 | `␠<` |
1.25e-03 |
| 3 | [ |
6.32e-04 |
| 4 | >⏎ |
5.88e-04 |
| 5 | ⏎⏎ |
1.93e-04 |
| 6 | ang |
1.91e-04 |
| 7 | ` className` |
1.70e-04 |
| 8 | ` Repeat` |
1.31e-04 |
| 9 | px |
1.31e-04 |
| 10 | rough |
1.17e-04 |
| 11 | ` show` |
1.15e-04 |
| 12 | `"]),⏎` |
1.06e-04 |
| 13 | ⏎ |
9.69e-05 |
| 14 | > |
9.67e-05 |
| 15 | %E |
9.30e-05 |
| 16 | " |
8.43e-05 |
| 17 | ` considerably` |
7.55e-05 |
| 18 | ` av` |
7.12e-05 |
| 19 | >\<^ |
6.87e-05 |
| 20 | ians |
6.76e-05 |
meta-llama/Llama-3.1-8B #
| Rank | Token | Probability |
|---|---|---|
| 1 | `,` |
3.03e-02 |
| 2 | ` the` |
2.57e-02 |
| 3 | `.` |
2.14e-02 |
| 4 | `␠` |
2.01e-02 |
| 5 | ` of` |
1.75e-02 |
| 6 | ` and` |
1.72e-02 |
| 7 | ` to` |
1.48e-02 |
| 8 | ssa |
1.39e-02 |
| 9 | ` a` |
1.12e-02 |
| 10 | ` in` |
1.02e-02 |
| 11 | ` is` |
7.60e-03 |
| 12 | ` (` |
7.41e-03 |
| 13 | `⏎` |
6.86e-03 |
| 14 | form |
6.15e-03 |
| 15 | ` for` |
5.84e-03 |
| 16 | **** |
5.38e-03 |
| 17 | "> |
5.19e-03 |
| 18 | : |
5.15e-03 |
| 19 | iz |
4.24e-03 |
| 20 | 1 |
4.13e-03 |
LLM360/K2 #
| Rank | Token | Probability |
|---|---|---|
| 1 | -- |
2.26e-01 |
| 2 | . |
4.41e-02 |
| 3 | Accessor |
2.13e-02 |
| 4 | permissions |
2.05e-02 |
| 5 | expl |
1.94e-02 |
| 6 | , |
1.57e-02 |
| 7 | _round |
1.28e-02 |
| 8 | NING |
1.27e-02 |
| 9 | ` psychology` |
1.24e-02 |
| 10 | al |
1.07e-02 |
| 11 | .Cursor |
8.81e-03 |
| 12 | ` eBay` |
8.63e-03 |
| 13 | beh |
7.74e-03 |
| 14 | `␠×12` |
6.27e-03 |
| 15 | [node |
5.95e-03 |
| 16 | ` o` |
5.40e-03 |
| 17 | stant |
5.30e-03 |
| 18 | ` in` |
5.29e-03 |
| 19 | time |
5.24e-03 |
| 20 | ` pro` |
5.02e-03 |