mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-11-01 11:38:08 +08:00
format
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
from transformers import AutoModelForCausalLM
|
||||
import numpy as np
|
||||
|
||||
|
||||
def replace_key(key: str) -> str:
|
||||
if "wte.weight" in key:
|
||||
key = "wte.weight"
|
||||
|
||||
Reference in New Issue
Block a user