Instructions to use litert-community/Phi-4-mini-instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT-LM
How to use litert-community/Phi-4-mini-instruct with LiteRT-LM:
# LiteRT-LM runs on various platforms (Android, iOS, Windows, Linux, macOS, IoT, Web/WASM) # and supports many APIs (C++, Python, Kotlin, Swift, JavaScript, Flutter). # For platform-specific integration guides, please refer to the official developer website: # https://ai.google.dev/edge/litert-lm # To try LiteRT-LM, the easiest way is to use our CLI tool. # 1. Install the LiteRT-LM CLI tool: pip install -U litert-lm # 2. Download and run this model locally: # See: https://ai.google.dev/edge/litert-lm/cli # A single .litertlm file in the repo is picked automatically; otherwise the CLI asks which one to run # (or pass its name right after the repo id). litert-lm run \ --from-huggingface-repo=litert-community/Phi-4-mini-instruct \ --prompt="Write me a poem"
- Notebooks
- Google Colab
- Kaggle
Download Phi-4-mini-instruct_multi-prefill-seq_q8_ekv4096.task from litert-community/Phi-4-mini-instruct: direct link, hf CLI and curl.
- Browser
- Download file 3.91 GB
-
https://huggingface.co/litert-community/Phi-4-mini-instruct/resolve/main/Phi-4-mini-instruct_multi-prefill-seq_q8_ekv4096.task
- Command line
-
hf download hf://litert-community/Phi-4-mini-instruct/Phi-4-mini-instruct_multi-prefill-seq_q8_ekv4096.task
-
curl -L -o Phi-4-mini-instruct_multi-prefill-seq_q8_ekv4096.task https://huggingface.co/litert-community/Phi-4-mini-instruct/resolve/main/Phi-4-mini-instruct_multi-prefill-seq_q8_ekv4096.task
3.91 GB
- Xet hash:
- 5c9f3a3cff5a145c0055ddc3e6c4afd0d8c77078bdb1a739a6b68b512aa5014b
- Size of remote file:
- 3.91 GB
- SHA256:
- 88665a75f6a0b5083ce65255139212ff6da705d5f682edbbd109eae784b2173c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.