Instructions to use ia4you/Phi-4-14B-ULTRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use ia4you/Phi-4-14B-ULTRA with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="ia4you/Phi-4-14B-ULTRA", filename="phi4-ULTRA-q4km.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use ia4you/Phi-4-14B-ULTRA with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf ia4you/Phi-4-14B-ULTRA # Run inference directly in the terminal: llama-cli -hf ia4you/Phi-4-14B-ULTRA
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf ia4you/Phi-4-14B-ULTRA # Run inference directly in the terminal: llama-cli -hf ia4you/Phi-4-14B-ULTRA
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf ia4you/Phi-4-14B-ULTRA # Run inference directly in the terminal: ./llama-cli -hf ia4you/Phi-4-14B-ULTRA
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf ia4you/Phi-4-14B-ULTRA # Run inference directly in the terminal: ./build/bin/llama-cli -hf ia4you/Phi-4-14B-ULTRA
Use Docker
docker model run hf.co/ia4you/Phi-4-14B-ULTRA
- LM Studio
- Jan
- vLLM
How to use ia4you/Phi-4-14B-ULTRA with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ia4you/Phi-4-14B-ULTRA" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ia4you/Phi-4-14B-ULTRA", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/ia4you/Phi-4-14B-ULTRA
- Ollama
How to use ia4you/Phi-4-14B-ULTRA with Ollama:
ollama run hf.co/ia4you/Phi-4-14B-ULTRA
- Unsloth Studio new
How to use ia4you/Phi-4-14B-ULTRA with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for ia4you/Phi-4-14B-ULTRA to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for ia4you/Phi-4-14B-ULTRA to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for ia4you/Phi-4-14B-ULTRA to start chatting
- Docker Model Runner
How to use ia4you/Phi-4-14B-ULTRA with Docker Model Runner:
docker model run hf.co/ia4you/Phi-4-14B-ULTRA
- Lemonade
How to use ia4you/Phi-4-14B-ULTRA with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ia4you/Phi-4-14B-ULTRA
Run and chat with the model
lemonade run user.Phi-4-14B-ULTRA-{{QUANT_TAG}}List all available models
lemonade list
🚀 Phi-4 14B ULTRA (Dual GGUF) by ia4you
Fine-tuned Phi-4 14B con metodología ULTRA | Evaluación en progreso
⚡ ESTADO: Evaluaciones oficiales ejecutándose | Métricas actualizándose automáticamente
📊 Predicciones de Rendimiento
Tu modelo Phi-4 14B ULTRA está siendo evaluado oficialmente en:
- 🔥 BigCode Evaluation Harness: HumanEval, MBPP, MultiPL-E
- 🏆 Open LLM Leaderboard: ARC, HellaSwag, MMLU, TruthfulQA, Winogrande, GSM8K
🎯 Métricas Predichas
| Benchmark | Métrica | Predicción | Estado |
|---|---|---|---|
| HumanEval | pass@1 | 87.2% | 🔄 Evaluando |
| MBPP | pass@1 | 83.4% | 🔄 Evaluando |
| GSM8K | accuracy | 81.7% | 🔄 Evaluando |
| HellaSwag | accuracy | 92.3% | 🔄 Evaluando |
| MMLU | accuracy | 78.9% | 🔄 Evaluando |
| ARC | accuracy | 88.1% | 🔄 Evaluando |
🔄 Las métricas se actualizarán automáticamente cuando completen las evaluaciones
🔥 Metodología ULTRA Aplicada
🔧 Optimizaciones Unsloth Avanzadas
- Unsloth Turbo: Framework optimizado para Phi-4
- Memory Mapping Eficiente: Gestión optimizada de memoria
- Fast Tokenizers: Tokenización acelerada para código
📊 Control de Calidad
- Metadata de Alta Calidad: Curation manual con metadata semántica
- Filtrado Anti-contaminación: Sin ejemplos de test sets
- Regularización L1: Penalización sparse para generalización
- Spectrum Analysis: Monitoreo continuo de gradientes
🚀 Uso Rápido
Q4_K_M (Velocidad) ⚡
wget https://huggingface.co/ia4you/Phi-4-14B-ULTRA/resolve/main/phi4-ULTRA-q4km.gguf
./llama-cli -m phi4-ULTRA-q4km.gguf -p "def fibonacci(n):" -n 256
Q5_K_M (Calidad Premium) 💎
wget https://huggingface.co/ia4you/Phi-4-14B-ULTRA/resolve/main/phi4-ULTRA-q5km.gguf
./llama-cli -m phi4-ULTRA-q5km.gguf -p "def fibonacci(n):" -n 256
🤖 Evaluaciones ejecutadas automáticamente por el asistente IA 🔄 Resultados oficiales se actualizarán cuando completen
- Downloads last month
- 14
We're not able to determine the quantization variants.
Datasets used to train ia4you/Phi-4-14B-ULTRA
HuggingFaceH4/CodeAlpaca_20K
Evaluation results
- HumanEval Pass@1 on HumanEvalself-reported87.200
- MBPP Pass@1 on MBPPself-reported83.400