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="gaianet/phi-4-GGUF",
	filename="",
)
llm.create_chat_completion(
	messages = [
		{
			"role": "user",
			"content": "What is the capital of France?"
		}
	]
)

Phi-4-GGUF

Original Model

microsoft/phi-4

Run with Gaianet

Prompt template:

prompt template: phi-4-chat

Context size:

chat_ctx_size: 16000

Run with GaiaNet:

Quantized with llama.cpp b4450

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

2-bit

3-bit

4-bit

5-bit

6-bit

8-bit

16-bit

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

Model tree for gaianet/phi-4-GGUF

Base model

microsoft/phi-4
Quantized
(149)
this model