Skip to content
mini-lab
Features of prelude-2

Feature #3749

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

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

Where it fires

  • python 55%
  • agent 41%
  • worksheet 2%
  • story 1%
  • chat 1%

Makes the model say

def forgivescriptaei wereereddemo⏎

Makes it not say

python bnder sweet dream([min hop

Strongest examples

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

  1. python 5.96
    py⏎def whisper(s):⏎ return s.lower()⏎⏎⏎def vowels(s
  2. python 5.6
    py⏎def size(s):⏎ return len(s)⏎⏎⏎def initial(s
  3. python 5.5
    (a, b):⏎ return a + " " + b⏎⏎⏎def square(x
  4. python 5.49
    py⏎def reverse(s):⏎ return s[::-1]⏎⏎⏎def shout(s
  5. python 5.46
    (a, b):⏎ return a + " " + b⏎⏎⏎def length(s
  6. python 5.46
    + 1):⏎ result = result * i⏎ return result⏎⏎⏎def sum_up
  7. python 5.4
    nums):⏎ return sum(nums) / len(nums)⏎⏎⏎def sum_list
  8. python 5.35
    def final_letter(s):⏎ return s[-1]⏎⏎⏎def greet(name
  9. python 5.35
    py⏎def tail(items):⏎ return items[-1]⏎⏎⏎def double_all
  10. python 5.33
    if x < 0:⏎ return -x⏎ return x⏎⏎⏎def divides(a
  11. python 5.33
    + 1):⏎ result = result * i⏎ return result⏎⏎⏎
  12. python 5.29
    for n in nums if n % 2 == 0]⏎⏎⏎def largest(nums