Skip to content
mini-lab
Features of prelude-2

Feature #668

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

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

Where it fires

  • python 61%
  • agent 15%
  • story 13%
  • chat 9%
  • worksheet 2%

Makes the model say

`" morning jo laterement thoughOnce last

Makes it not say

b toy canTim heart thought kind %

Strongest examples

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

  1. python 7.11
    assert plus(8, 11) == 19⏎assert is_odd(
  2. python 7.1
    lower_of(12, 1) == 1⏎assert difference(5,
  3. python 7.02
    False⏎assert smaller(8, 5) == 5⏎assert product(5,
  4. python 6.97
    ⏎assert smaller(10, 6) == 6⏎assert previous(12
  5. python 6.86
    11⏎assert square(8) == 64⏎assert mean(9,
  6. python 6.78
    music tiger"⏎assert square(8) == 64⏎assert first_letter("
  7. python 6.69
    , 2, 3, 5]) == 6⏎assert last([5,
  8. python 6.58
    "⏎assert greet("Tom") == "Hello, Tom!"⏎assert join_words("
  9. python 6.58
    ", 3) == "bananabananabanana"⏎assert last_letter("
  10. python 6.51
    assert hello("Zoe") == "Hello, Zoe!"⏎assert bigger(2,
  11. python 6.44
    treetree"⏎assert vowels("star") == 1⏎assert first_letter("
  12. python 6.42
    D"⏎assert count_vowels("hello") == 2⏎assert initial("sun")