<!-- PCU: examples-phi-hf-import | contract: contracts/apr-page-examples-phi-hf-import-v1.yaml -->
<!-- Example: cargo run -p aprender-core --example phi_hf_import -->
<!-- Status: enforced -->
# Phi HuggingFace Import - Model Import Example
This example demonstrates importing Microsoft Phi models from HuggingFace format.
**Run command:**
```bash
cargo run --example phi_hf_import --release
```
**Topics covered:**
- HuggingFace SafeTensors format parsing
- Phi model architecture (Phi-2, Phi-3)
- Weight tensor mapping and conversion
- Model configuration extraction
**See also:**
- [Qwen Inference](./qwen-inference.md)
- [Examples Reference](./examples-reference.md)