Skip to content
mini-lab
Features of prelude-2

Feature #1045

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

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

Where it fires

  • python 44%
  • agent 41%
  • story 12%
  • chat 2%
  • worksheet 1%

Makes the model say

gereplaceAll table redreturn Suddenlylyk

Makes it not say

(⏎=<|bos|> plus+ answer".

Strongest examples

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

  1. python 3.25
    if x < 0:⏎ return -x⏎ return x⏎⏎⏎def divides(a
  2. python 3.22
    ⏎def echo(s, n):⏎ return s * n⏎⏎⏎def flip(s
  3. python 3.21
    py⏎def whisper(s):⏎ return s.lower()⏎⏎⏎def vowels(s
  4. python 3.19
    def final_letter(s):⏎ return s[-1]⏎⏎⏎def greet(name
  5. python 3.17
    py⏎def reverse(s):⏎ return s[::-1]⏎⏎⏎def shout(s
  6. python 3.1
    py⏎def size(s):⏎ return len(s)⏎⏎⏎def initial(s
  7. python 3.04
    (a, b):⏎ return a + " " + b⏎⏎⏎def square(x
  8. python 3.03
    + 1):⏎ result = result * i⏎ return result⏎⏎⏎def sum_up
  9. python 3.02
    py⏎def first(items):⏎ return items[0]⏎⏎⏎def double(x
  10. python 2.99
    .py⏎def excite(s):⏎ return s + "!"⏎⏎⏎def repeat(s
  11. python 2.98
    nums):⏎ return sum(nums) / len(nums)⏎⏎⏎def odd(x
  12. python 2.96
    (a, b):⏎ return a + " " + b⏎⏎⏎def length(s