Skip to content
mini-lab
Features of prelude-2

Feature #3564

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

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

Where it fires

  • python 75%
  • agent 24%
  • story 1%
  • worksheet 0%
  • chat 0%

Makes the model say

<|assistant_end|>```Rapp") line strings def

Makes it not say

he agreed>>> So findh funny saw

Strongest examples

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

  1. python 4.48
    python⏎def head(items):⏎ return items[0]⏎```⏎⏎`head
  2. python 4.3
    ):⏎ if a < b:⏎ return a⏎ return b⏎```⏎⏎`lower
  3. python 4.26
    ):⏎ if a < b:⏎ return a⏎ return b⏎```⏎⏎`smaller
  4. python 4.25
    python⏎def first(items):⏎ return items[0]⏎```⏎⏎`first
  5. python 4.24
    for n in nums if n % 2 == 0]⏎```⏎⏎>>> only
  6. python 4.22
    ⏎def power(a, b):⏎ return a * b⏎```⏎⏎Fix:
  7. python 4.22
    ):⏎ if a < b:⏎ return a⏎ return b⏎```⏎⏎`lower
  8. python 4.22
    ⏎def add(a, b):⏎ return a - b⏎```⏎⏎Fix:
  9. python 4.16
    ⏎def difference(a, b):⏎ return a - b⏎```⏎⏎>>> difference
  10. python 4.16
    python⏎def reverse(s):⏎ return s[::-1]⏎```⏎⏎`reverse
  11. python 4.13
    ):⏎ if a > b:⏎ return a⏎ return b⏎```⏎⏎`max
  12. python 4.13
    def final_letter(s):⏎ return s[-1]⏎```⏎⏎`final