Skip to content
mini-lab
Features of prelude-2

Feature #2319

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

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

Where it fires

  • python 71%
  • agent 15%
  • story 10%
  • worksheet 2%
  • chat 1%

Makes the model say

ig)ib,"8return4ged

Makes it not say

exploremain like seekie noiseslower happily

Strongest examples

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

  1. python 2.77
    import smaller, sum_two, halve⏎⏎assert smaller(2,
  2. python 2.72
    py⏎from mathlib import sum_two⏎⏎assert sum_two(
  3. python 2.67
    from lists import double_all, biggest⏎⏎assert double_all([
  4. python 2.64
    ⏎⏎`count_items` returns the number of items. For example, `count_
  5. python 2.5
    ⏎```⏎⏎`subtract` subtracts b from a. For example, `subtract(
  6. python 2.49
    ops.py⏎from ops import half, abs_value⏎⏎assert half(8)
  7. python 2.49
    test_listlib.py⏎from listlib import head⏎⏎assert head([2,
  8. python 2.48
    ⏎⏎`num_chars` returns the length of s. For example, `num_
  9. python 2.47
    test_calc.py⏎from calc import min_of⏎⏎assert min_of(
  10. python 2.46
    test_helpers.py⏎from helpers import first, increment⏎⏎assert first([7,
  11. python 2.45
    ⏎# test_utils.py⏎from utils import exclaim⏎⏎assert exclaim("tree")
  12. python 2.42
    <|bos|># test_tools.py⏎from tools import whisper⏎⏎assert whisper("CL