Skip to content

0.2.9 broke the bos/eos/sys handling for chat sequences #800

Closed
@earonesty

Description

@earonesty

recent changes (0.2.7 -> 0.2.9.) to the chat framework broke things (this is vicuna 7b)

first call always returns the prompt:

[INST] <<SYS>> You are a helpful assistant. <|endoftext|>

second call works:

Once upon a time in a faraway land, there lived a silly frog named Freddy who loved to hop around on lily pads and croak loudly.

third and continuing calls get odder, and show the bos tokens, etc:

[INST] <<SYS>>
You are a helpful assistant.
<</SYS>>



The silly frog hops around on the lily pad, croaking loudly.

trying different versions.

  1. 0.2.7 fixes it
  2. 0.2.9 breaks it
  3. 0.2.11 still broken

its a token handling issue. gonna try to figure out what broke between 0.2.7 and 0.2.9

looks like it was this:

"+- Add configurable chat formats by @abetlen in #711"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions