YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
π Sidewalk FM β Small Trader Ledger & Advisory
tags: - sidewalk-fm - gradio - hackathon - build-small - tiny-titan - back-yai - best-agent - off-brand - nvidia-nim - modal license: mit
Hackathon Entry
HuggingFace Build Small Hackathon 2025 β Backyard AI track
π Tiny Titan ($1,000) + Best Agent ($1,000) + Off Brand ($1,500) + Backyard AI track
"What's your biggest expense today?"
"I spent 500 shillings on mangoes, but I don't know if I'm making a profit."
Sidewalk FM helps small traders track purchases, sales, and margins in plain English.
It's for the person who runs a shop on the street β not the accountant.
π§ Models Used
| Role | Model | Size | Provider | Badge Eligible |
|---|---|---|---|---|
| Extraction | nvidia/nemotron-mini-4b-instruct |
4B | NVIDIA NIM | β Tiny Titan |
| Advisory | Qwen/Qwen2.5-3B-Instruct |
3B | Modal vLLM | β Tiny Titan |
| Total | β | β€7B | β | β Tiny Titan |
All models are β€4B β Tiny Titan badge eligible
All models are β€32B β Hackathon rules satisfied
π§© Features
- Natural Language Input: "bought 50 mangoes at 200 shillings each"
- Structured Ledger: Transactions parsed and stored with full metadata
- Margin Tracking: Revenue, costs, profit calculated automatically
- AI Advisory: Get actionable advice on inventory and pricing
- Custom UI: Not a chatbot β a ledger for small traders
π¦ Deployment
This is a Gradio app with two model backends:
- NVIDIA NIM API (for structured extraction)
- Modal vLLM (for advisory + conversation)
Requirements
pip install -r requirements.txt
Run Locally
python app_sidewalk_fm.py
Deploy to HF Spaces
- Push to a repo (this one)
- Create Space with
gradioruntime - Point to
app_sidewalk_fm.py - Add API keys to Secrets:
NVIDIA_NIM_API_KEY
HF Space YAML
# Space YAML for Hugging Face Spaces
sdk: gradio
runtime: python3.10
requirements:
- gradio>=5.0
- huggingface_hub>=0.28
- httpx>=0.25
environment:
NVIDIA_NIM_API_KEY: ""
π― Badges Targeted
| Badge | Status |
|---|---|
| Backyard AI | β Track real-world problems |
| Tiny Titan | β β€4B models |
| Best Agent | β Multi-step tool use (parse β ledger β analyze β advise) |
| Off Brand | β Custom ledger UI |
| Best Demo | β Story + video + social post |
| NVIDIA Sponsor | β Nemotron Parse used |
| Modal Sponsor | β Modal vLLM used |
π License
MIT
Inference Providers NEW
This model isn't deployed by any Inference Provider. π Ask for provider support