Text Generation
PEFT
Safetensors
Transformers
English
Bengali
text-generation-inference
unsloth
qwen3
trl
qlora
erp
business-analytics
finance
text-to-sql
structured-output
bengali
conversational
Instructions to use Softsasi/Insight-1-ERP-Analytics with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Softsasi/Insight-1-ERP-Analytics with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/Qwen3-4B-Instruct-2507-unsloth-bnb-4bit") model = PeftModel.from_pretrained(base_model, "Softsasi/Insight-1-ERP-Analytics") - Transformers
How to use Softsasi/Insight-1-ERP-Analytics with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Softsasi/Insight-1-ERP-Analytics") 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/Insight-1-ERP-Analytics", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Softsasi/Insight-1-ERP-Analytics with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Softsasi/Insight-1-ERP-Analytics" # 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/Insight-1-ERP-Analytics", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Softsasi/Insight-1-ERP-Analytics
- SGLang
How to use Softsasi/Insight-1-ERP-Analytics 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/Insight-1-ERP-Analytics" \ --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/Insight-1-ERP-Analytics", "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/Insight-1-ERP-Analytics" \ --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/Insight-1-ERP-Analytics", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Unsloth Desktop
- Docker Model Runner
How to use Softsasi/Insight-1-ERP-Analytics with Docker Model Runner:
docker model run hf.co/Softsasi/Insight-1-ERP-Analytics
|
Download README.md from Softsasi/Insight-1-ERP-Analytics: direct link, hf CLI and curl.
- Browser
- Download file 4.98 kB
-
https://huggingface.co/Softsasi/Insight-1-ERP-Analytics/resolve/main/README.md
- Command line
-
hf download hf://Softsasi/Insight-1-ERP-Analytics/README.md
-
curl -L -o README.md https://huggingface.co/Softsasi/Insight-1-ERP-Analytics/resolve/main/README.md
4.98 kB
| 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 | |
| # 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 |