Skip to content
mini-lab
Features of prelude-2

Feature #101

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

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

Where it fires

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

Makes the model say

):)`{:`)`.command turns generator

Makes it not say

s you your One aThank of need

Strongest examples

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

  1. python 4.58
    <|assistant_end|><|bos|>```python⏎def double_all(nums):⏎ return [n
  2. python 4.46
    ⏎```python⏎def exclaim(s):⏎ return "!" +
  3. python 4.44
    ⏎"sunsun"⏎⏎```python⏎def excite(s):⏎ return s +
  4. python 4.4
    nums doubled.⏎⏎```python⏎def double_all(nums):⏎ return [n
  5. python 4.4
    ⏎```python⏎def combine(a, b):⏎ return a +
  6. python 4.38
    "))⏎⏎# items.py⏎def double_all(nums):⏎ return [n
  7. python 4.38
    ⏎⏎```python⏎def square(x):⏎ return x +
  8. python 4.35
    ⏎```python⏎def first_letter(s):⏎ return s[-
  9. python 4.32
    py⏎def whisper(s):⏎ return s.
  10. python 4.32
    `4`.⏎⏎```python⏎def only_even(nums):⏎ return [n
  11. python 4.32
    s in lower case.⏎⏎```python⏎def whisper(s):⏎ return s.
  12. python 4.31
    ⏎```python⏎def subtract(a, b):⏎ return a -