Instructions to use Softsasi/Store-1-Search with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Softsasi/Store-1-Search with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Softsasi/Store-1-Search") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("Softsasi/Store-1-Search") model = AutoModelForMultimodalLM.from_pretrained("Softsasi/Store-1-Search", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Softsasi/Store-1-Search with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Softsasi/Store-1-Search" # 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/Store-1-Search", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Softsasi/Store-1-Search
- SGLang
How to use Softsasi/Store-1-Search 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/Store-1-Search" \ --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/Store-1-Search", "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/Store-1-Search" \ --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/Store-1-Search", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Unsloth Desktop
- Docker Model Runner
How to use Softsasi/Store-1-Search with Docker Model Runner:
docker model run hf.co/Softsasi/Store-1-Search
Store-1-Search (0.8B Merged Multilingual Store Search & Reranker)
Store-1-Search (Softsasi/Store-1-Search) is a lightweight sub-1B (873.4M parameters) merged 16-bit model fine-tuned by Softsasi on unsloth/Qwen3.5-0.8B via LoRA (r=16, alpha=16, language layers only) and merged from checkpoint-40 (strictly lowest evaluation loss).
Designed specifically to scale Softsasi Store search (lib/data/services/openai_service.dart -> aiSearch()) cleanly across English, Bangla (বাংলা), and Romanized Banglish queries with strict, zero-thinking raw JSON output:
- Semantic App Search (
aiSearchJSON Array): Maps natural-language queries (including Banglish like"current kokhon jabe load shedding schedule dekhbo") against catalog summaries to a ranked raw JSON array of matching IDs (["load-shedding-schedular"], or[]). - Multilingual Query Expansion (
query_expand): Decomposes ambiguous user queries ("dark mode bangla news reading app") into structured Softsasi Store filters ({"categories": [...], "subcategories": [...], "keywords": [...]}) across all 6 Store categories (Apps,Games,Websites,Assets,Themes,Plugins). - Scalable Candidate Reranking (
rerank): Reranks shortlisted candidates into ordered JSON ID arrays as catalog sizes grow past 100+ listings.
Quantized GGUF (
Q4_K_M547 MB&Q8_0834 MB):Softsasi/Store-1-Search-GGUF(ollama run hf.co/Softsasi/Store-1-Search-GGUF:Q4_K_M)
Training Dataset (900train /90validation, Zero-PII):Softsasi/Store-1-Search-Dataset
Publisher Companion (24B ASO & Legal Policies):Softsasi/Store-1-Publisher
Training & Evaluation Summary
- Base Model:
unsloth/Qwen3.5-0.8B(Qwen3_5ForConditionalGeneration,248,320vocab,262,144max context) - Method:
LoRA(16-bit base,Train as: Language model,finetune_vision_layers: false,r=16,alpha=16,dropout=0) - Schedule & Compute:
2× Tesla T4DDP (batch_size=1,gradient_accumulation_steps=8,max_seq_length=2048,packing=true,train_on_completions=true,lr=2e-4,warmup_steps=6,max_steps=60, elapsed6m 11s,852,471tokens) - Exported Checkpoint:
checkpoint-40(lowest validation loss)
| Checkpoint / Step | Train Loss | Eval Loss (Studio Chart) | Status |
|---|---|---|---|
| Step 1 | 0.474711 |
— | Initial warmup |
Step 20 (checkpoint-20) |
0.239327 |
~0.1900 |
Saved |
Step 40 (checkpoint-40) |
0.078323 |
~0.1889 |
Exported (Best Eval) |
Step 60 (checkpoint-60) |
0.059280 |
~0.1940 |
Completed (avg=0.2024) |
Quickstart (OpenAI SDK / vLLM / transformers)
Serve via vllm serve Softsasi/Store-1-Search or llama-server, then call with enable_thinking: False:
from openai import OpenAI
client = OpenAI(base_url="http://localhost:8000/v1", api_key="EMPTY")
resp = client.chat.completions.create(
model="Softsasi/Store-1-Search",
messages=[
{
"role": "system",
"content": "You are Softsasi Store AI Search, an ultra-fast multilingual (English, Bangla, Banglish) intent analyzer and semantic app matcher for Softsasi Store. Output ONLY raw valid JSON (no markdown fences, no <think> tags, no prose).",
},
{
"role": "user",
"content": (
"Expand this Softsasi Store user search query into structured search filters across Apps, Games, Websites, Assets, Themes, Plugins.\n"
'Query: "dark mode bangla news reading app"\n'
"Return ONLY raw JSON with keys categories, subcategories, keywords."
),
},
],
temperature=0.1,
max_tokens=160,
extra_body={"chat_template_kwargs": {"enable_thinking": False}},
)
print(resp.choices[0].message.content)
# {"categories": ["Websites"], "subcategories": ["Blog", "News"], "keywords": ["news", "blog", "reading"]}
Or load directly in Python with Hugging Face transformers:
import torch
from transformers import AutoModelForImageTextToText, AutoTokenizer
model_id = "Softsasi/Store-1-Search"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForImageTextToText.from_pretrained(
model_id,
torch_dtype=torch.bfloat16,
device_map="auto",
)
messages = [
{
"role": "system",
"content": "You are Softsasi Store AI Search, an ultra-fast multilingual (English, Bangla, Banglish) intent analyzer and semantic app matcher for Softsasi Store. Output ONLY raw valid JSON (no markdown fences, no <think> tags, no prose).",
},
{
"role": "user",
"content": (
'Rerank Softsasi Store search candidates by semantic intent (EN/BN/Banglish support).\n'
'Query: "current kokhon jabe load shedding schedule dekhbo"\n'
'Candidates: [{"id": "softsasi-invoice-maker", "name": "Softsasi Invoice Maker", "category": "Apps", "tags": ["billing", "pdf"]}, {"id": "load-shedding-schedular", "name": "Load Shedding Schedular", "category": "Websites", "tags": ["electricity", "bangladesh", "schedule"]}, {"id": "muslim-pro-bangla", "name": "Muslim Pro Bangla", "category": "Apps", "tags": ["prayer", "quran"]}]\n'
"Return ONLY a JSON array of matching IDs ordered by relevance."
),
},
]
prompt = tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True,
enable_thinking=False,
)
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=96, do_sample=False)
print(tokenizer.decode(outputs[0][inputs.input_ids.shape[-1]:], skip_special_tokens=True))
# ["load-shedding-schedular"]
Intended Use & Limitations
- Built strictly on public, zero-PII Softsasi Store catalog listings and synthetic category examples across Apps, Games, Websites, Assets, Themes, and Plugins.
- Intended for low-latency semantic catalog retrieval, filter expansion, and candidate reranking with non-thinking JSON decoding (
enable_thinking=False).
Verifiable Proof: Base Model vs. Softsasi Fine-Tune (50-Case CPU Benchmark)
Evaluated deterministically (temperature=0.0, think=False) on held-out EN / Bangla / Banglish queries (Softsasi/-Softsasi-AI-Suite/evals):
| Metric | Stock Base (qwen3.5:0.8b) |
Softsasi (Softsasi/store-1-search) |
Gain |
|---|---|---|---|
| Valid JSON Schema Adherence | 0.0% (0/50) |
100.0% (50/50) |
+100.0 pp |
| EN / Bangla / Banglish Accuracy | 0.0% (0/50) |
86.0% (43/50) |
+86.0 pp |
Generation Speed (tok/s) |
1.2 tok/s |
4.4 tok/s |
3.7× faster |
| Avg End-to-End CPU Latency | 79.73 s |
15.54 s |
5.1× faster |
Loaded Peak RAM (/api/ps) |
520.2 MB |
626.8 MB (Q4_K_M) |
Fits <1 GB RAM |
- Technical Report (4-Page PDF):
Softsasi_Enterprise_AI_Suite_Technical_Report.pdf - Benchmark Harness (
430total cases):eval_runner.py
Ecosystem & Related Links
- Live Production App: Softsasi Store
- GitHub Repo: Softsasi/Store-1-Search · Unified Suite
- Ollama:
ollama run Softsasi/store-1-search - Kaggle: Model · Dataset (10.0) · Notebook
- Hugging Face Demo Space: Softsasi/Store-1-Search-Demo
Connect with Softsasi
Softsasi — Bangladesh's #1 Open-Weight LLM & Enterprise AI Development Company
- Website: softsasi.com · Directory
- GitHub: github.com/Softsasi · Unified Suite
- Ollama: ollama.com/Softsasi
- Kaggle: kaggle.com/shakilanowersamrat · Collection
- Social: LinkedIn · YouTube · X · Facebook
- Downloads last month
- 479
Model tree for Softsasi/Store-1-Search
Dataset used to train Softsasi/Store-1-Search
Space using Softsasi/Store-1-Search 1
Collection including Softsasi/Store-1-Search
Evaluation results
- Valid JSON Schema Adherence (%) on Store-1-Search-Dataset (Validation 50-Case)validation set self-reported100.000
- EN/BN/Banglish Task Accuracy (%) on Store-1-Search-Dataset (Validation 50-Case)validation set self-reported86.000
- Validation Loss (checkpoint-40) on Store-1-Search-Dataset (Validation 50-Case)validation set self-reported0.189