gguf-py: Support 01.AI Yi models (#3943)
This commit is contained in:
		
							parent
							
								
									d9b33fe95b
								
							
						
					
					
						commit
						f28af0d81a
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -393,6 +393,7 @@ class TensorNameMap: | |||
|             "layers.{bid}.attention_norm",                         # llama-pth | ||||
|             "encoder.layer.{bid}.attention.output.LayerNorm",      # bert | ||||
|             "language_model.encoder.layers.{bid}.input_layernorm", # persimmon | ||||
|             "model.layers.{bid}.ln1",                              # yi | ||||
|         ), | ||||
| 
 | ||||
|         # Attention norm 2 | ||||
|  | @ -464,6 +465,7 @@ class TensorNameMap: | |||
|             "layers.{bid}.ffn_norm",                                        # llama-pth | ||||
|             "encoder.layer.{bid}.output.LayerNorm",                         # bert | ||||
|             "language_model.encoder.layers.{bid}.post_attention_layernorm", # persimmon | ||||
|             "model.layers.{bid}.ln2",                                       # yi | ||||
|         ), | ||||
| 
 | ||||
|         # Feed-forward up | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue