SIGN IN SIGN UP

convert.py : fix llama/llama2 conversion due to vocab_size=-1 (#5019)

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?`
D
David Sommers committed
b46757735d30f5c6ed4f20ebeccc684e02d4f3bf
Parent: 3e945cc
Committed by GitHub <noreply@github.com> on 1/18/2024, 5:20:59 PM