You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I could not get the file llora/convert.py to work.
There is a typo with n_heads. it should be: if "n_kv_heads" not in config: config["n_kv_heads"] = config["n_heads"]; if "head_dim" not in config: config["head_dim"] = config["dim"] // config["n_heads"];
Instead of config["n_kv_heads"] = n_heads; etc.
But even after fixing this, the resulting file did not work. The convert file in /llama/ did work.
The text was updated successfully, but these errors were encountered:
I could not get the file llora/convert.py to work.
There is a typo with n_heads. it should be:
if "n_kv_heads" not in config: config["n_kv_heads"] = config["n_heads"]; if "head_dim" not in config: config["head_dim"] = config["dim"] // config["n_heads"];
Instead of
config["n_kv_heads"] = n_heads;
etc.But even after fixing this, the resulting file did not work. The convert file in /llama/ did work.
The text was updated successfully, but these errors were encountered: