Spaces:
Sleeping
Sleeping
Commit History
-
Mark Phase 5 and 6 done: live on Hugging Face Spaces
- All five FastAPI endpoints confirmed working on the deployed Space (https://saitejadubbas-compliance-copilot.hf.space), including /rag/ask, which confirms the GROQ_API_KEY Space secret is wired up correctly. - Added a Live Demo badge to the top of README.md and updated the stale placeholder link further down.481724b
-
Add Phase 3 (FastAPI serving), Phase 4 (LangChain review agent), and Phase 4.5 (RAG chatbot)
- app/model.py + app/main.py: CPU-only classifier served behind async /classify - app/agent.py: RunnableLambda chain for /review (split -> classify -> rules -> report) - app/rag.py: local MiniLM embeddings + FAISS retrieval, ChatGroq generation for /rag/index and /rag/ask, grounded answers with source snippets and an explicit "I don't know" refusal when the answer isn't in the indexed contract - requirements.txt updated for the RAG stack; .env.example added as a template (.env itself stays local and git-ignored)a052cd4
-
Initial commit: Phase 1 (data prep) and Phase 2 (QLoRA fine-tuning) complete
- data/prepare_data.py builds a balanced LEDGAR clause-classification split - training/finetune_qlora.ipynb fine-tunes Llama-3.2-1B with QLoRA, measuring baseline vs fine-tuned accuracy (20.00% -> 94.33%)3cb0c0f