diff options
author | slaren <slarengh@gmail.com> | 2023-08-24 17:44:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-24 17:44:11 +0200 |
commit | fea95c682d0028fdd25853bea58035794a0c964d (patch) | |
tree | 29758cb8768713e471c062d049f3f98fea2c4c57 /convert.py | |
parent | ef955fbd230c571cc1cda0d19baaeec347523175 (diff) |
fix convert.py for codellama, add llama 34B to the list of recognized models (#2768)
Diffstat (limited to 'convert.py')
-rwxr-xr-x | convert.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -191,7 +191,7 @@ class Params: def loadOriginalParamsJson(model: 'LazyModel', config_path: 'Path') -> 'Params': config = json.load(open(config_path)) - n_vocab = config["vocab_size"] + n_vocab = config["vocab_size"] if "vocab_size" in config else -1 n_embd = config["dim"] n_layer = config["n_layers"] n_mult = config["multiple_of"] |