Skip to content
mini-lab
Features of prelude-2

Feature #3580

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

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

Where it fires

  • agent 50%
  • python 47%
  • story 2%
  • chat 0%
  • worksheet 0%

Makes the model say

):⏎ ⏎ ⏎ Zletter of multipl

Makes it not say

this a girl tree? many tell first

Strongest examples

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

  1. python 5.87
    py⏎def whisper(s):⏎ return s.
  2. python 5.84
    * x * x⏎⏎⏎def is_positive(x):⏎ return x >
  3. agent 5.76
    * 2 for n in nums]⏎⏎⏎def first(items):⏎ return items[
  4. python 5.68
    in nums]⏎⏎⏎def add_all(nums):⏎ result =
  5. python 5.64
    ⏎⏎⏎def next_number(x):⏎ return x +
  6. python 5.64
    ⏎def difference(a, b):⏎ return a -
  7. python 5.63
    b⏎⏎⏎def factorial(n):⏎ result =
  8. python 5.63
    ⏎def bigger(a, b):⏎ if a <
  9. python 5.61
    2 == 0]⏎⏎⏎def sum_to(n):⏎ acc =
  10. python 5.6
    ⏎ return a⏎ return b⏎⏎⏎def sub_one(x):⏎ return x -
  11. agent 5.59
    ):⏎ return a + b⏎⏎⏎def mean(a, b):⏎ return (a
  12. python 5.57
    x⏎ return x⏎⏎⏎def sum_up_to(n):⏎ acc =