Downloads · 30 days
0
Gehan77/lanka-talent-insights-api
lanka-talent-insights-api is a machine learning model from Gehan77. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
FastAPI service and dashboard for Sri Lankan hiring and early-attrition risk prediction.
Downloads · 30 days
0
Access
Public
Updated Aug 16, 2026
Repo size
2.6 KB
Likes
0
Public
Click a slice to open those files.
.csv902 KB · 96%
From the Hugging Face model README
FastAPI service and dashboard for Sri Lankan hiring and early-attrition risk prediction.
The Space entrypoint runs the FastAPI application in main:app.
Set an APP_API_KEY environment variable or Hugging Face Space Secret. When it
is set, send the same value in the X-API-Key header to /predict,
/predict/batch, and /predict/csv. If it is not set, local development mode
remains open.
The code is ready for a Docker Space. Hugging Face currently requires a PRO subscription or a community grant for this account to run Docker/ZeroGPU Spaces, so the public repository currently stores the complete deployable artifacts while runtime hosting is pending account access.
//docsPOST /predict for one employee risk vectorPOST /predict/batch for JSON batchesPOST /predict/csv for CSV scoringGET /api/overview for metrics, risk factors, and dataset summaryThe model uses these 11 columns: SalaryGapRisk, CompanySwitchRate, LowMatchRisk, LowSimilarityRisk, LowInterviewRisk, NoticeRisk, LocationWorkRisk, TrainingRisk, MentorshipRisk, CareerDevelopmentRisk, and CertificationRisk.