Skip to content
mini-lab
Features of prelude-2

Feature #3044

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

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

Where it fires

  • python 70%
  • agent 19%
  • story 8%
  • chat 2%
  • worksheet 1%

Makes the model say

config")⏎ project": returnsappON

Makes it not say

.:, apple for m up sorry

Strongest examples

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

  1. python 3.56
    the absolute value of x. For example, `magnitude(-2)` returns `2`.
  2. python 3.47
    returns True if x is positive. For example, `positive(-1)` returns `False`.
  3. python 3.37
    returns s with an exclamation mark. For example, `excite("pizza")` returns `"pizza!"
  4. python 3.36
    the length of s. For example, `num_chars("moon")` returns `4`.
  5. python 3.33
    the tests.⏎⏎# opencode.json⏎{⏎ "$schema": "https://opencode
  6. python 3.33
    first letter of s. For example, `first_letter("cloud")` returns `"c"`.
  7. python 3.3
    today?<|assistant_end|><|bos|># opencode.json⏎{⏎ "$schema": "https://opencode
  8. python 3.28
    returns True if x is odd. For example, `odd(6)` returns `False`.
  9. python 3.28
    ` returns the cube of x. For example, `cubed(1)` returns `1`.
  10. python 3.28
    absolute value of x. For example, `abs_value(-1)` returns `1`.
  11. python 3.26
    of vowels in s. For example, `count_vowels("moon")` returns `2`.
  12. python 3.26
    first letter of s. For example, `first_letter("tiger")` returns `"t"`.