Fortytwo-Network/Strandset-Rust-v1
Viewer • Updated • 191k • 357 • 33
How to use sylvester-francis/rust-mentor-1b-mobile-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
A 1B-parameter Gemma3-based model fine-tuned for Rust programming education, packaged as .litertlm for Google AI Edge Gallery on Android.
Full GPU delegation on Pixel 8 Pro (Tensor G3 / Mali-G715).
For the LoRA adapter, see rust-mentor-1b-mobile.
<eos> (1), <end_of_turn> (106).litertlm file from this repoadb push *.litertlm /sdcard/Download/val options = LlmInferenceOptions.builder()
.setModelPath("/path/to/rust_mentor_1b_mobile.litertlm")
.setMaxTokens(512)
.build()
val llm = LlmInference.createFromOptions(context, options)
val response = llm.generateResponse("Explain Rust ownership to a Go developer")
| Parameter | Value |
|---|---|
| Base Model | google/gemma-3-1b-it |
| Method | QLoRA via Unsloth |
| LoRA Rank | 16 |
| Epochs | 3 |
| Effective Batch Size | 8 |
| Learning Rate | 2e-4 (cosine) |
| Parameter | Value |
|---|---|
| Converter | litert-torch (Gemma3 built-in) |
| Quantization | Dynamic INT8 |
| KV Cache | 2048 |
| Format | .litertlm |
| GPU Delegation | Full on Tensor G3 |
Gemma license — free for commercial use. See Gemma Terms.