--- title: Intel Reddit AI Analyzer emoji: 🔍 colorFrom: blue colorTo: purple sdk: gradio sdk_version: "6.14.0" python_version: "3.10" app_file: app.py pinned: false license: mit --- # Intel Reddit AI Analyzer AI-powered sentiment analysis and location extraction for Reddit OSINT investigations. ## Features - **Sentiment Analysis**: DistilBERT model (Negative/Neutral/Positive) - **Batch Processing**: Analyze multiple posts and comments - **Location Extraction**: spaCy NER for GPE/LOC entities - **Confidence Scores**: Probability distribution for all classes ## API Usage The Space provides a REST API endpoint at `/api/predict`: ```bash curl -X POST "https://your-username-intel-reddit-analyzer.hf.space/api/predict" \ -H "Content-Type: application/json" \ -d '{ "data": [ "[{\"title\": \"Example\", \"selftext\": \"This is great!\"}]", "[{\"body\": \"I love this place\"}]" ] }' ``` ## Model Details - **Architecture**: DistilBERT (6 layers, 768 hidden dim) - **Classes**: negative, neutral, positive - **Inference**: CPU-based (free tier) - **Cold Start**: ~10-30 seconds after sleep