Lordgpt / Generate
Zerx966's picture
Create Generate
e07563d verified
raw
history blame
296 Bytes
from llama_cpp import Llama
llm = Llama.from_pretrained(
repo_id="QuantFactory/Qwen2.5-7B-Instruct-Uncensored-GGUF",
filename="Qwen2.5-7B-Instruct-Uncensored.Q2_K.gguf",
)
llm.create_chat_completion(
messages = [
{
"role": "user",
"content": "What is the capital of France?"
}
]
)