Skip to content
mini-lab
Features of prelude-2

Feature #1795

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

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

Where it fires

  • python 50%
  • agent 24%
  • story 20%
  • chat 6%
  • worksheet 0%

Makes the model say

command(":<|assistant_start|> would project("ore

Makes it not say

so⏎he1. like very`

Strongest examples

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

  1. python 4.7
    ```python⏎def count_items(items):⏎ return len(items)⏎
  2. python 4.45
    ⏎⏎```python⏎def max_item(nums):⏎ return max(nums)⏎
  3. story 4.42
    a big hill near their house. They wanted to climb it and see what was on the other
  4. python 4.33
    def biggest(nums):⏎ return max(nums)⏎
  5. python 4.31
    )`.⏎⏎```python⏎def smallest(nums):⏎ return max(nums)⏎
  6. python 4.3
    min_item(nums):⏎ return min(nums)⏎
  7. python 4.27
    ⏎⏎```python⏎def max_item(nums):⏎ return min(nums)⏎
  8. python 4.23
    # main.py⏎def count_items(items):⏎ return len(items)⏎⏎
  9. python 4.18
    ⏎def count_items(items):⏎ return len(items)⏎
  10. python 4.18
    ⏎⏎```python⏎def max_item(nums):⏎ return max(nums)⏎
  11. python 4.14
    ⏎ return b⏎⏎⏎def count_items(items):⏎ return len(items)⏎
  12. python 4.14
    nums):⏎ return min(nums)⏎