mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-06-24 09:21:18 +08:00
Fix Tokenizer save error. (#278)
This commit is contained in:
parent
841c8f7b30
commit
44f86092ea
@ -66,7 +66,7 @@ if __name__ == "__main__":
|
||||
|
||||
model.update_modules(tree_unflatten(fused_linears))
|
||||
weights = dict(tree_flatten(model.parameters()))
|
||||
utils.save_model(args.save_path, weights, tokenizer._tokenizer, config)
|
||||
utils.save_model(args.save_path, weights, tokenizer, config)
|
||||
|
||||
if args.upload_name is not None:
|
||||
hf_path = args.hf_path
|
||||
|
Loading…
Reference in New Issue
Block a user