Text Generation
PEFT
Safetensors
Transformers
English
Bengali
text-generation-inference
unsloth
mistral
trl
qlora
fsdp2
aso
seo
copywriting
legal-compliance
privacy-policy
terms-of-service
softsasi
softsasi-store
bangla
banglish
bangladesh
open-weight
conversational
Eval Results (legacy)
Instructions to use Softsasi/Store-1-Publisher with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Softsasi/Store-1-Publisher with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/Mistral-Small-24B-Instruct-2501-bnb-4bit") model = PeftModel.from_pretrained(base_model, "Softsasi/Store-1-Publisher") - Transformers
How to use Softsasi/Store-1-Publisher with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Softsasi/Store-1-Publisher") 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/Store-1-Publisher", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Softsasi/Store-1-Publisher with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Softsasi/Store-1-Publisher" # 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-Publisher", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Softsasi/Store-1-Publisher
- SGLang
How to use Softsasi/Store-1-Publisher 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-Publisher" \ --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-Publisher", "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-Publisher" \ --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-Publisher", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Unsloth Desktop
- Docker Model Runner
How to use Softsasi/Store-1-Publisher with Docker Model Runner:
docker model run hf.co/Softsasi/Store-1-Publisher
File size: 9,375 Bytes
91ef2c4 b6f47ad 91ef2c4 b6f47ad e19262c b6f47ad 91ef2c4 b6f47ad 91ef2c4 b6f47ad 91ef2c4 b6f47ad 91ef2c4 b6f47ad e19262c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 | ---
base_model:
- unsloth/Mistral-Small-24B-Instruct-2501-bnb-4bit
datasets:
- Softsasi/Store-1-Publisher-Dataset
library_name: peft
pipeline_tag: text-generation
license: apache-2.0
language:
- en
- bn
tags:
- text-generation-inference
- transformers
- unsloth
- mistral
- trl
- qlora
- fsdp2
- aso
- seo
- copywriting
- legal-compliance
- privacy-policy
- terms-of-service
- softsasi
- softsasi-store
- bangla
- banglish
- bangladesh
- open-weight
model-index:
- name: Store-1-Publisher
results:
- task:
type: text-generation
name: ASO/SEO Listing & Legal Policy Generation
dataset:
type: Softsasi/Store-1-Publisher-Dataset
name: Store-1-Publisher-Dataset
split: validation
metrics:
- type: loss
name: Validation Loss (Step 36)
value: 3.1287
- type: loss
name: Training Loss (Step 36)
value: 3.0921
---
# Store-1-Publisher (24B LoRA Adapter)
**Store-1-Publisher** (`Softsasi/Store-1-Publisher`) is a **24B-parameter dense ASO/SEO listing writer and legal compliance generator** fine-tuned by **[Softsasi](https://huggingface.co/Softsasi)** on [`unsloth/Mistral-Small-24B-Instruct-2501-bnb-4bit`](https://huggingface.co/unsloth/Mistral-Small-24B-Instruct-2501-bnb-4bit) via QLoRA (FSDP2 multi-GPU sharding across 2× Tesla T4).
Built directly for publisher workflows inside **[Softsasi Store](https://store.softsasi.com)** (`lib/data/services/openai_service.dart`):
1. **ASO / SEO Listing Enhancement (`enhanceDescription`):** Transforms raw developer notes—including **English**, **Bangla**, and **Romanized Banglish**—into SEO-optimized Markdown app descriptions across all 6 Store categories (`Apps`, `Games`, `Websites`, `Assets`, `Themes`, `Plugins`) and `Android`/`Windows`/`Web` builds, ending with targeted `#Hashtags` and zero conversational prefaces.
2. **Legal Compliance Document Generation (`generateLegalPolicy`):** Generates ready-to-publish **Privacy Policy**, **Terms & Conditions**, and **Cookie Policy** Markdown tailored to app category, pricing, age rating (`3+` through `18+`), and optional existing draft notes—strictly enforcing **zero unfilled template placeholders** (`[...]`, `{...}`).
> **Standalone 24B GGUF (`Q4_K_M`):** [`Softsasi/Store-1-Publisher-GGUF`](https://huggingface.co/Softsasi/Store-1-Publisher-GGUF) (`ollama run hf.co/Softsasi/Store-1-Publisher-GGUF`)
> **Training Dataset (`600` train / `60` validation):** [`Softsasi/Store-1-Publisher-Dataset`](https://huggingface.co/datasets/Softsasi/Store-1-Publisher-Dataset)
> **Interactive Demo Workbench:** [`Softsasi/Store-1-Publisher-Demo`](https://huggingface.co/spaces/Softsasi/Store-1-Publisher-Demo)
> **Storefront Platform:** [Softsasi Store](https://store.softsasi.com)
---
## Training Telemetry & Convergence (`FSDP2` · `2× Tesla T4`)
| Metric / Parameter | Observed Value |
| :--- | :--- |
| **Base Model** | [`unsloth/Mistral-Small-24B-Instruct-2501-bnb-4bit`](https://huggingface.co/unsloth/Mistral-Small-24B-Instruct-2501-bnb-4bit) (`24B` Dense) |
| **Fine-Tuning Method** | QLoRA (4-bit NF4, `r=16`, `lora_alpha=16`, `lora_dropout=0`, `q/k/v/o/gate/up/down_proj`) |
| **Parallelism & Hardware** | FSDP2 Sharded Data Parallel (`dp=2, fsdp=1`, NCCL) on 2× NVIDIA Tesla T4 (`15 GiB` VRAM each) |
| **Memory Peak (Rank GPU / Host)** | GPU Allocated `11.00 GiB` (`11,813,542,400` B) · GPU Reserved `11.66 GiB` · Host RSS `8.76 GiB` |
| **Schedule & Context** | `36` steps (`Epoch 2.12`, `1,343,000` packed tokens), `max_seq_length=2560`, packing `true`, `train_on_completions=true`, `batch_size=1`, `grad_accum=8` |
| **Optimizer & LR** | `adamw_8bit`, Linear LR `1.0e-4` (`4` warmup steps → `3.125e-6` at Step 36), weight decay `0.001` |
| **Training Duration** | `1h 57m 20s` (`7,040.32 s`) |
### Loss & Evaluation Progression
- **Training Loss:** `6.8557` (Step 1) → `4.7711` (Step 12) → `3.6360` (Step 24) → `2.9835` (Step 35 min) → **`3.0921`** (Step 36 final; `-54.9%` reduction)
- **Held-Out Validation Loss (`60` unseen apps/studios):** `4.5429` (Step 12) → `3.6283` (Step 24) → **`3.1287`** (Step 36 final; monotonic decrease with zero overfitting)
- **Gradient Norm:** `2.5436` (Step 1) → `0.9290` (Step 12) → `1.2683` (Step 24) → `1.731` (Step 36)
---
## Quick Start (Python / Transformers + PEFT)
```python
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
base_id = "unsloth/Mistral-Small-24B-Instruct-2501-bnb-4bit"
adapter_id = "Softsasi/Store-1-Publisher"
tokenizer = AutoTokenizer.from_pretrained(adapter_id)
base_model = AutoModelForCausalLM.from_pretrained(base_id, device_map="auto")
model = PeftModel.from_pretrained(base_model, adapter_id).eval()
messages = [
{
"role": "system",
"content": (
"You are Softsasi Store AI Publisher, a senior ASO/SEO product copywriter and software "
"compliance specialist for Softsasi Store (apps, games, websites, assets, themes, plugins). "
"Follow formatting rules strictly: return ONLY the requested final Markdown text with zero "
"meta-commentary, zero conversational prefaces, zero markdown code fences (```), and zero "
"unfilled template placeholders like [...] or {...}."
),
},
{
"role": "user",
"content": (
"Write an SEO-optimized Softsasi Store listing description for 'HisabKhata Offline POS' "
"(Category: Apps -> Business, Platforms: Android, Windows, Pricing: Paid 299 BDT).\n\n"
"Developer's rough notes:\nAmar dokaner hishab ar baki khata rakhar offline app, thermal printer diye receipt ar pdf bill banano jay."
),
},
]
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(text, return_tensors="pt").to(model.device)
with torch.no_grad():
out = model.generate(**inputs, max_new_tokens=900, temperature=0.4, do_sample=True)
print(tokenizer.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))
```
---
## Softsasi Enterprise AI Suite
| Tier | Model Name | Size | Focus | Repositories |
| :--- | :--- | :---: | :--- | :--- |
| **Verify** | **Neural-1-Verify** | 1.5B | Fact-checking & claim verification | [`Model`](https://huggingface.co/Softsasi/Neural-1-Verify) · [`GGUF`](https://huggingface.co/Softsasi/Neural-1-Verify-Q4_K_M-GGUF) · [`Demo`](https://huggingface.co/spaces/Softsasi/Neural-1-Verify-Demo) |
| **Insight** | **Insight-1-ERP-Analytics** | 4B | ERP BI, Benford forensics & Text-to-SQL | [`LoRA`](https://huggingface.co/Softsasi/Insight-1-ERP-Analytics) · [`GGUF`](https://huggingface.co/Softsasi/Insight-1-ERP-Analytics-GGUF) · [`Demo`](https://huggingface.co/spaces/Softsasi/Insight-1-ERP-Analytics-Demo) |
| **Commerce** | **Commerce-1-Order-AI** | 8B | Autonomous restaurant & e-commerce ordering | [`LoRA`](https://huggingface.co/Softsasi/Commerce-1-Order-AI) · [`GGUF`](https://huggingface.co/Softsasi/Commerce-1-Order-AI-GGUF) · [`Demo`](https://huggingface.co/spaces/Softsasi/Commerce-1-Order-AI-Demo) |
| **Planner** | **Kanban-1-Planner** | 14B | Schema-strict Kanban board generation & JSON editing | [`LoRA`](https://huggingface.co/Softsasi/Kanban-1-Planner) · [`GGUF`](https://huggingface.co/Softsasi/Kanban-1-Planner-GGUF) · [`Demo`](https://huggingface.co/spaces/Softsasi/Kanban-1-Planner-Demo) |
| **Publisher** | **Store-1-Publisher** | 24B | App store ASO copywriting & legal compliance generation | [`LoRA`](https://huggingface.co/Softsasi/Store-1-Publisher) · [`GGUF`](https://huggingface.co/Softsasi/Store-1-Publisher-GGUF) · [`Demo`](https://huggingface.co/spaces/Softsasi/Store-1-Publisher-Demo) · [`Dataset`](https://huggingface.co/datasets/Softsasi/Store-1-Publisher-Dataset) |
- **Developed by:** [Softsasi](https://huggingface.co/Softsasi) · **License:** Apache-2.0
---
## Ecosystem & Related Links
- **Live Production App:** [Softsasi Store](https://store.softsasi.com)
- **GitHub Repo:** [Softsasi/Store-1-Publisher](https://github.com/Softsasi/Store-1-Publisher) · [Unified Suite](https://github.com/Softsasi/-Softsasi-AI-Suite)
- **Ollama:** [`ollama run Softsasi/store-1-publisher`](https://ollama.com/Softsasi/store-1-publisher)
- **Kaggle:** [Model](https://www.kaggle.com/models/shakilanowersamrat/store-1-publisher) · [Dataset (10.0)](https://www.kaggle.com/datasets/shakilanowersamrat/store-1-publisher-dataset-aso-and-legal-compliance) · [Explorer](https://www.kaggle.com/code/shakilanowersamrat/store-1-publisher-24b-quickstart-explorer)
---
## Connect with Softsasi
**Softsasi** — *Bangladesh's #1 Open-Weight LLM & Enterprise AI Development Company*
- **Website:** [softsasi.com](https://www.softsasi.com) · [Directory](https://www.softsasi.com/sitemap)
- **GitHub:** [github.com/Softsasi](https://github.com/Softsasi) · [Unified Suite](https://github.com/Softsasi/-Softsasi-AI-Suite)
- **Ollama:** [ollama.com/Softsasi](https://ollama.com/Softsasi)
- **Kaggle:** [kaggle.com/shakilanowersamrat](https://www.kaggle.com/shakilanowersamrat) · [Collection](https://www.kaggle.com/work/collections/19710065)
- **Social:** [LinkedIn](https://linkedin.com/company/softsasi) · [YouTube](https://www.youtube.com/@softsasillc) · [X](https://x.com/Softsasillc) · [Facebook](https://www.facebook.com/softsasi) |