Agent commerce adapter for Qwen3.5 2B
adapter for commercial requests
2 min read
This LoRA adapter (a small add-on layer over the base model) fine-tunes Qwen3.5 2B to handle shopping and payment requests for an on-device local agent. It turns a short user prompt into a structured JSON with the request type (search, a completed payment, or other), search query, maximum price, currency, merchant, and amount. Created by author nicolasarnedo to run in the Nest iPhone agent via Tether's QVAC framework and the WDK wallet, the model itself does not buy or pay for anything. It is a great fit for developers of local mobile assistants who need a compact shopping command parser.
Key features
- Turns short shopping and payment text prompts into structured JSON
- Designed to run on a smartphone via the QVAC SDK using the QWEN3_5_2B_MULTIMODAL_Q8_0 model (maintains quality on Q4_K_M as well)
- Trained with LoRA rank 16 and alpha 32 parameters on attention and FFN layers
- Chat prompt parsing accuracy increased to 46/48 compared to 37/48 for the base 2B model
What you can do
- Integrate the GGUF adapter into a local mobile app based on QVAC to parse user purchasing commands
- Extract structured parameters like merchant, amount, currency, and price limit from short English prompts for further code validation
Example
// Подключение GGUF-адаптера при загрузке модели в QVAC SDK
modelConfig.lora = "agentic-commerce-adapter.gguf";Read more
Details• Benchmarks: 46/48 correctly parsed chat prompts (versus 37/48 for base), 20/24 in blind tests for merchant selection without erroneous purchases
• Training: 2 epochs, learning rate 3e-5 (min 1e-6), 320-token context length, agentic-commerce-adapter.gguf file
• Limitations: trained only on short English prompts, requires prior cleaning of long text, not for production (Sepolia testnet demo)
• License: Apache-2.0










Comments