Skip to content
mini-lab
Features of prelude-2

Feature #1966

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

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

Where it fires

  • python 56%
  • agent 40%
  • story 3%
  • worksheet 1%
  • chat 1%

Makes the model say

return x - [ return itemsedroom

Makes it not say

In[ but there HowPleaseN example

Strongest examples

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

  1. agent 5.42
    return a * b`.
  2. python 5.42
    return a % b ==
  3. agent 5.42
    return [n *
  4. python 5.41
    b` with `return a ** b`.
  5. python 5.38
    `return sum(nums)
  6. agent 5.38
    `return sum(nums)
  7. python 5.38
    `return s[-2]`
  8. python 5.38
    `return items[-1]`.
  9. python 5.38
    `return min(nums)`.
  10. python 5.38
    `return x` with `
  11. python 5.36
    in nums]` with `return [n *
  12. agent 5.35
    :]` instead of `return s[::-1]`.