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="simmo/legal_summarizer",
	filename="legal_summarizer-unsloth.Q4_K_M.gguf",
)
output = llm(
	"Once upon a time,",
	max_tokens=512,
	echo=True
)
print(output)

Uploaded model

  • Developed by: simmo
  • License: apache-2.0
  • Finetuned from model : unsloth/mistral-7b

This mistral model was trained 2x faster with Unsloth and Huggingface's TRL library.

Downloads last month
434
Safetensors
Model size
4B params
Tensor type
F32
F16
U8
Inference Providers NEW

Model tree for simmo/legal_summarizer

Quantized
(7)
this model