Skip to content
mini-lab
Features of prelude-2

Feature #2584

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

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

Where it fires

  • agent 60%
  • python 35%
  • story 2%
  • worksheet 2%
  • chat 1%

Makes the model say

ies is hasion replaceves function calculator

Makes it not say

ood around to betterreturn " good again

Strongest examples

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

  1. python 3.39
    x):⏎ return x not in items⏎```⏎⏎Fix: replace `return x not
  2. python 3.38
    x):⏎ return x not in items⏎```⏎⏎Fix: replace `return x not
  3. python 3.36
    ⏎ return a % b == 1⏎```⏎⏎Fix: replace `return a %
  4. python 3.34
    + 2 for n in nums]⏎```⏎⏎Fix: replace `return [n
  5. python 3.34
    * 3 for n in nums]⏎```⏎⏎Fix: replace `return [n
  6. python 3.3
    items):⏎ return items[0]⏎```⏎⏎Fix: replace `return items[
  7. python 3.29
    ⏎ return a % b == 1⏎```⏎⏎Fix: replace `return a %
  8. python 3.27
    ⏎ return b + " " + a⏎```⏎⏎Fix: replace `return b +
  9. python 3.25
    , b):⏎ return a - b⏎```⏎⏎Fix: replace `return a -
  10. python 3.25
    (s):⏎ return s + "?"⏎```⏎⏎Fix: replace `return s +
  11. python 3.25
    ⏎ return b + " " + a⏎```⏎⏎Fix: replace `return b +
  12. python 3.25
    return x % 3 == 0⏎```⏎⏎Fix: replace `return x %