Automatic Speech Recognition
LiteRT-LM
LiteRT
Chinese
English
Japanese
litertlm
on-device
edge
asr
speech-recognition
streaming
audio
qwen3-asr
Instructions to use mlboydaisuke/Confucius4-R2T2-LiteRT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT-LM
How to use mlboydaisuke/Confucius4-R2T2-LiteRT 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=mlboydaisuke/Confucius4-R2T2-LiteRT \ --prompt="Write me a poem"
- LiteRT
How to use mlboydaisuke/Confucius4-R2T2-LiteRT 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
android/: the Android sample app (model picker, hold to talk, three clips, device check); card: the Sample app line with the Galaxy S26 numbers
5d22c56 verified Download android/gradle.properties from mlboydaisuke/Confucius4-R2T2-LiteRT: direct link, hf CLI and curl.
- Browser
- Download file 386 Bytes
-
https://huggingface.co/mlboydaisuke/Confucius4-R2T2-LiteRT/resolve/main/android/gradle.properties
- Command line
-
hf download hf://mlboydaisuke/Confucius4-R2T2-LiteRT/android/gradle.properties
-
curl -L -o gradle.properties https://huggingface.co/mlboydaisuke/Confucius4-R2T2-LiteRT/resolve/main/android/gradle.properties
386 Bytes
| org.gradle.jvmargs=-Xmx4g -Dfile.encoding=UTF-8 | |
| android.useAndroidX=true | |
| kotlin.code.style=official | |
| # In-process Kotlin compilation: the daemon writes under ~/Library, which sandboxed builds cannot. | |
| kotlin.compiler.execution.strategy=in-process | |
| # The LiteRT-LM runtime the three model cards' Kotlin examples were run with; shown on screen as the runtime version. | |
| litertlmVersion=0.17.1 | |