How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="gaianet/Phi-4-mini-instruct-GGUF", trust_remote_code=True)
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("gaianet/Phi-4-mini-instruct-GGUF", trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained("gaianet/Phi-4-mini-instruct-GGUF", trust_remote_code=True, device_map="auto")
Quick Links

Phi-4-mini-instruct-GGUF

Original Model

microsoft/Phi-4-mini-instruct

Run with Gaianet

Prompt template

prompt template: phi-3-chat

Context size

chat_ctx_size: 128000

Run with GaiaNet

Downloads last month
1,742
GGUF
Model size
4B 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-mini-instruct-GGUF

Quantized
(195)
this model

Space using gaianet/Phi-4-mini-instruct-GGUF 1