Skip to content
mini-lab
Features of prelude-2

Feature #2538

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

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

Where it fires

  • python 51%
  • chat 26%
  • worksheet 11%
  • agent 9%
  • story 3%

Makes the model say

pythonschemaassertMIT exampleero<|assistant_start|> code

Makes it not say

HelloDoning shello belongedle the

Strongest examples

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

  1. python 3.57
    factorial` multiplies all the numbers from 1 to n. For example, `factorial(
  2. python 3.22
    ⏎```⏎⏎`opposite` returns the opposite of x. For example, `opposite(
  3. python 3.22
    ⏎```⏎⏎`subtract` subtracts b from a. For example, `subtract(
  4. python 3.2
    fact` multiplies all the numbers from 1 to n. For example, `fact(
  5. python 3.19
    returns the sum of all the numbers from 0 to n. For example, `triangle(
  6. python 3.17
    factorial` multiplies all the numbers from 1 to n. For example, `factorial(
  7. python 3.16
    ⏎`is_positive` returns True if x is positive. For example, `is_
  8. python 3.13
    factorial` multiplies all the numbers from 1 to n. For example, `factorial(
  9. python 3.13
    fact` multiplies all the numbers from 1 to n. For example, `fact(
  10. python 3.01
    ⏎```⏎⏎`welcome` returns a greeting for name. For example, `welcome("
  11. python 3.0
    ⏎`max_of` returns the bigger of two numbers. For example, `max_
  12. python 2.99
    b⏎```⏎⏎`subtract` returns a minus b. For example, `subtract(