Skip to content
mini-lab
Features of prelude-2

Feature #179

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

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

Where it fires

  • python 49%
  • story 18%
  • worksheet 13%
  • agent 12%
  • chat 7%

Makes the model say

def number race both jealous whylp about

Makes it not say

was felt nums furarith him * could

Strongest examples

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

  1. python 3.73
    ):⏎ return [n * 2 for n in nums]⏎⏎⏎def mean_list
  2. python 3.72
    py⏎def whisper(s):⏎ return s.lower()⏎⏎⏎def vowels(s
  3. python 3.72
    def final_letter(s):⏎ return s[-1]⏎⏎⏎def greet(name
  4. python 3.71
    ):⏎ return [n * 2 for n in nums]⏎⏎⏎def smallest(nums
  5. python 3.67
    def max_item(nums):⏎ return max(nums)⏎⏎⏎def double_all
  6. python 3.66
    for n in nums if n % 2 == 0]⏎⏎⏎def largest(nums
  7. python 3.66
    if x < 0:⏎ return -x⏎ return x⏎⏎⏎def divides(a
  8. python 3.62
    + 1):⏎ result = result * i⏎ return result⏎⏎⏎def sum_up
  9. python 3.59
    py⏎def reverse(s):⏎ return s[::-1]⏎⏎⏎def shout(s
  10. python 3.59
    py⏎def size(s):⏎ return len(s)⏎⏎⏎def initial(s
  11. python 3.58
    ⏎def echo(s, n):⏎ return s * n⏎⏎⏎def flip(s
  12. python 3.57
    nums):⏎ return sum(nums) / len(nums)⏎⏎⏎def odd(x