mirror of
				https://github.com/ml-explore/mlx-examples.git
				synced 2025-10-31 19:18:09 +08:00 
			
		
		
		
	Merge pull request #107 from ml-explore/hf_mixtral
Use official HF for mixtral
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
	 Awni Hannun
					Awni Hannun