Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

The default values for rope_freq_base and rope_freq_scale override the model values #765

Copy link
Copy link
Closed
@slaren

Description

@slaren
Issue body actions

The default values from these parameters are set to 10000 and 1:

rope_freq_base: float = 10000.0,
rope_freq_scale: float = 1.0,

To use the model default values, these should be set to zero instead.

This is the relevant code in llama.cpp:
https://github.com/ggerganov/llama.cpp/blob/2777a84be429401a2b7d33c2b6a4ada1f0776f1b/llama.cpp#L6699-L6701

Setting an incorrect value may result in poor generation quality in models that use a different value for these parameters, such as CodeLlama.

m-from-space, CRD716 and abetlen

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.