HelloWorld / README.md
Pouyae's picture
feat: Use Phi-4-mini-instruct
513c353
|
raw
history blame
870 Bytes
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