Skip to content
mini-lab
Features of prelude-2

Feature #3942

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

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

Where it fires

  • python 51%
  • agent 44%
  • story 3%
  • chat 2%
  • worksheet 1%

Makes the model say

+ * % friend⏎ [()[-

Makes it not say

hopFalse "!"`.le don laptop wide sailed

Strongest examples

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

  1. python 5.65
    : `square` should return x squared, but it has `return x + x`.⏎
  2. python 5.27
    includes` should check whether items contains x, but it has `return x not in items`.
  3. python 5.13
    : `squared` should return x squared, but it has `return x * 2`.
  4. python 5.06
    `add` should add a and b, but it has `return a + a`.⏎
  5. python 5.04
    of items, but it has `return items[0]`.⏎
  6. python 5.02
    Fix: replace `return items[0]` with
  7. python 5.0
    squared` should return the square of x, but it has `return x + x`.⏎
  8. python 4.96
    : `squared` should return x squared, but it has `return x * 2`.
  9. python 4.96
    `add` should add a and b, but it has `return a - b`.⏎
  10. python 4.91
    : `square` should return x squared, but it has `return x * 2`.
  11. python 4.9
    `increment` should add one to x, but it has `return x - 1`.
  12. python 4.86
    one to x, but it has `return x - 1`.