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="yamraj047/56both",
	filename="nepali-legal-q4_k_m.gguf",
)
output = llm(
	"Once upon a time,",
	max_tokens=512,
	echo=True
)
print(output)

Nepali Legal Assistant - GGUF

Q4_K_M quantized model for Nepali legal queries (4.07 GB).

Usage

Download and use with llama.cpp, Ollama, or LM Studio.

# llama.cpp
./llama-cli -m nepali-legal-q4_k_m.gguf -p "Your question"

# Ollama
ollama create nepali-legal -f Modelfile
ollama run nepali-legal

System prompt is embedded in the model.

Downloads last month
9
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

Spaces using yamraj047/56both 4