Instructions to use Softsasi/Commerce-1-Order-AI with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Softsasi/Commerce-1-Order-AI with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/Qwen3-8B-unsloth-bnb-4bit") model = PeftModel.from_pretrained(base_model, "Softsasi/Commerce-1-Order-AI") - Transformers
How to use Softsasi/Commerce-1-Order-AI with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Softsasi/Commerce-1-Order-AI") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Softsasi/Commerce-1-Order-AI", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Softsasi/Commerce-1-Order-AI with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Softsasi/Commerce-1-Order-AI" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Softsasi/Commerce-1-Order-AI", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Softsasi/Commerce-1-Order-AI
- SGLang
How to use Softsasi/Commerce-1-Order-AI with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "Softsasi/Commerce-1-Order-AI" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Softsasi/Commerce-1-Order-AI", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "Softsasi/Commerce-1-Order-AI" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Softsasi/Commerce-1-Order-AI", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Unsloth Desktop
- Docker Model Runner
How to use Softsasi/Commerce-1-Order-AI with Docker Model Runner:
docker model run hf.co/Softsasi/Commerce-1-Order-AI
Commerce-1-Order-AI (8B LoRA Adapter)
Commerce-1-Order-AI (Softsasi/Commerce-1-Order-AI) is an enterprise-grade 8B-parameter autonomous ordering, customer support, and reservation AI agent fine-tuned by Softsasi on unsloth/Qwen3-8B-unsloth-bnb-4bit.
Built for restaurant delivery chains (grounded in 101 real menu dishes and policies) and multi-vendor e-commerce storefronts, it emits deterministic <tool_call> JSON actions, computes exact BDT subtotals/coupons/delivery charges, enforces kitchen & stock guardrails, and operates seamlessly across English (en), Bangla (bn), and Banglish.
Live ZeroGPU Demo:
Softsasi/Commerce-1-Order-AI-Demo
GGUF (Q4_K_M, 5.03 GB) for Ollama / llama.cpp:Softsasi/Commerce-1-Order-AI-GGUF
Training Dataset (1,900Conv):Softsasi/Commerce-1-Order-AI-Dataset
Key Capabilities
- Autonomous Multi-Turn Ordering & Cart Management β Resolves dishes/SKUs, emits
<tool_call>JSON foradd_to_cart,update_cart,remove_from_cart,apply_coupon, andplace_order, verifies exact itemized totals + delivery fees, and confirms address, phone, and payment (COD,bKash,Nagad,Rocket,Upay,Visa/Mastercard,Wallet). - Trilingual Support (
English/Bangla/Banglish) β Understands native Bengali script and Romanized Banglish ordering chats while keeping structured JSON schema strict. - Order Tracking & 5-Minute Cancellation Guardrails β Supports
track_ordervia Order ID or phone number, enforces pre-kitchen cancellation windows (cancel_orderβ€ 5 mins), and escalates post-preparation requests or duplicate payment debits viaescalate_to_human. - Stock & Operating-Hours Safety β Blocks out-of-stock SKUs (
search_products) with closest alternatives, enforces11:00 AMβ11:00 PMdining hours (book_table), and flags severe food allergy queries for immediate chef/human review. - Structured NLU Webhook Router β Extracts
intent,language,items,delivery_info,payment_method, andtool_suggestionas strict JSON.
Training Telemetry & Performance Summary
| Metric / Parameter | Observed Value |
|---|---|
| Base Model | unsloth/Qwen3-8B-unsloth-bnb-4bit (8.2B / 8.4B Qwen3, 36 layers, 4096 hidden) |
| Fine-Tuning Method | QLoRA (4-bit NF4, r=16, lora_alpha=32, lora_dropout=0.05, all 7 linear layers) |
| Training Run Dataset | 1,600 train + 80 eval conversations (3,386 validated <tool_call> JSONs, avg 7.0 turns/conv) |
Public Hub Dataset (v1.1) |
Softsasi/Commerce-1-Order-AI-Dataset (1,800 train + 100 eval, 3,826 validated tool calls + update_cart/remove_from_cart) |
| Schedule / Context | 45 steps, Context 1,536, Effective Batch 8 (1 Γ 8), Cosine LR 2e-4 (6 warmup) |
| Hardware | NVIDIA Tesla T4 (15 GiB VRAM, peak 11.43 GiB) via Unsloth |
Observed Loss Progression
- Training Loss:
1.9767(Step 1) β1.6048(Step 2) β0.0538(Step 33) Β·Grad Norm: 2.355 β 0.203 - Validation Loss (
80held-out conversations):0.42558(Step 15) β0.1258(Step 30)
Verified Live ZeroGPU Output (Structured NLU Order Router)
Input (Banglish):
2ta Cheese Volcano Pizza pathan Court Para te, COD, 01711223344.
Output:
{"intent": "place_order", "language": "banglish", "items": [{"product_id": 13, "slug": "cheese-volcano-pizza", "name": "Cheese Volcano Pizza", "quantity": 2}], "delivery_info": {"area": "Court Para", "phone": "01711223344"}, "payment_method": "cash_on_delivery", "order_ref": null, "requires_confirmation": true, "requires_human": false, "tool_suggestion": "add_to_cart"}
Quick Start (Python / Transformers + PEFT)
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
import torch
base_id = "Qwen/Qwen3-8B"
adapter_id = "Softsasi/Commerce-1-Order-AI"
tokenizer = AutoTokenizer.from_pretrained(adapter_id)
base_model = AutoModelForCausalLM.from_pretrained(base_id, dtype=torch.bfloat16, device_map="auto")
model = PeftModel.from_pretrained(base_model, adapter_id)
Softsasi Enterprise Model Suite
| Tier | Model Name | Size | Focus | Repositories |
|---|---|---|---|---|
| Verify | Neural-1-Verify | 1.5B | Fact-checking & claim verification | Softsasi/Neural-1-Verify |
| Insight | Insight-1-ERP-Analytics | 4B | ERP BI, Benford forensics & Text-to-SQL | LoRA Β· GGUF Β· Demo |
| Commerce | Commerce-1-Order-AI | 8B | Autonomous restaurant & e-commerce ordering | LoRA Β· GGUF Β· Demo |
- Developed by: Softsasi Β· License: Apache-2.0
- Downloads last month
- -