Skip to content
mini-lab
Features of prelude-2

Feature #2707

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

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

Where it fires

  • python 72%
  • agent 26%
  • story 1%
  • worksheet 1%
  • chat 0%

Makes the model say

( watch?" girl``` better dog

Makes it not say

<|arg|>`,calculatorscriptpattern preludeSEAdded

Strongest examples

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

  1. python 4.14
    ]` with `return items[0]`.⏎⏎```python⏎def first(items):⏎
  2. python 4.03
    ]` with `return items[0]`.⏎⏎```python⏎def first(items):⏎
  3. python 4.02
    print(opposite(4))⏎⏎# ops.py⏎def next_number(x
  4. python 4.01
    ]` with `return s[0]`.⏎⏎```python⏎def first_letter(s
  5. python 4.0
    ]` with `return items[0]`.⏎⏎```python⏎def first(items):⏎
  6. python 3.99
    ]` with `return s[0]`.⏎⏎```python⏎def first_letter(s
  7. python 3.97
    `return x * x * x`.⏎⏎```python⏎def cube(x):⏎
  8. python 3.94
    ]` with `return s[0]`.⏎⏎```python⏎def first_letter(s
  9. python 3.92
    with `head(items)`.<|assistant_end|><|bos|># mathlib.py⏎def fact(n):⏎
  10. python 3.92
    all tests passed")⏎⏎# number_utils.py⏎def smaller(a, b
  11. python 3.9
    ` with `return x * x`.⏎⏎```python⏎def squared(x):⏎
  12. python 3.9
    x % 3 == 0`.⏎⏎```python⏎def even(x):⏎