--- base_model: - unsloth/Qwen3-4B-Instruct-2507-unsloth-bnb-4bit datasets: - Softsasi/Insight-1-ERP-Analytics-Dataset library_name: peft pipeline_tag: text-generation license: apache-2.0 language: - en - bn tags: - text-generation-inference - transformers - unsloth - qwen3 - trl - qlora - erp - business-analytics - finance - text-to-sql - structured-output - bengali - conversational - softsasi - bangladesh - open-weight model-index: - name: Insight-1-ERP-Analytics results: - task: type: text-generation name: Bilingual ERP BI & Text-to-SQL dataset: type: Softsasi/Insight-1-ERP-Analytics-Dataset name: Insight-1-ERP-Analytics-Dataset split: validation metrics: - type: loss name: Validation Loss (Step 60) value: 0.04627 - type: loss name: Training Loss (Step 90) value: 0.0199 --- # Insight-1-ERP-Analytics (4B LoRA Adapter) **Insight-1-ERP-Analytics** (`Softsasi/Insight-1-ERP-Analytics`) is an enterprise **4B-parameter AI Business Analytics & ERP Intelligence** LoRA adapter fine-tuned by **[Softsasi](https://huggingface.co/Softsasi)** on [`unsloth/Qwen3-4B-Instruct-2507-unsloth-bnb-4bit`](https://huggingface.co/unsloth/Qwen3-4B-Instruct-2507-unsloth-bnb-4bit). Operating in dedicated **non-thinking instruct mode** for fast ERP API responses, it produces executive KPI reports, financial anomaly forensics, Text-to-SQL queries, and strict JSON BI payloads in **English** and **Bangla (`bn`)**. > **Live ZeroGPU Demo:** [`Softsasi/Insight-1-ERP-Analytics-Demo`](https://huggingface.co/spaces/Softsasi/Insight-1-ERP-Analytics-Demo) > **GGUF (`Q4_K_M`, ~2.5 GB) for Ollama / llama.cpp:** [`Softsasi/Insight-1-ERP-Analytics-GGUF`](https://huggingface.co/Softsasi/Insight-1-ERP-Analytics-GGUF) > **Training Dataset (`840` rows):** [`Softsasi/Insight-1-ERP-Analytics-Dataset`](https://huggingface.co/datasets/Softsasi/Insight-1-ERP-Analytics-Dataset) --- ## Key Capabilities 1. **Executive Strategic Reports (English & Bangla)** — 5-part briefings (*Executive Summary, Critical Alerts, Strategic Opportunities, Risk Mitigation, 30-60-90 Day Plan*) covering Cash Runway, Payables Coverage, AR Aging/DSO, Cash Flow Jitter, Benford's Law Forensics, RFM Segments, Inventory Stockout Risk, and Employee Flight Risk. 2. **Interactive CFO / Analyst Q&A** — Quantitative working-capital diagnostics, 30-day AR collection modeling, and 14-day cash survival triage. 3. **ERP Text-to-SQL & Prisma Analytics** — Multi-tenant-safe MySQL (`created_by`) and PostgreSQL/Prisma analytical queries. 4. **Structured JSON BI Payloads** — Strict JSON health scorecards, smart expense categorization & round-sum audit flags, and RFM scoring. 5. **Unit Economics Math** — Cash Conversion Cycle (`DIO + DSO - DPO`), break-even analysis, `LTV:CAC`, Reorder Point / EOQ, and variance decomposition. --- ## Observed Performance & Training Telemetry | Metric / Parameter | Observed Value | | :--- | :--- | | **Base Model** | `unsloth/Qwen3-4B-Instruct-2507-unsloth-bnb-4bit` (`4.0B`) | | **Method** | QLoRA (`r=16`, `alpha=32`, `dropout=0.05`, `all-linear`) | | **Dataset** | `800` train + `40` held-out validation examples (`ChatML`, EN & BN) | | **Schedule** | `90` steps (`Epoch 2.14`, `1,420,705` tokens), `40m 17s` on Tesla T4 (`10.25 GiB` peak VRAM) | | **Training Loss** | `2.0226` (Step 1) → `0.3620` (Step 27) → `0.0328` (Step 71) → **`0.0199`** (Step 90) | | **Validation Loss** | `0.23164` (Step 30) → **`0.04627`** (Step 60) | | **GGUF Throughput** | **`59.8 tok/s`** (`Q4_K_M` live inference on Tesla T4 in Unsloth Studio) | ### Verified ZeroGPU Output (`Structured JSON BI`) ```json {"vendor": "Unknown Cash Vendor", "description": "Cash Misc Round Advance #99", "amount": 5000.0, "predicted_category": "Unclassified / Miscellaneous", "tax_deductible": false, "audit_status": "flagged", "audit_note": "Review: Round-sum cash advance without vendor/expense details"} ``` --- ## Quick Start (Python / Transformers + PEFT) ```python from transformers import AutoModelForCausalLM, AutoTokenizer from peft import PeftModel import torch base_id = "Qwen/Qwen3-4B-Instruct-2507" adapter_id = "Softsasi/Insight-1-ERP-Analytics" 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`](https://huggingface.co/Softsasi/Neural-1-Verify) | | **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) | - **Developed by:** [Softsasi](https://huggingface.co/Softsasi) · **License:** Apache-2.0 --- ## Ecosystem & Related Links - **Live Production App:** [Softsasi ERP](https://erp.softsasi.com) - **GitHub Repo:** [Softsasi/Insight-1-ERP-Analytics](https://github.com/Softsasi/Insight-1-ERP-Analytics) · [Unified Suite](https://github.com/Softsasi/-Softsasi-AI-Suite) - **Ollama:** [`ollama run Softsasi/insight-1-erp`](https://ollama.com/Softsasi/insight-1-erp) - **Kaggle:** [Model](https://www.kaggle.com/models/shakilanowersamrat/insight-1-erp-analytics) · [Dataset](https://www.kaggle.com/datasets/shakilanowersamrat/insight-1-erp-analytics-dataset-bi-and-sql) --- ## 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)