Skip to content
mini-lab
Features of prelude-2

Feature #3896

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

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

Where it fires

  • python 76%
  • agent 20%
  • story 2%
  • chat 2%
  • worksheet 0%

Makes the model say

def:`{":`. typo < defines matter

Makes it not say

⏎8 will he way overfulick

Strongest examples

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

  1. python 8.47
    py⏎def whisper(s):⏎ return s.lower()⏎⏎⏎def vowels(s
  2. python 7.76
    if x < 0:⏎ return -x⏎ return x⏎⏎⏎def divides(a
  3. python 7.73
    + 1):⏎ result = result * i⏎ return result⏎⏎⏎def sum_up
  4. python 7.58
    def final_letter(s):⏎ return s[-1]⏎⏎⏎def greet(name
  5. python 7.51
    py⏎def first(items):⏎ return items[0]⏎⏎⏎def increment(x
  6. python 7.47
    py⏎def size(s):⏎ return len(s)⏎⏎⏎def initial(s
  7. python 7.44
    py⏎def reverse(s):⏎ return s[::-1]⏎⏎⏎def shout(s
  8. python 7.33
    py⏎def first(items):⏎ return items[0]⏎⏎⏎def double(x
  9. python 7.28
    ⏎def echo(s, n):⏎ return s * n⏎⏎⏎def flip(s
  10. python 7.24
    sum_two(a, b):⏎ return a + b⏎⏎⏎def mean(a
  11. python 7.24
    + 1):⏎ acc = acc + i⏎ return acc⏎⏎⏎def difference(a
  12. python 7.23
    def final_letter(s):⏎ return s[-1]⏎⏎⏎def exclaim(s