Sentiment Analysis with PubNub Functions and HuggingFace

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • aws-neuron-sdk

    Powering AWS purpose-built machine learning chips. Blazing fast and cost effective, natively integrated into PyTorch and TensorFlow and integrated with your favorite AWS services

  • We will focus on the first model used within this PubNub Function, which is “distilbert-base-uncased-finetuned-sst-2-english”. To learn more about this function, navigate to distilbert-base-uncased-finetuned-sst-2-english or the model it is based on, which is distilbert/distilbert-base-uncased. You can also check out the model on github. This model will do all the heavy lifting for us and determine the sentiment analysis of a PubNub message when sent through the network.

  • OpenAI-DotNet

    A Non-Official OpenAI RESTful API Client for DotNet

  • At this point, probably everyone has heard about OpenAI, GPT-4, Claude or any of the popular Large Language Models (LLMs). However, using these LLMs in a production environment can be expensive or nondeterministic regarding its results. I guess that is the downside of being good at everything; you could be better at performing one specific task. This is where HuggingFace can utilized. HuggingFace provides open-source AI and machine learning models that can easily be deployed on HuggingFace itself or third-party systems such as Amazon SageMaker or Azure ML.  You can interface with these deployments through an API and control the scaling of these models, which makes them perfectly suited for production environments. These models range in size but are generally small AI models that are good at doing one specific task. With capabilities to fine-tune these models, or use the pre-trained model for specific tasks, embedding them into various applications becomes more efficient, enhancing automation and performance. Combining these models can create new and intricate AI applications. In this case, by utilizing HuggingFace models, you wouldn’t have to depend on a production application on a third-party provider such as OpenAI or Google, ensuring a more targeted and customizable approach to deploying deep learning solutions in your operations.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts