Update convert.py

This commit is contained in:
Anchen
2023-12-30 19:36:18 +11:00
committed by GitHub
parent c687a4e02e
commit cbf5237086

View File

@@ -152,4 +152,4 @@ if __name__ == "__main__":
tokenizer.save_pretrained(mlx_path) tokenizer.save_pretrained(mlx_path)
with open(mlx_path / "config.json", "w") as f: with open(mlx_path / "config.json", "w") as f:
config["model_type"] = "deepseek_coder" config["model_type"] = "deepseek_coder"
json.dump(config, f, indent=4)% json.dump(config, f, indent=4)