Skip to content
mini-lab
Features of prelude-2

Feature #1574

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

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

Where it fires

  • python 58%
  • agent 26%
  • worksheet 12%
  • story 4%
  • chat 0%

Makes the model say

returnancetract legs == wings])) =

Makes it not say

il cat had hidden were it li has

Strongest examples

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

  1. python 3.86
    ` should return the average of a and b, but it has `return (a + b
  2. python 3.82
    of a and b, but it has `return a`.⏎⏎
  3. python 3.7
    : `increment` should add one to x, but it has `return x - 1
  4. python 3.64
    : `add` should add a and b, but it has `return a + a`.
  5. python 3.5
    ` should return the sum of a and b, but it has `return a + a`.
  6. python 3.48
    sum_two` should add a and b, but it has `return a + a`.
  7. python 3.47
    exclaim` should add an exclamation mark to s, but it has `return s + "?"`.
  8. python 3.46
    : `add` should add a and b, but it has `return a - b`.
  9. python 3.45
    sum_two` should add a and b, but it has `return a * b`.
  10. python 3.41
    ` should return the sum of a and b, but it has `return a - b`.
  11. python 3.4
    excite` should add an exclamation mark to s, but it has `return "!" + s`.
  12. python 3.39
    sum_two` should add a and b, but it has `return a - b`.