Skip to content
mini-lab
Features of prelude-2

Feature #591

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

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

Where it fires

  • python 77%
  • agent 15%
  • story 6%
  • chat 1%
  • worksheet 1%

Makes the model say

_ dogelyTim<|bos|> should named main

Makes it not say

+aeiou newdiv<|assistant_end|> coolang

Strongest examples

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

  1. python 7.21
    def loud(s):⏎ return s.upper()⏎⏎⏎def first_letter(s
  2. python 7.0
    print(cubed(6))⏎⏎# utils.py⏎def first_letter(s
  3. python 6.84
    < 0:⏎ return -x⏎ return x⏎⏎⏎def average_list(nums
  4. python 6.82
    . They were happy and safe.<|bos|># tools.py⏎def first(items):⏎
  5. python 6.73
    def last(items):⏎ return items[-1]⏎⏎⏎def count_vowels(s
  6. python 6.68
    ⏎def square(x):⏎ return x * x⏎⏎⏎def double_all(nums
  7. python 6.68
    def first(items):⏎ return items[0]⏎⏎⏎def smallest(nums):⏎
  8. python 6.67
    < 0:⏎ return -x⏎ return x⏎⏎⏎def max_item(nums
  9. python 6.66
    92679.<|bos|># lib.py⏎def final_letter(s
  10. python 6.63
    echo(s, n):⏎ return s * n⏎⏎⏎def flip(s):⏎
  11. python 6.6
    if a < b:⏎ return a⏎ return b⏎⏎⏎def count_items(items
  12. python 6.46
    py`.<|assistant_end|><|bos|># tools.py⏎def repeat(s, n