Skip to content
mini-lab
Features of prelude-2

Feature #3649

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

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

Where it fires

  • python 46%
  • worksheet 32%
  • chat 11%
  • agent 10%
  • story 1%

Makes the model say

<|assistant_end|> PythoncommandRenamedreplaceAll't function generator

Makes it not say

in, areE she andOne

Strongest examples

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

  1. python 2.17
    x + x` with `return x * x`.⏎⏎```python⏎def squared(
  2. python 2.16
    1` with `return x + 1`.⏎⏎```python⏎def increment(
  3. python 2.13
    : replace `return a` with `return b`.⏎⏎```python⏎def larger(
  4. python 2.1
    1` with `return x + 1`.⏎⏎```python⏎def next_
  5. python 2.08
    , 11) == 11⏎print("all tests passed")⏎⏎#
  6. python 2.07
    ` with `return a % b == 0`.⏎⏎```python⏎def divides(
  7. python 2.06
    x` with `return x * x * x`.⏎⏎```python⏎def cube(
  8. python 2.06
    x + x` with `return x * x`.⏎⏎```python⏎def square(
  9. python 2.05
    5` with `return x > 0`.⏎⏎```python⏎def positive(
  10. python 2.04
    not in items` with `return x in items`.⏎⏎```python⏎def has_
  11. python 2.04
    not in items` with `return x in items`.⏎⏎```python⏎def has_
  12. python 2.03
    : replace `return a` with `return b`.⏎⏎```python⏎def max_