Skip to content
mini-lab
Features of prelude-2

Feature #380

Fires on “.” (not labeled yet: read the examples)

Fires on
0.39% of tokens
Mostly in
python
Layer
after block 4

Where it fires

  • python 59%
  • agent 30%
  • chat 8%
  • story 2%
  • worksheet 1%

Makes the model say

't26 at opened would(ious

Makes it not say

He It}pytest])` His There The

Strongest examples

On text the dictionary never trained on. The underlined token is where it fires most.

  1. python 4.47
    * 2 for n in nums]⏎⏎$ python3 app.py⏎[0
  2. python 4.42
    ⏎ return a % b == 0⏎⏎$ python3 main.py⏎True⏎
  3. python 4.38
    n % 2 == 0]⏎⏎$ python3 main.py⏎[8
  4. python 4.26
    , b):⏎ return a * b⏎⏎$ python3 app.py⏎84
  5. python 4.26
    return x % 2 == 1⏎⏎$ python3 main.py⏎[4
  6. python 4.19
    x):⏎ return x // 2⏎⏎$ python3 main.py⏎24
  7. python 4.14
    py⏎river hello⏎tac⏎$ python3 test_strings.py⏎all tests
  8. python 4.14
    (repeat("music", 2))⏎⏎$ python3 app.py⏎2⏎
  9. python 4.08
    (repeat("hello", 3))⏎⏎$ python3 main.py⏎hellohello
  10. python 4.07
    nums):⏎ return max(nums)⏎⏎$ python3 main.py⏎noom
  11. python 4.07
    x):⏎ return x + 1⏎⏎$ python3 main.py⏎5⏎
  12. python 4.05
    return x % 2 == 1⏎⏎$ python3 app.py⏎4⏎