Views
No views yet
Q4_K_M format for efficient inference while maintaining high-quality responses.llama-cpp-python, follow these steps:llama-cpp-python installed:pip install llama-cpp-python1from llama_cpp import Llama
2
3llm = Llama.from_pretrained(
4 repo_id="InduwaraR/qwen-ai-research-qa-q4_k_m.gguf",
5 filename="qwen-ai-research-qa-q4_k_m.gguf",
6)1response = llm.create_chat_completion(
2 messages=[
3 {"role": "user", "content": "What are the latest advancements in AI research?"}
4 ]
5)
6print(response)llama-cpp-python