Instructions to use kloodia/Phi-4-mini-instruct-LiteRT-INT4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT-LM
How to use kloodia/Phi-4-mini-instruct-LiteRT-INT4 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=kloodia/Phi-4-mini-instruct-LiteRT-INT4 \ --prompt="Write me a poem"
- LiteRT
How to use kloodia/Phi-4-mini-instruct-LiteRT-INT4 with LiteRT:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Phi-4-mini-instruct โ LiteRT-LM INT4
Local conversion of microsoft/Phi-4-mini-instruct to .litertlm (blockwise INT4) for on-device use with LiteRT-LM / expo-ai-kit.
| File | Quantization | Size | Context |
|---|---|---|---|
phi4-mini-int4.litertlm |
int4 (BOCTAV4 / block32) | ~2.6 GB | 4096 |
start_tokenremoved (Phi instruct has no BOS; required for correct chat)- Embeddings externalized for iOS section limits
- License: MIT (inherited from base model)
sha256(phi4-mini-int4.litertlm) = e7729c2213877109c56af345a5d1deb7a366c581e1515414985b8886fb6ac201
- Downloads last month
- 26
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support
Model tree for kloodia/Phi-4-mini-instruct-LiteRT-INT4
Base model
microsoft/Phi-4-mini-instruct