Instructions to use litert-community/TinySwallow-1.5B-Instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT-LM
How to use litert-community/TinySwallow-1.5B-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/TinySwallow-1.5B-Instruct \ --prompt="Write me a poem"
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README (#2)
- Update README.md (c35cd912b19e04768f65c70d68d3c7d0eb9cc5d7) Co-authored-by: Harsha Veena <hvt4@users.noreply.huggingface.co>cf67d4d
-
Add Model File (#1)
- Add Model file (d84e3fe02b5ee4f3562a3a90c664294aa3c717ba) Co-authored-by: Harsha Veena <hvt4@users.noreply.huggingface.co>95b4213 -
initial commit
Verified signaturefd370a5