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="kholiavko/phi-4",
	filename="",
)
output = llm(
	"Once upon a time,",
	max_tokens=512,
	echo=True
)
print(output)

Uploaded model

  • Developed by: kholiavko
  • License: apache-2.0
  • Finetuned from model : unsloth/phi-4

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

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

4-bit

5-bit

8-bit

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

Model tree for kholiavko/phi-4

Base model

microsoft/phi-4
Finetuned
unsloth/phi-4
Quantized
(30)
this model