How to use from the
Use from the
llama-cpp-python library
# !pip install llama-cpp-python

from llama_cpp import Llama

llm = Llama.from_pretrained(
	repo_id="matteogeniaccio/GLM-4-9B-0414-GGUF-fixed",
	filename="",
)
llm.create_chat_completion(
	messages = "No input example has been defined for this model task."
)

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

This fixes a template bug in llama.cpp and ollama that is causing a performance degradation in all GLM models.

The problem is caused by a wrong template detection in both projects.

https://github.com/ollama/ollama/issues/10408 https://github.com/ggml-org/llama.cpp/pull/13099

Downloads last month
10
GGUF
Model size
9B params
Architecture
glm4
Hardware compatibility
Log In to add your hardware

4-bit

5-bit

6-bit

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support