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/build.gradle.kts from mlboydaisuke/Confucius4-R2T2-LiteRT: direct link, hf CLI and curl.
- Browser
- Download file 494 Bytes
-
https://huggingface.co/mlboydaisuke/Confucius4-R2T2-LiteRT/resolve/main/android/build.gradle.kts
- Command line
-
hf download hf://mlboydaisuke/Confucius4-R2T2-LiteRT/android/build.gradle.kts
-
curl -L -o build.gradle.kts https://huggingface.co/mlboydaisuke/Confucius4-R2T2-LiteRT/resolve/main/android/build.gradle.kts
494 Bytes
| // AGP 9 has Kotlin built in; do not apply org.jetbrains.kotlin.android. | |
| // litertlm-android 0.17.1 ships Kotlin 2.4 metadata. The Kotlin Gradle plugin that AGP 9.3.1 brings (2.2.10) reads | |
| // metadata up to 2.3 only, so the build classpath gets KGP 2.4.0, which the built-in Kotlin then uses. | |
| buildscript { | |
| repositories { mavenCentral() } | |
| dependencies { classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:2.4.0") } | |
| } | |
| plugins { id("com.android.application") version "9.3.1" apply false } | |