Instructions to use litert-community/moonshine-tiny with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT-LM
How to use litert-community/moonshine-tiny 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/moonshine-tiny \ --prompt="Write me a poem"
- LiteRT
How to use litert-community/moonshine-tiny 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
Card: declare base_model_relation: quantized
Thanks for merging my card PRs #1 and #2 here.
This adds one line to the card's metadata header, base_model_relation: quantized, so the model tree on https://huggingface.co/moonshine-ai/moonshine-tiny lists this repo under Quantizations instead of Finetunes. I added it so that anyone browsing the base model for a LiteRT build, a developer or a coding agent, finds it there. The int8 model here makes quantized the closest relation value. Cards such as https://huggingface.co/litert-community/Qwen3-4B and https://huggingface.co/litert-community/Llama-3.2-1B carry the same line, and on Sep 4 I added it to the 123 litert-community repos I created. It touches the metadata header only, so it does not overlap my open PR with the Galaxy S26 rows, https://huggingface.co/litert-community/moonshine-tiny/discussions/3; the two are independent.
One note on this repo's history: that Sep 4 pass also pushed the line here directly, because it selected repos with any commit of mine instead of repos I created. I reverted it 3 h 41 min later, so both Sep 4 commits here are mine and the card is back at its previous revision. Sorry for the noise. This is the same line sent as a PR, as my earlier changes here were; whether it goes in is entirely your call.
Thanks for catching up this.