GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - kkoates/ai-hack

BranchesTags
Open more actions menu

Latest commit

 

History

3 Commits
3 Commits

Folders and files

NameName
Last commit message
Last commit date
nlp/sentiment-analysis
nlp/sentiment-analysis
 
 
README.md
README.md
 
 

Repository files navigation

Ampere AI use cases

This is PyTorch based RoBERTa pre-trained model trained on tweeteval dataset which contains ~12,000 tweets for the sentiment classification tasks with three classes being positive, negative, neutral sentiments. TweetEval Dataset consists of seven heterogenous tasks in twitter, all framed as multi-class tweet classification.One of the used for this demo is Sentiment Analysis. The model can be downloaded from hugging face: https://huggingface.co/cardiffnlp/twitter-roberta-base-sentiment-latest?text=Covid+cases+are+increasing+fast%21

In this Interactive demo, the user can input text and submit to get the corresponding sentiment class probabilities. This web app is developed using Gradio Python library.

Steps to run the demo on the cloud instance

SSH to cloud instance

$ ssh -i <ssh.key> ubuntu@<public-ip>

Launch the container

$ wget https://raw.githubusercontent.com/kkoates/ai-hack/master/nlp/sentiment-analysis/start-docker-cloud-hackathon.sh

$ bash start-docker-cloud-hackathon.sh
Starting sentiment-analysis-pt-aio-demo container
Docker container ID:173e054cd5a9

Start the demo

# ./start-webapp.sh

Getting Webapp URL ...........................
Webapp URL: http://<public-ip>:7860/

Open ports on the server

Install firewalld package $ sudo apt purge ufw -y
$ sudo apt install firewalld -y
$ sudo firewall-cmd --permanent --zone=public --add-port=<7860-7864>/tcp
$ sudo firewall-cmd --reload
$ sudo firewall-cmd --zone=public --list-ports

View on the Browser

Copy the URL and paste on the browser

About

No description, website, or topics provided.

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.