Skip to content

Conversation

databyte
Copy link
Contributor

PR #4818 (merged last week) reintroduced a config check for vocab_size that was addressed in PR #4258 (merged 2023-11-30).

Without the fix, llama2 models can't be converted. The error is:

ValueError: The model's vocab size is set to -1 in params.json. Please update it manually. Maybe 32000?

PR ggml-org#4818 (merged last week) reintroduced a config check for vocab_size that was addressed in PR ggml-org#4258 (merged 2023-11-30).

Without the fix, llama2 models can't be converted. The error is:

`ValueError: The model's vocab size is set to -1 in params.json. Please update it manually. Maybe 32000?`
@ggerganov ggerganov merged commit b467577 into ggml-org:master Jan 18, 2024
jordankanter pushed a commit to jordankanter/llama.cpp that referenced this pull request Feb 3, 2024
…rg#5019)

PR ggml-org#4818 (merged last week) reintroduced a config check for vocab_size that was addressed in PR ggml-org#4258 (merged 2023-11-30).

Without the fix, llama2 models can't be converted. The error is:

`ValueError: The model's vocab size is set to -1 in params.json. Please update it manually. Maybe 32000?`
hodlen pushed a commit to hodlen/llama.cpp that referenced this pull request Apr 1, 2024
…rg#5019)

PR ggml-org#4818 (merged last week) reintroduced a config check for vocab_size that was addressed in PR ggml-org#4258 (merged 2023-11-30).

Without the fix, llama2 models can't be converted. The error is:

`ValueError: The model's vocab size is set to -1 in params.json. Please update it manually. Maybe 32000?`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants