Instructions to use litert-community/LFM2-2.6B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT-LM
How to use litert-community/LFM2-2.6B 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/LFM2-2.6B \ --prompt="Write me a poem"
- LiteRT
How to use litert-community/LFM2-2.6B 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
Commit History
6 days ago
-
Card: add a note on litert-lm's 10-minute send_message timeout
Verified signature50a87e3
12 days ago
-
Add a known runtime issue: a preface with tools and no messages fails to render the chat template
Verified signatureAdds the lines under Known runtime issues; nothing else in the card changes.ed8dafb
17 days ago
-
Say that the CLI's Init counts engine creation twice (LiteRT-LM #4057)
Verified signatureThe CLI's printed Init includes both Init Total and the phases inside it. One sentence, no number changed.507b95f
24 days ago
-
README: the opening workload-time table, init and peak columns in the phone tables, shorter prose; the same measurements
Verified signature8e6c817 -
litertlm_manifest.json: measured rows and bundle identity
Verified signature4fc699d -
LFM2-2.6B: int8 and int4 .litertlm bundles and the measured model card
Verified signature8920b7b -
initial commit
Verified signature3e84b79