Fortytwo-Network/Strandset-Rust-v1
Viewer • Updated • 191k • 236 • 33
How to use sylvester-francis/rust-mentor-1b-mobile with Unsloth Studio:
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for sylvester-francis/rust-mentor-1b-mobile to start chatting
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for sylvester-francis/rust-mentor-1b-mobile to start chatting
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for sylvester-francis/rust-mentor-1b-mobile to start chatting
pip install unsloth
from unsloth import FastModel
model, tokenizer = FastModel.from_pretrained(
model_name="sylvester-francis/rust-mentor-1b-mobile",
max_seq_length=2048,
)A 1B-parameter Gemma3-based model fine-tuned for Rust programming education and code review, optimized for on-device mobile inference on Pixel 8 Pro.
This repository hosts the LoRA adapter weights. For the LiteRT (.litertlm) version for Google AI Edge Gallery, see rust-mentor-1b-mobile-LiteRT.
"In Go, I just pass values or pointers. What's this ownership thing in Rust?"
"Review this Rust code and explain what the borrow checker is doing"
"How do I handle errors in Rust? I'm used to Go's if err != nil pattern."
"How does async work in Rust? In Go I just use goroutines."
| Parameter | Value |
|---|---|
| Base Model | google/gemma-3-1b-it |
| Method | QLoRA via Unsloth |
| LoRA Rank | 16 |
| Epochs | 3 |
| Batch Size | 2 x 4 (effective 8) |
| Learning Rate | 2e-4 (cosine) |
| Max Sequence Length | 2048 |
Gemma license — free for commercial use. See Gemma Terms.