Spaces:
Sleeping
Sleeping
metadata
title: Phi-4 Mini Instruct Demo
emoji: π§
colorFrom: blue
colorTo: indigo
sdk: gradio
sdk_version: 5.29.0
app_file: app.py
pinned: false
Phi-4 Mini Instruct β Hugging Face Space
This Space is a lightweight Gradio demo using the microsoft/Phi-4-mini-instruct
model from Hugging Face for compact, instruction-tuned language generation.
π Model
- Model:
microsoft/Phi-4-mini-instruct
- Type: Small, instruction-tuned LLM
- Use Case: Text generation for assistant-style tasks with low resource usage
π Features
- Lightweight and fast, great for CPU-only Spaces
- Simple Gradio interface for trying out prompts
- Hugging Face
transformers
integration
π¦ Requirements
Installed via requirements.txt
:
gradio>=5.29.0
transformers>=4.51.3
torch
accelerate