This project implements a DeepSeek LLM-based sentiment analysis application using Streamlit for an interactive web interface. The model, deepseek-ai/deepseek-llm-7b-base, is loaded with transformers and deployed via Google Colab. The app accepts text input from users and analyzes sentiment by generating a response from the model, returning only one of three possible outputs: POSITIVE, NEGATIVE, or NEUTRAL. The pipeline is optimized for automatic device selection (device_map="auto") and utilizes offloading to manage memory efficiently. Streamlit serves the app on port 8501, and a Colab proxy exposes it via a public URL.
Category tags: