convert-llama-7b-pth-to-gguf.py : remove extra kv

This commit is contained in:
klosax 2023-08-19 00:32:27 +02:00 committed by GitHub
parent c0e4ca630b
commit 593b04fdcd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -96,7 +96,6 @@ if "_name_or_path" in hparams:
else: else:
hf_repo = "" hf_repo = ""
gguf_writer.add_architecture()
gguf_writer.add_name(last_dir) gguf_writer.add_name(last_dir)
gguf_writer.add_source_hf_repo(hf_repo) gguf_writer.add_source_hf_repo(hf_repo)
gguf_writer.add_tensor_data_layout("Meta AI original pth") gguf_writer.add_tensor_data_layout("Meta AI original pth")