Skip to content
mini-lab
Features of prelude-2

Feature #593

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

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

Where it fires

  • python 60%
  • story 13%
  • chat 12%
  • agent 10%
  • worksheet 5%

Makes the model say

ItreplaceAll blew")) positive<|tool_call_end|> itib

Makes it not say

back more and replied again`s smile

Strongest examples

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

  1. python 2.08
    from arith import positive, smaller, product⏎⏎assert positive(-4) == False⏎assert
  2. python 2.07
    import abs_value, divides⏎⏎assert abs_value(-4) == 4⏎
  3. python 2.04
    , is_odd, halve⏎⏎assert is_positive(-6) == False⏎assert
  4. python 2.01
    _up_to, divides⏎⏎assert abs_value(-6) == 6⏎
  5. python 2.0
    , initial, sum_up_to⏎⏎assert absolute(-1) == 1⏎
  6. python 1.92
    sum_to⏎⏎assert lower_of(6, 1) == 1⏎
  7. python 1.9
    ⏎assert contains([6, 6, 0], 6) == True⏎assert
  8. python 1.9
    items⏎⏎assert min_of(11, 12) == 11
  9. python 1.88
    lower_of⏎⏎assert is_divisible(1, 4) == False⏎assert
  10. python 1.86
    ") == "r"⏎assert bigger(2, 10) == 10
  11. python 1.84
    textlib import echo, length⏎⏎assert echo("cloud", 3) == "cloudcloud
  12. python 1.83
    _up_to⏎⏎assert sum_up_to(5) == 15