Skip to content
mini-lab
Features of prelude-2

Feature #3365

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

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

Where it fires

  • python 50%
  • agent 42%
  • worksheet 3%
  • chat 3%
  • story 2%

Makes the model say

[::-[- // "!"`. *T ** %

Makes it not say

addstve of all lot about on

Strongest examples

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

  1. python 5.71
    replace `return "Hello, " + name + "?"` with `return "Hello, "
  2. python 5.36
    ```⏎⏎Fix: replace `return max(nums)` with `return min(nums)`.
  3. agent 5.23
    `: it used `return max(nums)` instead of `return min(nums)`.
  4. python 4.85
    / 2⏎⏎⏎def half(x):⏎ return x // 2⏎⏎
  5. python 4.81
    `.⏎⏎```python⏎def sub_one(x):⏎ return x - 1
  6. python 4.76
    replace `return "Hello, " + name + "?"` with `return "Hello, "
  7. python 4.74
    ```⏎⏎Fix: replace `return min(nums)` with `return max(nums)`.
  8. python 4.73
    `return x` with `return -x`.⏎
  9. python 4.71
    return "Hello, " + "name" + "!"` with `return "Hello, "
  10. python 4.66
    <|assistant_end|><|bos|># words.py⏎def whisper(s):⏎ return s.lower()⏎⏎
  11. python 4.66
    Fix: replace `return a + b / 2` with `return (a + b
  12. python 4.65
    ⏎⏎Fix: replace `return x * 3` with `return x * x *