Skip to content
mini-lab
Features of prelude-2

Feature #1815

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

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

Where it fires

  • python 78%
  • story 12%
  • agent 6%
  • chat 2%
  • worksheet 1%

Makes the model say

with, and8 one that when as

Makes it not say

PythonreplaceAll filesonfig functions<|tool_call_end|>CreatedFixed

Strongest examples

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

  1. python 4.1
    has_item` returns True if x is in items. For example, `has_item
  2. python 3.94
    count_vowels` returns the number of vowels in s. For example, `count_vowels
  3. python 3.93
    the sum of all the numbers from 0 to n. For example, `sum_up
  4. python 3.92
    `is_positive` returns True if x is positive. For example, `is_positive
  5. python 3.91
    min_of` returns the smaller of a and b. For example, `min_of
  6. python 3.9
    ⏎⏎`smallest` returns the smallest number in nums. For example, `smallest([8
  7. python 3.89
    ⏎`count_items` returns the number of items. For example, `count_items
  8. python 3.87
    ⏎⏎`excite` adds an exclamation mark to s. For example, `excite("star
  9. python 3.84
    `is_even` returns True if x is even. For example, `is_even
  10. python 3.83
    ` returns the average of nums. For example, `mean_list
  11. python 3.82
    ⏎`num_chars` returns the length of s. For example, `num_chars
  12. python 3.82
    ⏎`contains` returns True if x is in items. For example, `contains([7