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="YenJung/CPE_chatbot",
	filename="llama-reportQ4_K_M.gguf",
)
llm.create_chat_completion(
	messages = [
		{
			"role": "user",
			"content": "What is the capital of France?"
		}
	]
)

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

Check out the documentation for more information.

Citation

@misc {chiu_2024, author = { {Chiu} }, title = { CPE_chatbot (Revision 9a2db85) }, year = 2024, url = { https://huggingface.co/YenJung/CPE_chatbot }, doi = { 10.57967/hf/3398 }, publisher = { Hugging Face } }

Downloads last month
12
Safetensors
Model size
8B params
Tensor type
BF16
Β·
Inference Providers NEW
Input a message to start chatting with YenJung/CPE_chatbot.

Model tree for YenJung/CPE_chatbot

Quantizations
3 models

Spaces using YenJung/CPE_chatbot 9