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="Manel/Llama-2-7b-chat-quantized-Q4_0",
	filename="Llama-2-7b-chat-hf.Q4_0.gguf",
)
output = llm(
	"Once upon a time,",
	max_tokens=512,
	echo=True
)
print(output)

This is a converted model to GGUF from meta-llama/Llama-2-7b-chat-hf quantized to Q4_0 using llama.cpp library.

Downloads last month
3
GGUF
Model size
7B params
Architecture
llama
Hardware compatibility
Log In to add your hardware

4-bit

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