Sign inSign up

kstar123/contextlens

By kstar123

•Updated almost 3 years ago

Unveiling Hidden Sentiments through Contextual Sentiment Analysis

Image
0

87

kstar123/contextlens repository overview

⁠ContextLens Docker Image

Description:

ContextLens is a comprehensive project designed to empower users with the ability to analyze and understand sentiment in textual data. This Docker image contains the environment and dependencies required to run the ContextLens project, making it easy to deploy and scale the sentiment analysis application. With ContextLens, users can harness the power of sentiment analysis and cutting-edge NLP techniques, including BERT, to gain invaluable insights from textual data.

Features:

  • Sentiment Analysis: The Docker image includes the necessary components to perform sentiment analysis on textual data.
  • API Integration: Utilize the FastAPI-powered API for programmatically interacting with NLP-related functionalities.
  • Pretrained Models: Benefit from pre-trained NLP models, including BERT, for accurate sentiment analysis.

API Endpoints:

  • POST /predict: Endpoint for predicting the sentiment of a given text.

  • POST /predict-prob: Endpoint for predicting the sentiment probabilities of a given text.

  • POST /clean: Endpoint for cleaning a given text.

For more details, please refer to the API documentation⁠.

Usage:

  1. Pull the Docker image:

    docker pull ghcr.io/karthikudyawar/contextlens:1.0
    # or
    docker pull kstar123/contextlens:1.0
    
  2. Run the Docker container:

    docker run -d -p 8000:8000 --name contextlens-api kstar123/contextlens:1.0
    
  3. Access the API endpoints at http://localhost:8000⁠ for sentiment analysis.

Project Links:

If you have any questions, suggestions, or feedback about Contextlens, feel free to reach out to us:

License

Distributed under the MIT License. See LICENSE.txt⁠ for more information.

Contributions:

Contributions to the project are greatly appreciated. You can fork the repository, open issues, or create pull requests on the GitHub repository⁠.

Tag summary

Content type

Image

Digest

sha256:2fb4a74c1…

Size

3.7 GB

Last updated

almost 3 years ago

docker pull kstar123/contextlens:1.0