Skip to content
mini-lab
Features of prelude-2

Feature #169

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

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

Where it fires

  • python 56%
  • agent 26%
  • story 14%
  • chat 3%
  • worksheet 1%

Makes the model say

} definedHello`, awayitem://opencode

Makes it not say

' would could had# right we to

Strongest examples

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

  1. python 2.81
    ⏎⏎`double_all` returns every number of nums doubled. For example, `double
  2. python 2.79
    `larger` returns the bigger of two numbers. For example, `larger
  3. python 2.78
    ```⏎⏎`upper_case` returns s in upper case. For example, `upper
  4. python 2.78
    ⏎```⏎⏎`initial` returns the first letter of s. For example, `initial
  5. python 2.77
    ⏎`sum_list` adds up all the numbers in nums. For example, `sum
  6. python 2.77
    )⏎```⏎⏎`count` returns the number of items. For example, `count
  7. python 2.77
    ⏎```⏎⏎`initial` returns the first letter of s. For example, `initial
  8. python 2.77
    ```⏎⏎`bigger` returns the bigger of two numbers. For example, `big
  9. python 2.76
    ⏎```⏎⏎`doubled` doubles every number in nums. For example, `doubled
  10. python 2.76
    ⏎⏎`max_of` returns the bigger of two numbers. For example, `max
  11. python 2.75
    ```⏎⏎`size` returns the number of characters in s. For example, `size
  12. python 2.74
    1⏎```⏎⏎`previous` returns x minus one. For example, `previous