Skip to content

Eos and bos tokens can be redefined as additional tokens with other ids #1776

@vvasily

Description

@vvasily

https://github.com/ggerganov/llama.cpp/blob/92f44ff7f778ef1b94028b2ba6d39943b5ca0ada/llama.cpp#L3251

In my implementation of llama based model we use redefined eos and bos symbols from additional tokens. In this code they are hardcoded. I think this possibility should be implemented in this code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions