mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-11-04 09:32:00 +00:00 
			
		
		
		
	llama-model : add Glm4Model implementation for GLM-4-0414 (#12867)
* GLM-4-0414 * use original one * Using with tensor map * fix bug * change order * change order * format with flask8
This commit is contained in:
		@@ -1572,6 +1572,7 @@ void llama_vocab::impl::load(llama_model_loader & ml, const LLM_KV & kv) {
 | 
			
		||||
                pre_type = LLAMA_VOCAB_PRE_TYPE_PORO;
 | 
			
		||||
                clean_spaces = false;
 | 
			
		||||
            } else if (
 | 
			
		||||
                tokenizer_pre == "glm4" ||
 | 
			
		||||
                tokenizer_pre == "chatglm-bpe") {
 | 
			
		||||
                pre_type = LLAMA_VOCAB_PRE_TYPE_CHATGLM4;
 | 
			
		||||
                special_bos_id = LLAMA_TOKEN_NULL;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user