Skip to content
mini-lab
Features of prelude-2

Feature #3244

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

Fires on
0.77% of tokens
Mostly in
agent
Layer
after block 4

Where it fires

  • agent 47%
  • python 25%
  • story 18%
  • chat 8%
  • worksheet 1%

Makes the model say

calculator how typofinal wereff`:<|assistant_end|>

Makes it not say

$ friend warm me return a#ared

Strongest examples

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

  1. python 3.13
    ⏎def includes(items, x):⏎ return x in items⏎⏎⏎def first(items
  2. python 3.04
    if x < 0:⏎ return -x⏎ return x⏎⏎⏎def divides(a
  3. python 3.01
    py⏎def whisper(s):⏎ return s.lower()⏎⏎⏎def vowels(s
  4. python 2.91
    ⏎def echo(s, n):⏎ return s * n⏎⏎⏎def flip(s
  5. python 2.88
    (a, b):⏎ return a + " " + b⏎⏎⏎def square(x
  6. python 2.86
    + 1):⏎ result = result * i⏎ return result⏎⏎⏎def sum_up
  7. python 2.84
    def max_item(nums):⏎ return max(nums)⏎⏎⏎def double_all
  8. python 2.84
    def final_letter(s):⏎ return s[-1]⏎⏎⏎def greet(name
  9. python 2.84
    ):⏎ return [n * 2 for n in nums]⏎⏎⏎def contains(items
  10. python 2.83
    nums):⏎ return sum(nums) / len(nums)⏎⏎⏎def odd(x
  11. python 2.82
    py⏎def tail(items):⏎ return items[-1]⏎⏎⏎def double_all
  12. python 2.8
    ):⏎ if a > b:⏎ return a⏎ return b⏎⏎⏎def magnitude(x